mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
e59b18e25d
Co-authored-by: Anton <anton@scinote.net>
42 lines
918 B
JSON
42 lines
918 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"plugins": ["flowtype", "react", "prettier"],
|
|
"extends": ["airbnb", "prettier", "prettier/react", "plugin:vue/base"],
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 2016,
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"rules": {
|
|
"import/extensions": "off",
|
|
"import/no-unresolved": "off",
|
|
// Because of flow-typed & flow-bin
|
|
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
"spaced-comment": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"markers": ["="]
|
|
}
|
|
],
|
|
"lines-around-comment": [
|
|
"warn",
|
|
{
|
|
"beforeLineComment": false
|
|
}
|
|
]
|
|
},
|
|
"globals": {
|
|
"_": true
|
|
}
|
|
}
|