2020-10-01 22:00:36 +00:00
|
|
|
module.exports = {
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020,
|
2021-12-18 07:21:05 +00:00
|
|
|
sourceType: "module",
|
2020-10-01 22:00:36 +00:00
|
|
|
},
|
|
|
|
extends: ["plugin:vue/recommended"],
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
jquery: true,
|
|
|
|
es2017: true,
|
|
|
|
browser: true,
|
2021-12-18 07:21:05 +00:00
|
|
|
webextensions: true,
|
2020-10-01 22:00:36 +00:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"no-trailing-spaces": "error",
|
2021-02-14 06:37:03 +00:00
|
|
|
"eol-last": "error",
|
2021-12-18 07:21:05 +00:00
|
|
|
semi: "error",
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
2021-12-18 06:50:51 +00:00
|
|
|
"no-var": "error",
|
2021-12-19 06:51:44 +00:00
|
|
|
"prefer-template": "error",
|
2021-12-19 07:10:24 +00:00
|
|
|
"template-curly-spacing": "error",
|
2021-12-18 07:21:05 +00:00
|
|
|
},
|
|
|
|
};
|