X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.cjs;h=3ab81413bc179a47bc4f93094b9d6e73874daf7e;hb=9122cc2c31a39f0fda89dac74d98043996ee809b;hp=85ae204ae62ae0b6de420a5391614a04e2fe4f35;hpb=d35e571704515a8b729d3455e4784054f07c368f;p=poolifier.git diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 85ae204a..3ab81413 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -69,6 +69,7 @@ module.exports = defineConfig({ 'inheritDoc', 'javascript', 'jsdoc', + 'linebreak', 'localhost', 'microjob', 'mjs', @@ -121,7 +122,7 @@ module.exports = defineConfig({ 'standard-with-typescript' ], rules: { - '@typescript-eslint/non-nullable-type-assertion-style': 'off', + 'operator-linebreak': 'off', 'tsdoc/syntax': 'warn' } }, @@ -151,28 +152,33 @@ module.exports = defineConfig({ '@typescript-eslint/no-unnecessary-type-assertion': 'off', '@typescript-eslint/no-redundant-type-constituents': 'off', '@typescript-eslint/strict-boolean-expressions': 'off', - '@typescript-eslint/return-await': 'off' + '@typescript-eslint/return-await': 'off', + '@typescript-eslint/no-non-null-assertion': 'off' } }, { - files: ['**/*.cjs', '**/*.mjs'], + files: ['**/*.cjs', '**/*.js', '**/*.mjs'], plugins: ['jsdoc'], extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard'] }, { - files: ['tests/**/*.cjs', 'tests/**/*.mjs'], + files: ['tests/**/*.cjs', 'tests/**/*.js', 'tests/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } }, { - files: ['benchmarks/**/*.cjs', 'benchmarks/**/*.mjs'], + files: [ + 'benchmarks/**/*.cjs', + 'benchmarks/**/*.js', + 'benchmarks/**/*.mjs' + ], rules: { 'jsdoc/require-jsdoc': 'off' } }, { - files: ['examples/javascript/**/*.cjs'], + files: ['examples/javascript/**/*.cjs', 'examples/javascript/**/*.js'], rules: { 'jsdoc/require-jsdoc': 'off' }