X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=.eslintrc.js;h=bdf03e9c964623a1e09cf94426d11fa31575841f;hb=b08f67fb451c18f0f754bef6e7b38dc12e69e8a8;hp=e14d78ad1df89d1d0d0c3c0ac811e6a784e8c3cf;hpb=220f79a5ecd78ee609430f90af496a599f0118d9;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index e14d78ad..bdf03e9c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -81,20 +81,14 @@ module.exports = defineConfig({ 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', - 'standard-with-typescript', - 'plugin:import/typescript' + 'plugin:import/typescript', + 'standard-with-typescript' ], rules: { - // We have some intentionally empty functions - '@typescript-eslint/no-empty-function': 'off', - '@typescript-eslint/no-inferrable-types': [ 'error', { ignoreProperties: true } ], - - 'no-useless-constructor': 'off', - 'tsdoc/syntax': 'error' } }, @@ -110,7 +104,7 @@ module.exports = defineConfig({ { files: ['**/*.js'], plugins: ['jsdoc'], - extends: ['plugin:n/recommended', 'standard', 'plugin:jsdoc/recommended'] + extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard'] }, { files: ['tests/**/*.js'],