mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-05-17 03:09:36 +03:00
21 lines
402 B
JavaScript
21 lines
402 B
JavaScript
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'
|
|
}
|
|
}
|