2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-24 15:40:33 +03:00

chore: format

This commit is contained in:
2023-10-11 15:24:41 +03:00
parent edba5c3ae6
commit 6ae2dc4aa3
47 changed files with 11776 additions and 22497 deletions
+20 -17
View File
@@ -1,17 +1,20 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}
const isProduction = process.env.NODE_ENV === 'production'
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'eslint:recommended',
'plugin:prettier/recommended'
],
parserOptions: {
parser: '@babel/eslint-parser'
},
rules: {
'no-console': isProduction ? 'warn' : 'off',
'no-debugger': isProduction ? 'warn' : 'off'
}
}