Skip to content

Commit

Permalink
Revert "fix: eslint v9 版本配置文件更新 (#1927)"
Browse files Browse the repository at this point in the history
This reverts commit 1c25195.
  • Loading branch information
pixelmaxQm authored Nov 8, 2024
1 parent 1c25195 commit ff022a3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
4 changes: 4 additions & 0 deletions web/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build/*.js
src/assets
public
dist
17 changes: 17 additions & 0 deletions web/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
parserOptions: {
parser: '@babel/eslint-parser',
sourceType: 'module'
},
env: {
browser: true,
node: true,
es6: true
},
extends: ['plugin:vue/recommended', 'eslint:recommended'],
rules: {
"vue/max-attributes-per-line" : 0,
"vue/no-v-model-argument" : 0
}
}
17 changes: 0 additions & 17 deletions web/eslint.config.js

This file was deleted.

8 changes: 3 additions & 5 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "gin-vue-admin",
"version": "2.7.7",
"private": true,
"type": "module",
"scripts": {
"serve": "node openDocument.js && vite --host --mode development",
"build": "vite build --mode production",
Expand Down Expand Up @@ -50,9 +49,8 @@
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.1",
"@eslint/js": "^9.14.0",
"@vitejs/plugin-legacy": "^5.4.2",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-plugin-router": "~5.0.8",
Expand All @@ -62,8 +60,8 @@
"babel-plugin-import": "^1.13.8",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"eslint": "^9.14.0",
"eslint-plugin-vue": "^9.30.0",
"eslint": "^9.9.1",
"eslint-plugin-vue": "^9.28.0",
"sass": "^1.78.0",
"terser": "^5.31.6",
"vite": "^5.4.3",
Expand Down

0 comments on commit ff022a3

Please sign in to comment.