任一存 преди 2 години
родител
ревизия
478719c314
променени са 3 файла, в които са добавени 3 реда и са изтрити 16 реда
  1. 2 1
      .eslintrc.js
  2. 0 14
      package.json
  3. 1 1
      public/index.html

+ 2 - 1
.eslintrc.js

@@ -16,7 +16,8 @@ module.exports = {
     'plugin:vue/recommended',
   ],
   parserOptions: {
-    parser: 'babel-eslint'
+    // parser: 'babel-eslint'
+    "parser": "@babel/eslint-parser"
   },
   rules: {
     'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',

+ 0 - 14
package.json

@@ -25,20 +25,6 @@
     "eslint-plugin-vue": "^8.0.3",
     "vue-template-compiler": "^2.6.14"
   },
-  "eslintConfig": {
-    "root": true,
-    "env": {
-      "node": true
-    },
-    "extends": [
-      "plugin:vue/essential",
-      "eslint:recommended"
-    ],
-    "parserOptions": {
-      "parser": "@babel/eslint-parser"
-    },
-    "rules": {}
-  },
   "browserslist": [
     "> 1%",
     "last 2 versions",

+ 1 - 1
public/index.html

@@ -5,7 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title><%= htmlWebpackPlugin.options.title %></title>
+    <title>title undefined</title>
   </head>
   <body>
     <noscript>