X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=6c8063c8a5dcb3da31ee2f12a826b4017263bdfb;hb=e628498e3231f841e10b8870bbc9accf5dcab93c;hp=738e7df94c87ec612a42acc67b43dff4fbd6a048;hpb=50eceb07c3713782d1d6bbe49d3fe47318e45c93;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 738e7df9..6c8063c8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,7 +9,13 @@ module.exports = { ecmaVersion: 2020, sourceType: 'module' }, - plugins: ['@typescript-eslint', 'promise', 'prettierx', 'jsdoc'], + plugins: [ + '@typescript-eslint', + 'promise', + 'prettierx', + 'jsdoc', + 'spellcheck' + ], extends: [ 'standard', 'eslint:recommended', @@ -38,6 +44,24 @@ module.exports = { ignoreMemberSort: true, ignoreDeclarationSort: true } + ], + + 'spellcheck/spell-checker': [ + 'warn', + { + skipWords: [ + 'poolifier', + 'pioardi', + 'christopher', + 'ecma', + 'jsdoc', + 'readonly', + 'serializable', + 'unregister', + 'workerpool' + ], + skipIfMatch: ['^@.*', '^plugin:.*'] + } ] }, overrides: [