Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 9, 2023
1 parent b616eb3 commit a7012df
Show file tree
Hide file tree
Showing 39 changed files with 768 additions and 719 deletions.
41 changes: 41 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

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

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

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

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
4 changes: 4 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu()
33 changes: 15 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@antfu/ni",
"type": "module",
"version": "0.21.8",
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@8.10.2",
"description": "Use the right package manager",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -34,8 +34,8 @@
"nun": "bin/nun.mjs"
},
"files": [
"dist",
"bin"
"bin",
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
Expand All @@ -48,30 +48,27 @@
"test": "vitest"
},
"devDependencies": {
"@antfu/eslint-config": "^0.40.2",
"@antfu/eslint-config": "^1.1.0",
"@posva/prompts": "^2.4.4",
"@types/fs-extra": "^11.0.1",
"@types/ini": "^1.3.31",
"@types/node": "^20.5.3",
"@types/which": "^3.0.0",
"@types/fs-extra": "^11.0.4",
"@types/ini": "^1.3.33",
"@types/node": "^20.9.0",
"@types/which": "^3.0.2",
"bumpp": "^9.2.0",
"eslint": "^8.47.0",
"eslint": "^8.53.0",
"esno": "^0.17.0",
"execa": "^7.1.1",
"fast-glob": "^3.3.1",
"execa": "^8.0.1",
"fast-glob": "^3.3.2",
"find-up": "^6.3.0",
"fs-extra": "^11.1.1",
"fzf": "^0.5.2",
"ini": "^4.1.1",
"kleur": "^4.1.5",
"rimraf": "^5.0.1",
"rimraf": "^5.0.5",
"terminal-link": "^3.0.0",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.2",
"which": "^3.0.1"
},
"eslintConfig": {
"extends": "@antfu"
"vitest": "^0.34.6",
"which": "^4.0.0"
}
}
Loading

0 comments on commit a7012df

Please sign in to comment.