forked from sombochea/verdaccio-ui
feat(eslint-config): add order rule in import
* refactor: added eslint-plugin-import * refactor: disable some rules for muiComponents * fix: fixed import
This commit is contained in:
committed by
Sergio Hg
parent
950f6defca
commit
ae73772a37
@@ -5,7 +5,8 @@
|
||||
"plugin:jest/recommended",
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:verdaccio/recommended",
|
||||
"plugin:jsx-a11y/recommended"
|
||||
"plugin:jsx-a11y/recommended",
|
||||
"plugin:import/typescript"
|
||||
],
|
||||
"plugins": [
|
||||
"react",
|
||||
@@ -14,7 +15,8 @@
|
||||
"verdaccio",
|
||||
"jsx-a11y",
|
||||
"codeceptjs",
|
||||
"react-hooks"
|
||||
"react-hooks",
|
||||
"import"
|
||||
],
|
||||
"settings": {
|
||||
"react": {
|
||||
@@ -28,6 +30,7 @@
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"import/order": ["error", {"newlines-between": "always"}],
|
||||
"babel/no-invalid-this": 0,
|
||||
"no-invalid-this": 0,
|
||||
"no-console": ["error", { "allow": ["warn", "error"] }],
|
||||
|
||||
Reference in New Issue
Block a user