X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.cjs;h=f8251b907d55a33c123a00329d307dde0f1204cd;hb=169acbcf13c5d5bb88e44f32321bdd343211b5f8;hp=ccf04244362008396ba0ce730697bae073b49dfe;hpb=28883f84b5381bb9af4c71e3bccd5297f6ab5fcf;p=poolifier.git diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ccf04244..f8251b90 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -69,6 +69,7 @@ module.exports = defineConfig({ 'inheritDoc', 'javascript', 'jsdoc', + 'linebreak', 'localhost', 'microjob', 'mjs', @@ -115,13 +116,13 @@ module.exports = defineConfig({ project: './tsconfig.json' }, extends: [ - 'plugin:@typescript-eslint/recommended', - 'plugin:@typescript-eslint/recommended-requiring-type-checking', + 'plugin:@typescript-eslint/strict-type-checked', + 'plugin:@typescript-eslint/stylistic-type-checked', 'plugin:import/typescript', 'standard-with-typescript' ], rules: { - '@typescript-eslint/non-nullable-type-assertion-style': 'off', + 'operator-linebreak': 'off', 'tsdoc/syntax': 'warn' } }, @@ -151,7 +152,8 @@ 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' } }, {