-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
32 lines (32 loc) · 1001 Bytes
/
.eslintrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = {
extends: ["@pagopa/eslint-config/strong"],
parserOptions: {
tsconfigRootDir: __dirname,
project: "./tsconfig.eslint.json",
},
rules: {
// Any project level custom rule
"@typescript-eslint/switch-exhaustiveness-check": "error",
"default-case": "off",
"prefer-arrow/prefer-arrow-functions": "off",
eqeqeq: ["error", "smart"],
"@typescript-eslint/consistent-type-definitions": "off",
"sort-keys": "off",
"functional/prefer-readonly-type": "off",
"@typescript-eslint/no-shadow": "off",
"extra-rules/no-commented-out-code": "off",
"sonarjs/no-duplicate-string": "off",
"max-lines-per-function": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-use-before-define": "off",
},
ignorePatterns: [
".eslintrc.cjs",
"vitest.config.ts",
"**/src/model/generated/**/*.ts",
"**/src/generated/**/*.ts",
"**/dist",
"**/patchZodios.ts",
"**/paged.polyfill.js",
],
};