mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
a9bc7eae19
for more information, see https://pre-commit.ci
24 lines
532 B
JavaScript
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'
|
|
}
|
|
}
|