view client/.eslintrc.js @ 331:a85f56207d80

db-setup script: Allow to set passwords manually. Especially during testing, when setting up a fresh db it is desirable to set the passwords to well known values instead of getting fresh random ones. This is now possible.
author Sascha Wilde <wilde@intevation.de>
date Fri, 03 Aug 2018 13:52:23 +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'
  }
}