mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
32 lines
571 B
JSON
32 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
|
|
}
|
|
]
|
|
}
|
|
}
|