stable-diffusion-webui/frontend/.eslintrc.js
2023-06-23 02:58:24 +00:00

24 lines
532 B
JavaScript

module.exports = {
env: {
node: true
},
'extends': [
'plugin:vue/vue3-essential',
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
'eslint:recommended',
'@vue/typescript/recommended'
],
ignorePatterns: [
'node_modules/',
'dist/',
'coverage/',
'pnpm-lock.yaml',
'*.js'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}