Skip to content

Commit 44b6ce8

Browse files
committed
fix(eslint-config): manually set standard rules
1 parent 71cd870 commit 44b6ce8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/eslint-config/index.cjs

+7-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const typeScriptRules = {
208208

209209
module.exports = defineConfig({
210210
extends: [
211-
'standard',
211+
// 'standard',
212212
'standard-jsx',
213213
'plugin:jsonc/recommended-with-jsonc',
214214
'plugin:yml/standard',
@@ -225,7 +225,12 @@ module.exports = defineConfig({
225225
parserOptions: {
226226
ecmaVersion: 'latest'
227227
},
228-
plugins: ['react'],
228+
plugins: [
229+
'import',
230+
'n',
231+
'promise',
232+
'react'
233+
],
229234
reportUnusedDisableDirectives: true,
230235
settings: {
231236
'import/resolver': {

0 commit comments

Comments
 (0)