chore: generate documentation
[poolifier.git] / .eslintrc.js
index bdf03e9c964623a1e09cf94426d11fa31575841f..4852d04fd263b188492175c995457cd389974db2 100644 (file)
@@ -4,12 +4,12 @@ const { defineConfig } = require('eslint-define-config')
 module.exports = defineConfig({
   root: true,
   env: {
-    es2021: true,
+    es2022: true,
     node: true,
     mocha: true
   },
   parserOptions: {
-    ecmaVersion: 2021,
+    ecmaVersion: 2022,
     sourceType: 'module'
   },
   plugins: ['promise', 'spellcheck'],
@@ -42,6 +42,7 @@ module.exports = defineConfig({
           'ctx',
           'ecma',
           'enum',
+          'esm',
           'fibonacci',
           'fs',
           'inheritDoc',