view client/.eslintrc.js @ 514:4a1db55a9920

Use auth.RunAs in JSON controller. It's more symmetric to the rest of the application and returns the database connection earlier to the pool.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 27 Aug 2018 10:35:55 +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'
  }
}