mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
33 lines
614 B
JSON
33 lines
614 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
|
|
}
|
|
],
|
|
"max-len": ["error", { "code": 120 }]
|
|
}
|
|
}
|