view client/.eslintrc.js @ 1883:76a6d334e681 dev-pdf-generation

Client: pdf-gen: refactor addScaleBar * Change positioning from center to left-upper corner for a new function addRoundedBox() that is now used before addScaleBar(). This is easier to calculate and is more like the model of jsPDF. * Add more comments to show how this works. * Move saving of the current vue instance to be the last command before the callback is set.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 16 Jan 2019 20:58:59 +0100
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"
  }
};