2017-11-27 19:21:12 -05:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2019-12-19 06:17:21 -05:00
|
|
|
globals: {
|
|
|
|
__static: 'readonly'
|
2017-11-27 19:21:12 -05:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
2019-12-19 06:17:21 -05:00
|
|
|
parser: "vue-eslint-parser",
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'@vue/standard',
|
|
|
|
'@vue/typescript'
|
2017-11-27 19:21:12 -05:00
|
|
|
],
|
2019-12-19 06:17:21 -05:00
|
|
|
'plugins': ['@typescript-eslint'],
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
|
2021-04-15 22:12:11 -04:00
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
"indent": "off",
|
|
|
|
"@typescript-eslint/indent": ["error", 2]
|
2019-12-19 06:17:21 -05:00
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: '@typescript-eslint/parser'
|
2017-11-27 19:21:12 -05:00
|
|
|
}
|
|
|
|
}
|