Skip to content

Commit c95432c

Browse files
fix(eslint): Remove rules covered by typescript
1 parent dbaaa90 commit c95432c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/eslint/javascript.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,19 @@
22

33
/** @type {import('eslint').Linter.RulesRecord} */
44
export const javascriptRules = {
5-
/** Constructors of derived classes must call super() */
6-
'constructor-super': 'error',
75
/** TODO */
86
'for-direction': 'error',
9-
'getter-return': 'error',
107
'no-async-promise-executor': 'error',
118
'no-case-declarations': 'error',
129
'no-class-assign': 'error',
1310
'no-compare-neg-zero': 'error',
1411
'no-cond-assign': 'error',
15-
'no-const-assign': 'error',
1612
'no-constant-binary-expression': 'error',
1713
'no-constant-condition': 'error',
1814
'no-control-regex': 'error',
1915
'no-debugger': 'error',
2016
'no-delete-var': 'error',
21-
'no-dupe-args': 'error',
22-
'no-dupe-class-members': 'error',
2317
'no-dupe-else-if': 'error',
24-
'no-dupe-keys': 'error',
2518
'no-duplicate-case': 'error',
2619
'no-empty': 'error',
2720
'no-empty-character-class': 'error',
@@ -30,29 +23,20 @@ export const javascriptRules = {
3023
'no-ex-assign': 'error',
3124
'no-extra-boolean-cast': 'error',
3225
'no-fallthrough': 'error',
33-
'no-func-assign': 'error',
3426
'no-global-assign': 'error',
35-
'no-import-assign': 'error',
3627
'no-invalid-regexp': 'error',
3728
'no-irregular-whitespace': 'error',
3829
'no-loss-of-precision': 'error',
3930
'no-misleading-character-class': 'error',
40-
'no-new-native-nonconstructor': 'error',
4131
'no-nonoctal-decimal-escape': 'error',
42-
'no-obj-calls': 'error',
4332
'no-octal': 'error',
4433
'no-prototype-builtins': 'error',
45-
'no-redeclare': 'error',
4634
'no-regex-spaces': 'error',
4735
'no-self-assign': 'error',
48-
'no-setter-return': 'error',
4936
'no-shadow': 'error',
5037
'no-shadow-restricted-names': 'error',
5138
'no-sparse-arrays': 'error',
52-
'no-this-before-super': 'error',
53-
'no-unreachable': 'error',
5439
'no-unsafe-finally': 'error',
55-
'no-unsafe-negation': 'error',
5640
'no-unsafe-optional-chaining': 'error',
5741
'no-unused-labels': 'error',
5842
'no-unused-private-class-members': 'error',

0 commit comments

Comments
 (0)