view client/.eslintrc.js @ 2915:69292eb68984

Simplify function and move to appropriate schema Since utm_covers() uses a function from schema users, it can be used only if appropriate access to the schema has been granted anyhow. Using current_user_area_utm() here to have a level of abstraction between utm_covers() and the modelling of the actual responsibility area.
author Tom Gottfried <tom@intevation.de>
date Wed, 03 Apr 2019 15:26:39 +0200
parents 3907a7b98067
children
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"
  }
};