scinote-web/app/assets/.eslintrc.json

33 lines
571 B
JSON
Raw Normal View History

2018-07-19 23:56:42 +08:00
{
"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
}
]
}
}