view client/.eslintrc.js @ 210:a0e2c6bb3cb3

Remove obsolete GRANT on user_profiles Even sys_admin should write in this table only via user management functions.
author Tom Gottfried <tom@intevation.de>
date Mon, 23 Jul 2018 16:40:21 +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'
  }
}