mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
40 lines
766 B
JSON
40 lines
766 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"plugins": ["react", "prettier"],
|
|
"extends": ["airbnb", "prettier", "prettier/react"],
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 2016,
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"rules": {
|
|
"import/extensions": "off",
|
|
"import/no-unresolved": "off",
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
"spaced-comment": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"markers": ["="]
|
|
}
|
|
],
|
|
"lines-around-comment": [
|
|
"warn",
|
|
{
|
|
"beforeLineComment": false
|
|
}
|
|
]
|
|
},
|
|
"globals": {
|
|
"_": true
|
|
}
|
|
}
|