mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 01:36:33 +08:00
fix eslint
This commit is contained in:
parent
b90348eabf
commit
202bc32a06
1 changed files with 8 additions and 5 deletions
|
@ -6,11 +6,7 @@
|
|||
"node": true
|
||||
},
|
||||
"plugins": ["react", "prettier"],
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"prettier",
|
||||
"prettier/react"
|
||||
],
|
||||
"extends": ["airbnb", "prettier", "prettier/react"],
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
|
@ -21,6 +17,13 @@
|
|||
}
|
||||
},
|
||||
"rules": {
|
||||
"import/no-unresolved": [
|
||||
"error",
|
||||
{
|
||||
"ignore": ["app/javascript/"]
|
||||
}
|
||||
],
|
||||
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
||||
"spaced-comment": [
|
||||
"error",
|
||||
"always",
|
||||
|
|
Loading…
Reference in a new issue