fix
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"extends": [
|
||||
"react-app",
|
||||
"react-app/jest",
|
||||
"airbnb",
|
||||
"plugin:cypress/recommended",
|
||||
"plugin:jsx-a11y/recommended",
|
||||
"prettier",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"globals": {
|
||||
"File": true,
|
||||
"Blob": true,
|
||||
"globalThis": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
"jsx-a11y",
|
||||
"prettier",
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"import/order": ["error", {
|
||||
"groups": [
|
||||
["builtin", "external", "internal"],
|
||||
["parent", "sibling", "index"]
|
||||
],
|
||||
"newlines-between": "always"
|
||||
}],
|
||||
"prettier/prettier": "error",
|
||||
"react/react-in-jsx-scope": 0,
|
||||
"react/function-component-definition": [1, {
|
||||
"namedComponents": ["arrow-function"]
|
||||
}],
|
||||
"import/extensions": ["error", "always", {
|
||||
"ignorePackages": true
|
||||
}],
|
||||
"import/no-unresolved": [2, {
|
||||
"ignore": [
|
||||
// https://github.com/import-js/eslint-plugin-import/issues/1810
|
||||
"^monaco-languageclient\/monaco-converter$"
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user