Skip to content

Commit 126e9f9

Browse files
committed
chore: cleanup unused rules
1 parent 89eb7f9 commit 126e9f9

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/configs/javascript.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ export function javascript(options: OptionsIsInEditor = {}): FlatESLintConfigIte
4040
'array-callback-return': 'error',
4141
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
4242
'block-scoped-var': 'error',
43-
'camelcase': OFF,
44-
'complexity': OFF,
45-
'consistent-return': OFF,
4643
'constructor-super': 'error',
4744
'default-case-last': 'error',
4845
'dot-notation': ['error', { allowKeywords: true }],
@@ -109,7 +106,6 @@ export function javascript(options: OptionsIsInEditor = {}): FlatESLintConfigIte
109106
'no-obj-calls': 'error',
110107
'no-octal': 'error',
111108
'no-octal-escape': 'error',
112-
'no-param-reassign': OFF,
113109
'no-proto': 'error',
114110
'no-prototype-builtins': 'error',
115111
'no-redeclare': ['error', { builtinGlobals: false }],
@@ -133,8 +129,6 @@ export function javascript(options: OptionsIsInEditor = {}): FlatESLintConfigIte
133129
'LabeledStatement',
134130
'WithStatement',
135131
],
136-
'no-return-assign': OFF,
137-
'no-return-await': OFF,
138132
'no-self-assign': ['error', { props: true }],
139133
'no-self-compare': 'error',
140134
'no-sequences': 'error',
@@ -169,7 +163,6 @@ export function javascript(options: OptionsIsInEditor = {}): FlatESLintConfigIte
169163
'no-useless-catch': 'error',
170164
'no-useless-computed-key': 'error',
171165
'no-useless-constructor': 'error',
172-
'no-useless-escape': OFF,
173166
'no-useless-rename': 'error',
174167
'no-useless-return': 'error',
175168
'no-var': 'error',
@@ -205,7 +198,6 @@ export function javascript(options: OptionsIsInEditor = {}): FlatESLintConfigIte
205198
'prefer-spread': 'error',
206199
'prefer-template': 'error',
207200
'quote-props': ['error', 'consistent-as-needed'],
208-
'require-await': OFF,
209201
'sort-imports': [
210202
'error',
211203
{

src/configs/typescript.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export function typescriptWithLanguageServer(options: OptionsTypeScriptWithLangu
136136
'dot-notation': OFF,
137137
'no-implied-eval': OFF,
138138
'no-throw-literal': OFF,
139-
'require-await': OFF,
140139
'ts/await-thenable': 'error',
141140
'ts/dot-notation': ['error', { allowKeywords: true }],
142141
'ts/no-floating-promises': 'error',
@@ -150,7 +149,6 @@ export function typescriptWithLanguageServer(options: OptionsTypeScriptWithLangu
150149
'ts/no-unsafe-call': 'error',
151150
'ts/no-unsafe-member-access': 'error',
152151
'ts/no-unsafe-return': 'error',
153-
'ts/require-await': 'error',
154152
'ts/restrict-plus-operands': 'error',
155153
'ts/restrict-template-expressions': 'error',
156154
'ts/unbound-method': 'error',

0 commit comments

Comments
 (0)