Skip to content

Commit

Permalink
build(deps): ⬆️ update ESLint to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Oct 8, 2024
1 parent 64ddf45 commit 2c3509e
Show file tree
Hide file tree
Showing 8 changed files with 915 additions and 954 deletions.
30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

17 changes: 0 additions & 17 deletions Makefile

This file was deleted.

8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Vite 是一款基于 ES Modules 的构建工具,使用 https://esbuild.github.

用户界面主题使用了 https://vuetifyjs.com/zh-Hans/[Vuetify],这是一款基于 Vue 3 的 Material Design 组件库。

https://vueuse.org/[VueUse] 项目提供了一些常用的 Vue Hooks,如 `useColorMode`、`useCycleList`、`useVModel` 等。
https://vueuse.org/[VueUse] 项目提供了一些常用的 Vue Hooks,如 `useColorMode`、`useCycleList` 等。

=== 后端

Expand All @@ -59,9 +59,9 @@ RustCrypto 是一个 Rust 的密码学库,其提供了对称加密算法、非

=== 构建工具

* Node.js 18+
* Rust stable v1.73.0+
* pnpm 8+
* Node.js 20+
* Rust stable v1.77+
* pnpm 9+

=== 推荐的开发工具

Expand Down
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import pluginVue from "eslint-plugin-vue";
import vueTsEslintConfig from "@vue/eslint-config-typescript";
import vuePrettierEslintConfig from "@vue/eslint-config-prettier";

export default [
...pluginVue.configs["flat/recommended"],
...vueTsEslintConfig(),
vuePrettierEslintConfig,
];
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,48 @@
"build-only": "vite build",
"dev": "vite",
"format": "prettier --write .",
"lint": "run-p lint:eslint lint:stylelint",
"lint:eslint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint:stylelint": "stylelint \"**/*.{css,vue,html}\" --fix --ignore-path .gitignore",
"lint": "run-s \"lint:stylelint {@}\" \"lint:eslint {@}\" --",
"lint:eslint": "eslint \"*.ts\" \"*.js\" src/",
"lint:stylelint": "stylelint \"**/*.{css,vue,html}\" --ignore-path .gitignore",
"preview": "vite preview",
"tauri": "tauri",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build --no-bundle"
},
"dependencies": {
"@fontsource/noto-sans-sc": "^5.0.20",
"@fontsource/roboto": "^5.0.15",
"@tauri-apps/api": "^2.0.1",
"@fontsource/noto-sans-sc": "^5.1.0",
"@fontsource/roboto": "^5.1.0",
"@tauri-apps/api": "^2.0.2",
"@tauri-apps/plugin-dialog": "^2.0.0",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.3",
"vuetify": "^3.7.1"
"@vueuse/core": "^11.1.0",
"vue": "^3.5.11",
"vuetify": "^3.7.2"
},
"devDependencies": {
"@iconify-json/ic": "^1.2.0",
"@mdi/js": "^7.4.47",
"@tauri-apps/cli": "^2.0.1",
"@types/node": "^20.16.5",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@tauri-apps/cli": "^2.0.2",
"@types/node": "^20.16.11",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/eslint-config-prettier": "^10.0.0",
"@vue/eslint-config-typescript": "^14.0.0",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.20",
"browserslist": "^4.23.3",
"eslint": "^8.57.0",
"browserslist": "^4.24.0",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.28.0",
"npm-run-all2": "^6.2.2",
"postcss": "^8.4.45",
"postcss-preset-env": "^10.0.2",
"npm-run-all2": "^6.2.3",
"postcss": "^8.4.47",
"postcss-preset-env": "^10.0.6",
"prettier": "^3.3.3",
"stylelint": "^16.9.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-prettier": "^5.0.2",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-icons": "^0.19.3",
"vite": "^5.4.3",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
},
"browserslist": [
Expand Down
Loading

0 comments on commit 2c3509e

Please sign in to comment.