module.exports = {
  root: true,
  env: {
    node: true
  },
  extends: ['plugin:vue/essential', '@vue/standard'],
  parserOptions: {
    parser: '@babel/eslint-parser'
  },
  rules: {
    'space-before-function-paren': 0,
    'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
    'comma-dangle': 'off',
    // eslint-disable-next-line no-dupe-keys
    'space-before-function-paren': 'off',
    indent: 'off',
    'multiline-ternary': 'off',
    'vue/multi-word-component-names': 'off',
    'eol-last': 0,
    'node/no-callback-literal': 'off',
    'no-trailing-spaces': 'off',
    'no-unused-vars': 'off',
    'vue/no-mutating-props': 'off'
  }
}
