mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 13:16:28 +08:00
33 lines
571 B
JSON
33 lines
571 B
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"jquery": true
|
||
|
},
|
||
|
"extends": ["airbnb-base/legacy"],
|
||
|
"parser": "babel-eslint",
|
||
|
"parserOptions": {
|
||
|
"sourceType": "module",
|
||
|
"ecmaVersion": 5,
|
||
|
"ecmaFeatures": {
|
||
|
"impliedStrict": true
|
||
|
}
|
||
|
},
|
||
|
"rules": {
|
||
|
"space-before-function-paren": ["error", "never"],
|
||
|
"func-names": ["error", "never"],
|
||
|
"spaced-comment": [
|
||
|
"error",
|
||
|
"always",
|
||
|
{
|
||
|
"markers": ["="]
|
||
|
}
|
||
|
],
|
||
|
"lines-around-comment": [
|
||
|
"warn",
|
||
|
{
|
||
|
"beforeLineComment": false
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|