mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
24 lines
493 B
JavaScript
24 lines
493 B
JavaScript
module.exports = {
|
|
root: true,
|
|
globals: {
|
|
__static: 'readonly'
|
|
},
|
|
env: {
|
|
node: true
|
|
},
|
|
parser: "vue-eslint-parser",
|
|
'extends': [
|
|
'plugin:vue/essential',
|
|
'@vue/standard',
|
|
'@vue/typescript'
|
|
],
|
|
'plugins': ['@typescript-eslint'],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
},
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser'
|
|
}
|
|
}
|