Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 27, 2023
1 parent 04bad46 commit f8502c7
Show file tree
Hide file tree
Showing 4 changed files with 586 additions and 347 deletions.
11 changes: 6 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"*.css": "postcss"
},

// Enable the flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter
"prettier.enable": false,
"editor.formatOnSave": false,
Expand All @@ -18,11 +15,15 @@

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "@stylistic/*", "severity": "off" },
{ "rule": "style/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" }
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// The following is optional.
Expand Down
13 changes: 3 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import antfu from '@antfu/eslint-config'
import plugin from '@unocss/eslint-plugin'
import unocss from '@unocss/eslint-plugin'

export default antfu(
{
ignores: [],
},
{
plugins: {
'@unocss': plugin,
},
rules: plugin.configs.recommended.rules,
},
{},
unocss.configs.flat,
)
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"private": true,
"packageManager": "pnpm@8.7.6",
"packageManager": "pnpm@8.8.0",
"scripts": {
"build": "vite build",
"dev": "vite --port 3333 --open",
Expand All @@ -18,31 +18,31 @@
"vue-router": "^4.2.5"
},
"devDependencies": {
"@antfu/eslint-config": "^1.0.0-beta.6",
"@antfu/eslint-config": "^1.0.0-beta.12",
"@iconify-json/carbon": "^1.1.21",
"@types/node": "^20.6.3",
"@unocss/eslint-config": "^0.56.1",
"@unocss/eslint-plugin": "^0.56.1",
"@unocss/reset": "^0.56.1",
"@types/node": "^20.7.1",
"@unocss/eslint-config": "^0.56.4",
"@unocss/eslint-plugin": "^0.56.4",
"@unocss/reset": "^0.56.4",
"@vitejs/plugin-vue": "^4.3.4",
"@vue-macros/volar": "^0.14.3",
"@vue-macros/volar": "^0.15.0",
"@vue/test-utils": "^2.4.1",
"eslint": "^8.50.0",
"eslint-define-config": "^1.23.0",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"pnpm": "^8.7.6",
"pnpm": "^8.8.0",
"simple-git-hooks": "^2.9.0",
"taze": "^0.11.2",
"taze": "^0.11.3",
"typescript": "^5.2.2",
"unocss": "^0.56.1",
"unocss": "^0.56.4",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.2",
"unplugin-vue-macros": "^2.5.1",
"unplugin-vue-macros": "^2.6.0",
"vite": "^4.4.9",
"vite-plugin-pages": "^0.31.0",
"vitest": "^0.34.5",
"vue-tsc": "^1.8.13"
"vue-tsc": "^1.8.15"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
Loading

0 comments on commit f8502c7

Please sign in to comment.