2021-08-09 02:29:11 -07:00
|
|
|
module.exports = {
|
2021-08-09 03:35:39 -07:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
2021-08-09 03:53:32 -07:00
|
|
|
'extends': [
|
2021-08-09 03:42:22 -07:00
|
|
|
'plugin:vue/essential',
|
2021-08-09 03:53:32 -07:00
|
|
|
'@vue/typescript',
|
2021-08-09 03:35:39 -07:00
|
|
|
],
|
|
|
|
rules: {
|
2021-08-09 03:53:32 -07:00
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'semi': [2, 'always'],
|
|
|
|
'indent': ['error', 'tab'],
|
|
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
|
|
'no-tabs': 0,
|
|
|
|
'no-labels': 0,
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: '@typescript-eslint/parser',
|
2021-08-09 03:35:39 -07:00
|
|
|
},
|
2021-08-09 02:29:11 -07:00
|
|
|
};
|