2022-04-06 22:21:06 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"Snowboard": "writable"
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
|
|
|
"plugin:vue/vue3-recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"class-methods-use-this": ["off"],
|
|
|
|
"indent": ["error", 4, {
|
|
|
|
"SwitchCase": 1
|
|
|
|
}],
|
|
|
|
"max-len": ["off"],
|
|
|
|
"new-cap": ["error", { "properties": false }],
|
|
|
|
"no-alert": ["off"],
|
2022-08-09 22:27:24 +01:00
|
|
|
"no-plusplus": "off",
|
2022-04-06 22:21:06 +08:00
|
|
|
"no-param-reassign": ["error", {
|
|
|
|
"props": false
|
|
|
|
}],
|
|
|
|
"vue/html-indent": ["error", 4],
|
|
|
|
"vue/html-self-closing": ["error", {
|
|
|
|
"html": {
|
|
|
|
"void": "never",
|
|
|
|
"normal": "any",
|
|
|
|
"component": "always"
|
|
|
|
},
|
|
|
|
"svg": "always",
|
|
|
|
"math": "always"
|
|
|
|
}],
|
|
|
|
"vue/multi-word-component-names": ["off"]
|
2022-09-13 09:04:16 +08:00
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
2022-09-16 10:00:43 +08:00
|
|
|
"assets/js/eventlogs",
|
|
|
|
"assets/js/framework.js",
|
|
|
|
"assets/js/framework*.js",
|
|
|
|
"assets/js/lang",
|
|
|
|
"assets/js/mailbrandsettings",
|
|
|
|
"assets/js/updates",
|
|
|
|
"assets/ui",
|
|
|
|
"assets/vendor",
|
2022-09-13 09:04:16 +08:00
|
|
|
"tests/js",
|
|
|
|
"**/build/*.js"
|
|
|
|
]
|
2022-04-06 22:21:06 +08:00
|
|
|
}
|