repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git]
/
.eslintrc.js
diff --git
a/.eslintrc.js
b/.eslintrc.js
index bdf03e9c964623a1e09cf94426d11fa31575841f..80dcda2b7212d88878c7f2f65b426896e9a02a99 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,27
@@
module.exports = defineConfig({
'cpu',
'cpus',
'ctx',
'cpu',
'cpus',
'ctx',
+ 'deprecations',
+ 'dequeue',
'ecma',
'ecma',
+ 'enqueue',
'enum',
'enum',
+ 'errored',
+ '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',
@@
-63,7
+72,8
@@
module.exports = defineConfig({
'unlink',
'unregister',
'utf8',
'unlink',
'unregister',
'utf8',
- 'workerpool'
+ 'workerpool',
+ 'wwr'
],
skipIfMatch: ['^@.*', '^plugin:.*']
}
],
skipIfMatch: ['^@.*', '^plugin:.*']
}
@@
-75,7
+85,7
@@
module.exports = defineConfig({
plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
parser: '@typescript-eslint/parser',
parserOptions: {
plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
parser: '@typescript-eslint/parser',
parserOptions: {
- project: './tsconfig.json'
+ project: './tsconfig.
eslint.
json'
},
extends: [
'plugin:@typescript-eslint/eslint-recommended',
},
extends: [
'plugin:@typescript-eslint/eslint-recommended',
@@
-89,7
+99,7
@@
module.exports = defineConfig({
'error',
{ ignoreProperties: true }
],
'error',
{ ignoreProperties: true }
],
- 'tsdoc/syntax': '
error
'
+ 'tsdoc/syntax': '
warn
'
}
},
{
}
},
{
@@
-102,7
+112,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']
},