Files
screen/.eslintrc.js
❀ » Cato Sweeney. ❀ » Console@the.bb fd39822a14 first commit
2025-11-26 09:46:45 +08:00

28 lines
734 B
JavaScript

module.exports = {
root: true,
globals: {
defineEmits: 'readonly',
defineProps: 'readonly',
defineExpose: 'readonly',
defineOptions: 'readonly',
},
parser: 'vue-eslint-parser',
env: {
browser: true,
es6: true,
node: true,
},
extends: ['eslint:recommended', 'plugin:vue/vue3-essential'],
rules: {
'no-unused-vars': 'warn',
'no-var': 'error',
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'space-before-function-paren': 'off',
'template-curly-spacing': 'off',
'comma-dangle': 'off',
eqeqeq: ['error', 'always'],
indent: 'off',
},
}