boyska 7 months ago
parent
commit
c22aaff0c2
4 changed files with 5 additions and 0 deletions
  1. 2 0
      package.json
  2. 1 0
      src/js/routes.js
  3. 1 0
      tailwind.config.js
  4. 1 0
      vite.config.js

+ 2 - 0
package.json

@@ -39,7 +39,9 @@
     "@vue/compiler-sfc": "^3.2.45",
     "cpy-cli": "^4.2.0",
     "cross-env": "^7.0.3",
+    "eslint": "^8.49.0",
     "eslint-config-prettier": "^9.0.0",
+    "eslint-plugin-vue": "^9.17.0",
     "postcss-preset-env": "^7.8.3",
     "prettier": "3.0.3",
     "vite": "^4.0.4"

+ 1 - 0
src/js/routes.js

@@ -1,3 +1,4 @@
+/* eslint-env node */
 import HomePage from "../pages/home.vue";
 import RadioPage from "../pages/Radio.vue";
 import RadioLivePage from "../pages/RadioLive.vue";

+ 1 - 0
tailwind.config.js

@@ -1,3 +1,4 @@
+/* eslint-env node */
 module.exports = {
   content: ["./src/index.html", "./src/**/*.{vue,svelte,js,ts}"],
   plugins: [],

+ 1 - 0
vite.config.js

@@ -1,3 +1,4 @@
+/* eslint-env node */
 import path from "path";
 import vue from "@vitejs/plugin-vue";