x1ongzhu 6 gadi atpakaļ
vecāks
revīzija
892bc39858
1 mainītis faili ar 9 papildinājumiem un 12 dzēšanām
  1. 9 12
      .eslintrc.js

+ 9 - 12
.eslintrc.js

@@ -1,20 +1,17 @@
 module.exports = {
     root: true,
     env: {
-        node: true,
+        node: true
     },
-    extends: [
-        'plugin:vue/essential',
-        '@vue/airbnb',
-    ],
+    extends: ["plugin:vue/essential", "@vue/airbnb"],
     rules: {
-        'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
-        'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
-        'indent': ['error', 4],
-        'max-len': ["error", { "code": 200 }],
-        'no-param-reassign': ["error", { "props": true, "ignorePropertyModificationsFor": ["state", "Vue"] }],
+        "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
+        "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
+        indent: ["error", 4],
+        "max-len": ["error", { code: 200 }],
+        "no-param-reassign": ["error", { props: true, ignorePropertyModificationsFor: ["state", "Vue"] }]
     },
     parserOptions: {
-        parser: 'babel-eslint',
-    },
+        parser: "babel-eslint"
+    }
 };