repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix WRR worker choice strategy implementation
[poolifier.git]
/
.eslintrc.js
diff --git
a/.eslintrc.js
b/.eslintrc.js
index fe04926fd46565df433f78e3c01a083283bdbc85..11fb2803e0eac7e59ca325948ae07cfc521a07a3 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-7,6
+7,10
@@
module.exports = defineConfig({
node: true,
mocha: true
},
node: true,
mocha: true
},
+ parserOptions: {
+ ecmaVersion: 2021,
+ sourceType: 'module'
+ },
plugins: ['promise', 'prettierx', 'jsdoc', 'spellcheck'],
extends: [
'standard',
plugins: ['promise', 'prettierx', 'jsdoc', 'spellcheck'],
extends: [
'standard',
@@
-33,13
+37,19
@@
module.exports = defineConfig({
skipWords: [
'christopher',
'comparator',
skipWords: [
'christopher',
'comparator',
+ 'cpu',
+ 'cpus',
'ecma',
'enum',
'ecma',
'enum',
- 'inheritdoc',
+ 'fibonacci',
+ 'inheritDoc',
'jsdoc',
'jsdoc',
+ 'os',
'poolifier',
'readonly',
'serializable',
'poolifier',
'readonly',
'serializable',
+ 'sinon',
+ 'tsconfig',
'unregister',
'workerpool'
],
'unregister',
'workerpool'
],
@@
-52,8
+62,6
@@
module.exports = defineConfig({
files: ['**/*.ts'],
parser: '@typescript-eslint/parser',
parserOptions: {
files: ['**/*.ts'],
parser: '@typescript-eslint/parser',
parserOptions: {
- ecmaVersion: 2020,
- sourceType: 'module',
project: './tsconfig.json'
},
plugins: ['@typescript-eslint'],
project: './tsconfig.json'
},
plugins: ['@typescript-eslint'],
@@
-116,6
+124,12
@@
module.exports = defineConfig({
'jsdoc/require-jsdoc': 'off'
}
},
'jsdoc/require-jsdoc': 'off'
}
},
+ {
+ files: ['tests/pools/selection-strategies/**/*.js'],
+ rules: {
+ 'node/no-missing-require': 'off'
+ }
+ },
{
files: ['benchmarks/**/*.js'],
rules: {
{
files: ['benchmarks/**/*.js'],
rules: {