scinote-web/.eslintrc.json

48 lines
721 B
JSON
Raw Normal View History

{
"env": {
"browser": true,
2017-07-13 20:30:12 +08:00
"jquery": true,
"es6": true,
"node": true
},
"extends": ["airbnb", "plugin:vue/base"],
"rules": {
2017-09-19 19:33:43 +08:00
"import/extensions": "off",
"import/no-unresolved": "off",
"spaced-comment": [
"error",
"always",
{
"markers": ["="]
}
],
"lines-around-comment": [
"warn",
{
"beforeLineComment": false
}
2023-11-23 16:50:39 +08:00
],
"max-len": [
"error",
{
"code": 180
2023-11-23 16:50:39 +08:00
}
],
"vue/max-len": [
"error",
{
"code": 180,
2023-11-23 16:50:39 +08:00
"template": 240,
"tabWidth": 2
}
],
"comma-dangle": [
"error",
"never"
]
},
"globals": {
"_": true
}
}