view client/.eslintrc.js @ 384:af82a8989b44

refactor: Upgraded to current version of vue-cli As of Aug. 10 the new vue-cli (non beta) is released. For more details: https://medium.com/the-vue-point/vue-cli-3-0-is-here-c42bebe28fbb
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 13 Aug 2018 11:03:30 +0200
parents 88d0d60924cf
children 3907a7b98067
line wrap: on
line source

module.exports = {
  root: true,
  env: {
    node: true
  },
  'extends': [
    'plugin:vue/essential',
    '@vue/prettier'
  ],
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
  },
  parserOptions: {
    parser: 'babel-eslint'
  }
}