view client/.eslintrc.js @ 535:da5f47a0941c

Password reset: Reduce the risk of timing attacks and being a user oracle when requesting resets.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 29 Aug 2018 10:34:46 +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'
  }
}