2018-06-01 12:35:51 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2022-01-24 07:19:27 +00:00
|
|
|
|
2018-06-01 12:35:51 +00:00
|
|
|
env: {
|
2019-12-12 17:37:43 +00:00
|
|
|
node: true
|
2018-06-01 12:35:51 +00:00
|
|
|
},
|
2022-01-24 07:19:27 +00:00
|
|
|
|
2021-11-02 13:34:14 +00:00
|
|
|
extends: ["plugin:vue/essential"],
|
2022-01-24 07:19:27 +00:00
|
|
|
|
2018-06-01 12:35:51 +00:00
|
|
|
rules: {
|
2019-12-12 17:37:43 +00:00
|
|
|
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
2021-11-02 13:34:14 +00:00
|
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
|
|
"arrow-body-style": "off",
|
|
|
|
"prefer-arrow-callback": "off",
|
2021-11-21 13:38:04 +00:00
|
|
|
"vue/multi-word-component-names": "off",
|
|
|
|
"vue/no-useless-template-attributes": "off",
|
2019-12-12 17:37:43 +00:00
|
|
|
},
|
2022-01-24 07:19:27 +00:00
|
|
|
|
2019-12-12 17:37:43 +00:00
|
|
|
parserOptions: {
|
2022-01-24 07:19:27 +00:00
|
|
|
parser: '@typescript-eslint/parser'
|
|
|
|
},
|
|
|
|
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'@vue/typescript'
|
|
|
|
]
|
2019-12-12 17:37:43 +00:00
|
|
|
};
|