|
12 | 12 | "prettier" |
13 | 13 | ], |
14 | 14 | "parserOptions": { |
15 | | - "project": [ |
16 | | - "./tsconfig.json", |
17 | | - "./tests/tsconfig.json", |
18 | | - "./cz-adapter/tsconfig.json" |
19 | | - ] |
| 15 | + "project": true |
20 | 16 | }, |
21 | | - "ignorePatterns": ["/build/", "/coverage/", "/lib/", "/cz-adapter/**/*.js"], |
| 17 | + "ignorePatterns": [ |
| 18 | + "/build/", |
| 19 | + "/coverage/", |
| 20 | + "/lib/", |
| 21 | + "/tests-compiled/", |
| 22 | + "/cz-adapter/**/*.js" |
| 23 | + ], |
22 | 24 | "rules": { |
23 | | - "functional/prefer-immutable-types": "off" |
| 25 | + "functional/prefer-immutable-types": "off", |
| 26 | + "@typescript-eslint/no-explicit-any": "warn", |
| 27 | + "@typescript-eslint/no-unnecessary-condition": "off", |
| 28 | + "@typescript-eslint/restrict-plus-operands": "off" |
24 | 29 | }, |
25 | 30 | "overrides": [ |
26 | 31 | { |
|
59 | 64 | }, |
60 | 65 | { |
61 | 66 | "files": ["**/*.test.ts"], |
62 | | - "plugins": ["ava"], |
63 | | - "extends": ["plugin:ava/recommended"], |
64 | 67 | "rules": { |
65 | 68 | "@typescript-eslint/no-unsafe-argument": "off", |
66 | 69 | "@typescript-eslint/no-unsafe-assignment": "off", |
67 | 70 | "@typescript-eslint/no-unsafe-call": "off", |
68 | 71 | "@typescript-eslint/no-unsafe-member-access": "off", |
69 | 72 | "@typescript-eslint/no-unsafe-return": "off", |
70 | | - "jsdoc/require-jsdoc": "off" |
| 73 | + "@typescript-eslint/no-unused-vars-experimental": "off", |
| 74 | + "@typescript-eslint/strict-boolean-expressions": "off", |
| 75 | + "eslint-comments/disable-enable-pair": "off", |
| 76 | + "eslint-comments/no-unlimited-disable": "off", |
| 77 | + "functional/functional-parameters": "off", |
| 78 | + "functional/no-conditional-statements": "off", |
| 79 | + "functional/no-expression-statements": "off", |
| 80 | + "functional/no-loop-statements": "off", |
| 81 | + "functional/no-return-void": "off", |
| 82 | + "import/no-named-as-default-member": "off", |
| 83 | + "jsdoc/require-jsdoc": "off", |
| 84 | + "sonarjs/no-duplicate-string": "off", |
| 85 | + "sonarjs/no-identical-functions": "off", |
| 86 | + "unicorn/prefer-module": "off" |
71 | 87 | } |
72 | 88 | }, |
73 | 89 | { |
|
84 | 100 | "parserOptions": { |
85 | 101 | "project": null |
86 | 102 | }, |
87 | | - "extends": ["plugin:markdown/recommended", "plugin:functional/off"], |
| 103 | + "extends": [ |
| 104 | + "plugin:markdown/recommended", |
| 105 | + "plugin:@typescript-eslint/disable-type-checked", |
| 106 | + "plugin:functional/off" |
| 107 | + ], |
88 | 108 | "rules": { |
89 | | - "@typescript-eslint/await-thenable": "off", |
90 | 109 | "@typescript-eslint/consistent-type-definitions": "off", |
91 | | - "@typescript-eslint/dot-notation": "off", |
92 | 110 | "@typescript-eslint/explicit-member-accessibility": "off", |
93 | | - "@typescript-eslint/naming-convention": "off", |
94 | | - "@typescript-eslint/no-confusing-void-expression": "off", |
95 | 111 | "@typescript-eslint/no-empty-function": "off", |
96 | 112 | "@typescript-eslint/no-explicit-any": "off", |
97 | | - "@typescript-eslint/no-floating-promises": "off", |
98 | | - "@typescript-eslint/no-for-in-array": "off", |
99 | | - "@typescript-eslint/no-implied-eval": "off", |
100 | | - "@typescript-eslint/no-misused-promises": "off", |
101 | | - "@typescript-eslint/no-throw-literal": "off", |
102 | | - "@typescript-eslint/no-unnecessary-condition": "off", |
103 | | - "@typescript-eslint/no-unnecessary-type-assertion": "off", |
104 | | - "@typescript-eslint/no-unsafe-argument": "off", |
105 | | - "@typescript-eslint/no-unsafe-assignment": "off", |
106 | | - "@typescript-eslint/no-unsafe-call": "off", |
107 | | - "@typescript-eslint/no-unsafe-member-access": "off", |
108 | | - "@typescript-eslint/no-unsafe-return": "off", |
109 | 113 | "@typescript-eslint/no-unused-expressions": "off", |
110 | 114 | "@typescript-eslint/no-unused-vars": "off", |
111 | | - "@typescript-eslint/non-nullable-type-assertion-style": "off", |
112 | | - "@typescript-eslint/prefer-includes": "off", |
113 | | - "@typescript-eslint/prefer-nullish-coalescing": "off", |
114 | | - "@typescript-eslint/prefer-readonly-parameter-types": "off", |
115 | | - "@typescript-eslint/prefer-readonly": "off", |
116 | | - "@typescript-eslint/prefer-regexp-exec": "off", |
117 | | - "@typescript-eslint/prefer-string-starts-ends-with": "off", |
118 | | - "@typescript-eslint/promise-function-async": "off", |
119 | | - "@typescript-eslint/require-await": "off", |
120 | | - "@typescript-eslint/restrict-plus-operands": "off", |
121 | | - "@typescript-eslint/restrict-template-expressions": "off", |
122 | | - "@typescript-eslint/strict-boolean-expressions": "off", |
123 | | - "@typescript-eslint/switch-exhaustiveness-check": "off", |
124 | | - "@typescript-eslint/unbound-method": "off", |
| 115 | + "@typescript-eslint/prefer-function-type": "off", |
| 116 | + "@typescript-eslint/consistent-generic-constructors": "off", |
125 | 117 | "import/no-unresolved": "off", |
126 | 118 | "init-declarations": "off", |
127 | 119 | "jsdoc/require-jsdoc": "off", |
128 | | - "no-console": "off", |
129 | | - "no-empty": "off", |
130 | | - "no-invalid-this": "off", |
131 | | - "no-undef": "off", |
132 | | - "no-useless-return": "off", |
133 | | - "node/handle-callback-err": "off", |
| 120 | + "n/handle-callback-err": "off", |
134 | 121 | "prefer-const": "off", |
135 | 122 | "prettier/prettier": "off", |
136 | 123 | "sonarjs/no-extra-arguments": "off", |
137 | 124 | "sonarjs/no-unused-collection": "off", |
138 | 125 | "unicorn/prefer-optional-catch-binding": "off", |
139 | 126 | "unicorn/prefer-top-level-await": "off", |
140 | 127 | "unicorn/switch-case-braces": "off", |
141 | | - |
142 | | - "dot-notation": "error", |
143 | | - "no-implied-eval": "error", |
144 | | - "require-await": "error" |
| 128 | + "no-console": "off", |
| 129 | + "no-empty": "off", |
| 130 | + "no-invalid-this": "off", |
| 131 | + "no-undef": "off", |
| 132 | + "no-useless-return": "off", |
| 133 | + "dot-notation": "off", |
| 134 | + "no-empty-function": "off", |
| 135 | + "no-throw-literal": "off", |
| 136 | + "no-unused-vars": "off" |
145 | 137 | } |
146 | 138 | } |
147 | 139 | ] |
|
0 commit comments