repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: add links to examples
[poolifier.git]
/
.eslintrc.js
diff --git
a/.eslintrc.js
b/.eslintrc.js
index 4d8c7ffd0ddd57278e18605e916fb20076accb3a..c5784c0f286cac8f39b921950a6ae437e2a88e8e 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-37,12
+37,13
@@
module.exports = defineConfig({
'warn',
{
skipWords: [
'warn',
{
skipWords: [
- '
B
enoit',
+ '
b
enoit',
'benny',
'browserslist',
'builtins',
'christopher',
'cjs',
'benny',
'browserslist',
'builtins',
'christopher',
'cjs',
+ 'cloneable',
'comparator',
'cpu',
'cpus',
'comparator',
'cpu',
'cpus',
@@
-71,14
+72,15
@@
module.exports = defineConfig({
'poolify',
'readonly',
'resize',
'poolify',
'readonly',
'resize',
- 'serializable',
'sinon',
'threadjs',
'threadwork',
'sinon',
'threadjs',
'threadwork',
+ 'tinypool',
'tsconfig',
'tsdoc',
'typedoc',
'unlink',
'tsconfig',
'tsdoc',
'typedoc',
'unlink',
+ 'unref',
'unregister',
'utf8',
'workerpool',
'unregister',
'utf8',
'workerpool',
@@
-97,7
+99,6
@@
module.exports = defineConfig({
project: './tsconfig.eslint.json'
},
extends: [
project: './tsconfig.eslint.json'
},
extends: [
- 'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:import/typescript',
@@
-114,9
+115,13
@@
module.exports = defineConfig({
{
files: ['examples/typescript/**/*.ts'],
rules: {
{
files: ['examples/typescript/**/*.ts'],
rules: {
+ 'import/no-unresolved': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
- '@typescript-eslint/no-unsafe-assignment': 'off'
+ '@typescript-eslint/no-unsafe-assignment': 'off',
+ '@typescript-eslint/no-unsafe-member-access': 'off',
+ '@typescript-eslint/no-unnecessary-type-assertion': 'off',
+ '@typescript-eslint/restrict-template-expressions': 'off'
}
},
{
}
},
{
@@
-137,7
+142,7
@@
module.exports = defineConfig({
}
},
{
}
},
{
- files: ['benchmarks/**/*.js'],
+ files: ['benchmarks/**/*.js'
, 'benchmarks/**/*.mjs'
],
rules: {
'jsdoc/require-jsdoc': 'off'
}
rules: {
'jsdoc/require-jsdoc': 'off'
}
@@
-148,6
+153,13
@@
module.exports = defineConfig({
'n/no-missing-require': 'off'
}
},
'n/no-missing-require': 'off'
}
},
+ {
+ files: ['benchmarks/versus-external-pools/**/*.mjs'],
+ rules: {
+ 'n/no-missing-import': 'off',
+ 'import/no-unresolved': 'off'
+ }
+ },
{
files: ['examples/**/*.js'],
rules: {
{
files: ['examples/**/*.js'],
rules: {