From a0ce1cf33becfd60157acfe866fc5da0db3953d7 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 15 May 2025 10:22:46 +0800
Subject: [PATCH] delete eslint
---
ruoyi-ui/package.json | 25 ++++---------------------
1 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json
index fc99314..107bc48 100644
--- a/ruoyi-ui/package.json
+++ b/ruoyi-ui/package.json
@@ -5,22 +5,10 @@
"author": "若依",
"license": "MIT",
"scripts": {
- "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
- "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
- "build:stage": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode staging",
- "preview": "node build/index.js --preview",
- "lint": "eslint --ext .js,.vue src"
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "src/**/*.{js,vue}": [
- "eslint --fix",
- "git add"
- ]
+ "dev": "vue-cli-service serve",
+ "build:prod": "vue-cli-service build",
+ "build:stage": "vue-cli-service build --mode staging",
+ "preview": "node build/index.js --preview"
},
"keywords": [
"vue",
@@ -63,16 +51,11 @@
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.6",
- "@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6",
- "babel-eslint": "10.1.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "4.1.0",
"compression-webpack-plugin": "6.1.2",
"connect": "3.6.6",
- "eslint": "7.15.0",
- "eslint-plugin-vue": "7.2.0",
- "lint-staged": "10.5.3",
"sass": "1.32.13",
"sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5",
--
Gitblit v1.9.3