scr-web/.eslintrc.js

31 lines
572 B
JavaScript
Raw Normal View History

2024-05-23 01:41:43 +00:00
module.exports = {
root: true,
env: {
node: true
},
2024-07-19 02:48:28 +00:00
extends: ['plugin:vue/essential', '@vue/standard'],
2024-05-23 01:41:43 +00:00
2024-07-19 02:48:28 +00:00
parserOptions: {},
2024-05-23 01:41:43 +00:00
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': [
0,
{
vars: 'all',
args: 'none'
}
],
semi: 0,
eqeqeq: 0,
'one-var': 0,
camelcase: 0,
'no-case-declarations': 0,
'space-before-function-paren': 0,
'vue/no-unused-components': 0
}
}