repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v2.4.7
[poolifier.git]
/
.eslintrc.js
diff --git
a/.eslintrc.js
b/.eslintrc.js
index bdf03e9c964623a1e09cf94426d11fa31575841f..ae288a7c0ae81acc761208fa7045df0dce0e5eef 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-4,12
+4,12
@@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
root: true,
env: {
module.exports = defineConfig({
root: true,
env: {
- es202
1
: true,
+ es202
2
: true,
node: true,
mocha: true
},
parserOptions: {
node: true,
mocha: true
},
parserOptions: {
- ecmaVersion: 202
1
,
+ ecmaVersion: 202
2
,
sourceType: 'module'
},
plugins: ['promise', 'spellcheck'],
sourceType: 'module'
},
plugins: ['promise', 'spellcheck'],
@@
-31,6
+31,7
@@
module.exports = defineConfig({
'warn',
{
skipWords: [
'warn',
{
skipWords: [
+ 'Benoit',
'benny',
'browserslist',
'builtins',
'benny',
'browserslist',
'builtins',
@@
-40,19
+41,26
@@
module.exports = defineConfig({
'cpu',
'cpus',
'ctx',
'cpu',
'cpus',
'ctx',
+ 'deprecations',
+ 'dequeue',
'ecma',
'ecma',
+ 'enqueue',
'enum',
'enum',
+ 'esm',
'fibonacci',
'fs',
'inheritDoc',
'jsdoc',
'microjob',
'fibonacci',
'fs',
'inheritDoc',
'jsdoc',
'microjob',
+ 'mjs',
'num',
'os',
'piscina',
'num',
'os',
'piscina',
+ 'pnpm',
'poolifier',
'poolify',
'readonly',
'poolifier',
'poolify',
'readonly',
+ 'resize',
'serializable',
'sinon',
'threadjs',
'serializable',
'sinon',
'threadjs',
@@
-89,7
+97,7
@@
module.exports = defineConfig({
'error',
{ ignoreProperties: true }
],
'error',
{ ignoreProperties: true }
],
- 'tsdoc/syntax': '
error
'
+ 'tsdoc/syntax': '
warn
'
}
},
{
}
},
{
@@
-102,7
+110,7
@@
module.exports = defineConfig({
}
},
{
}
},
{
- files: ['**/*.js'],
+ files: ['**/*.js'
, '**/*.mjs'
],
plugins: ['jsdoc'],
extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
},
plugins: ['jsdoc'],
extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
},