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