stable-diffusion-webui/frontend/.eslintrc.js

24 lines
532 B
JavaScript
Raw Normal View History

2022-09-21 07:45:16 +03:00
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'
}
}