From: Jérôme Benoit Date: Fri, 7 Oct 2022 10:32:11 +0000 (+0200) Subject: Fix eslint configuration X-Git-Tag: v2.2.1~19 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e00a6c53e0d42d4b76791441975b70888ead0a73;p=poolifier.git Fix eslint configuration Signed-off-by: Jérôme Benoit --- diff --git a/.eslintignore b/.eslintignore index 18058db2..0786c823 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ +examples/typescript/**/*.ts benchmarks/versus-external-pools/ docs/ outputs/ diff --git a/.eslintrc.js b/.eslintrc.js index b37ad59f..fe04926f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -77,9 +77,6 @@ module.exports = defineConfig({ 'jsdoc/match-description': [ 'warn', { - // mainDescription: - // '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us', - // matchDescription: '^[A-Z`].+(\\.|`.+`)$', contexts: ['any'], tags: { param: true, @@ -131,13 +128,6 @@ module.exports = defineConfig({ 'node/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off' } - }, - { - files: ['examples/typescript/**/*.ts'], - rules: { - 'import/no-unresolved': 'off', - 'jsdoc/require-jsdoc': 'off' - } } ], settings: {