Skip to content

Commit a110ff5

Browse files
author
gokulprasanth-ni
committed
handle rules based on comments
Signed-off-by: gokulprasanth-ni <[email protected]>
1 parent c1a09a2 commit a110ff5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/eslint-config-typescript/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export default [
3434
*/
3535

3636
'@typescript-eslint/explicit-module-boundary-types': 'error',
37+
'no-with': 'error',
38+
'no-class-assign': 'error',
3739

3840
/*
3941
[strict-null-checks]

packages/eslint-config-typescript/requiring-type-checking.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ export default [
2121
'@typescript-eslint/no-redundant-type-constituents': 'off',
2222
'@typescript-eslint/no-unsafe-declaration-merging': 'off',
2323
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
24+
'@typescript-eslint/prefer-find': 'off',
25+
'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }],
26+
'@typescript-eslint/prefer-promise-reject-errors': 'off',
27+
'@typescript-eslint/no-unsafe-unary-minus': 'off',
28+
'@typescript-eslint/no-array-delete': 'off',
29+
'no-with': 'error',
30+
'no-class-assign': 'error',
2431

2532
/*
2633
This rule can be confusing if you're not familiar with JavaScript's rules for binding `this`,

0 commit comments

Comments
 (0)