changeset 990:3907a7b98067

linted/fixed code format (yarn run lint)
author Markus Kottlaender <markus@intevation.de>
date Mon, 22 Oct 2018 10:21:22 +0200
parents da19c68e36ba
children a301d240905f
files client/.eslintrc.js client/.postcssrc.js client/tests/unit/.eslintrc.js client/vue.config.js
diffstat 4 files changed, 10 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/client/.eslintrc.js	Sat Oct 20 19:27:33 2018 +0200
+++ b/client/.eslintrc.js	Mon Oct 22 10:21:22 2018 +0200
@@ -3,15 +3,12 @@
   env: {
     node: true
   },
-  'extends': [
-    'plugin:vue/essential',
-    '@vue/prettier'
-  ],
+  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'
+    "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
+    "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
   },
   parserOptions: {
-    parser: 'babel-eslint'
+    parser: "babel-eslint"
   }
-}
\ No newline at end of file
+};
--- a/client/.postcssrc.js	Sat Oct 20 19:27:33 2018 +0200
+++ b/client/.postcssrc.js	Mon Oct 22 10:21:22 2018 +0200
@@ -2,4 +2,4 @@
   plugins: {
     autoprefixer: {}
   }
-}
\ No newline at end of file
+};
--- a/client/tests/unit/.eslintrc.js	Sat Oct 20 19:27:33 2018 +0200
+++ b/client/tests/unit/.eslintrc.js	Mon Oct 22 10:21:22 2018 +0200
@@ -3,6 +3,6 @@
     jest: true
   },
   rules: {
-    'import/no-extraneous-dependencies': 'off'
+    "import/no-extraneous-dependencies": "off"
   }
-}
\ No newline at end of file
+};
--- a/client/vue.config.js	Sat Oct 20 19:27:33 2018 +0200
+++ b/client/vue.config.js	Mon Oct 22 10:21:22 2018 +0200
@@ -1,7 +1,7 @@
 const CopyWebpackPlugin = require("copy-webpack-plugin");
 // const PurgecssPlugin = require("purgecss-webpack-plugin");
-const glob = require("glob-all");
-const path = require("path");
+// const glob = require("glob-all");
+// const path = require("path");
 
 module.exports = {
   outputDir: "../web",