X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=bd39bc7e71117b77a99f34f7304123678bd73c27;hb=8c97ee641800a73d02516dad3e6b5172ec477e2d;hp=f9453f90f5dd8825e45180a5f8b61004689ff444;hpb=fe2f6f840b801361c0f8a7ec090dc18b6b322cb0;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index f9453f90..bd39bc7e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,23 +37,33 @@ module.exports = defineConfig({ skipWords: [ 'browserslist', 'christopher', + 'cjs', 'comparator', 'cpu', 'cpus', + 'ctx', 'ecma', 'enum', 'fibonacci', + 'fs', 'inheritDoc', 'jsdoc', + 'microjob', 'num', 'os', + 'piscina', 'poolifier', + 'poolify', 'readonly', 'serializable', 'sinon', + 'threadjs', + 'threadwork', 'tsconfig', 'typedoc', + 'unlink', 'unregister', + 'utf8', 'workerpool' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -117,6 +127,16 @@ module.exports = defineConfig({ 'jsdoc/require-returns-type': 'off' } }, + { + files: ['examples/typescript/**/*.ts'], + rules: { + 'import/no-unresolved': 'off', + 'jsdoc/require-jsdoc': 'off', + '@typescript-eslint/no-unsafe-argument': 'off', + '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off' + } + }, { files: ['**/*.js'], extends: 'plugin:node/recommended'