merge eslint config
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"plugins": [],
|
|
||||||
"extends": ["plugin:react/recommended", "plugin:jest/recommended"],
|
|
||||||
"settings": {
|
|
||||||
"react": {
|
|
||||||
"version": "detect"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parser": "babel-eslint",
|
|
||||||
"rules": {
|
|
||||||
"react/display-name": "off"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -39,8 +39,16 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"react-app",
|
"react-app",
|
||||||
"react-app/jest",
|
"react-app/jest",
|
||||||
"plugin:i18next/recommended"
|
"plugin:i18next/recommended",
|
||||||
|
"plugin:react/recommended",
|
||||||
|
"plugin:jest/recommended"
|
||||||
],
|
],
|
||||||
|
"settings": {
|
||||||
|
"react": {
|
||||||
|
"version": "detect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parser": "babel-eslint",
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-unused-vars": "off",
|
"no-unused-vars": "off",
|
||||||
"no-use-before-define": "off",
|
"no-use-before-define": "off",
|
||||||
@@ -55,7 +63,8 @@
|
|||||||
{
|
{
|
||||||
"markupOnly": true
|
"markupOnly": true
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"react/display-name": "off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|||||||
Reference in New Issue
Block a user