Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 8, 2023
1 parent 1f68471 commit b55a386
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 173 deletions.
11 changes: 6 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
// Enable the flat config support
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false
"source.fixAll": "explicit",
"source.organizeImports": "never"
},

// 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" },
Expand All @@ -25,6 +25,7 @@
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
Expand Down
6 changes: 4 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu(
{
vue: false,
ignores: [
// eslint ignore globs here
],
},
{
// overrides
rules: {
// overrides
},
},
)
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^1.0.0-beta.12",
"@antfu/eslint-config": "^1.0.0-beta.22",
"@antfu/ni": "^0.21.8",
"@antfu/utils": "^0.7.6",
"@types/node": "^20.7.0",
"@types/node": "^20.8.3",
"bumpp": "^9.2.0",
"eslint": "^8.50.0",
"eslint": "^8.51.0",
"esno": "^0.17.0",
"lint-staged": "^14.0.1",
"pnpm": "^8.8.0",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "^4.4.9",
"vitest": "^0.34.5"
"vite": "^4.4.11",
"vitest": "^0.34.6"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
Loading

0 comments on commit b55a386

Please sign in to comment.