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: {
|
2022-02-23 06:03:55 +00:00
|
|
|
node: true,
|
2018-06-01 12:35:51 +00:00
|
|
|
},
|
2022-01-24 07:19:27 +00:00
|
|
|
|
2018-06-01 12:35:51 +00:00
|
|
|
rules: {
|
2022-02-23 06:03:55 +00:00
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'arrow-body-style': 'off',
|
|
|
|
'prefer-arrow-callback': 'off',
|
2023-01-31 08:06:03 +00:00
|
|
|
'vue/no-mutating-props': 'off',
|
2022-02-23 06:03:55 +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-02-23 06:03:55 +00:00
|
|
|
parser: '@typescript-eslint/parser',
|
2022-01-24 07:19:27 +00:00
|
|
|
},
|
|
|
|
|
2022-02-23 06:03:55 +00:00
|
|
|
extends: ['plugin:vue/vue3-essential', '@vue/typescript'],
|
2019-12-12 17:37:43 +00:00
|
|
|
};
|