Skip to content

Commit

Permalink
chore: adjust prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Dec 15, 2024
1 parent 7b8be2d commit 50b3987
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
64 changes: 51 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,58 @@
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"eslint.runtime": "node",
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off", "fixable": true },
{ "rule": "format/*", "severity": "off", "fixable": true },
{ "rule": "*-indent", "severity": "off", "fixable": true },
{ "rule": "*-spacing", "severity": "off", "fixable": true },
{ "rule": "*-spaces", "severity": "off", "fixable": true },
{ "rule": "*-order", "severity": "off", "fixable": true },
{ "rule": "*-dangle", "severity": "off", "fixable": true },
{ "rule": "*-newline", "severity": "off", "fixable": true },
{ "rule": "*quotes", "severity": "off", "fixable": true },
{ "rule": "*semi", "severity": "off", "fixable": true }
{
"rule": "style/*",
"severity": "off",
"fixable": true
},
{
"rule": "format/*",
"severity": "off",
"fixable": true
},
{
"rule": "*-indent",
"severity": "off",
"fixable": true
},
{
"rule": "*-spacing",
"severity": "off",
"fixable": true
},
{
"rule": "*-spaces",
"severity": "off",
"fixable": true
},
{
"rule": "*-order",
"severity": "off",
"fixable": true
},
{
"rule": "*-dangle",
"severity": "off",
"fixable": true
},
{
"rule": "*-newline",
"severity": "off",
"fixable": true
},
{
"rule": "*quotes",
"severity": "off",
"fixable": true
},
{
"rule": "*semi",
"severity": "off",
"fixable": true
}
],

// Enable eslint for all supported languages
Expand All @@ -30,7 +69,6 @@
"html",
"markdown",
"json",
"json5",
"jsonc",
"yaml",
"toml",
Expand All @@ -43,4 +81,4 @@
"typecheck",
"unocss"
]
}
}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@
"release": "bun run changelog && bunx bumpp package.json --all",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "bunx simple-git-hooks"
"prepare": "npx simple-git-hooks"
},
"peerDependenciesMeta": {
"@prettier/plugin-xml": {
"optional": true
},
"@stacksjs/eslint-plugin": {
"optional": true
},
"eslint-plugin-format": {
"optional": true
},
Expand All @@ -56,6 +53,7 @@
"@clack/prompts": "^0.8.2",
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/markdown": "^6.2.1",
"@stacksjs/eslint-plugin": "0.1.3",
"@stylistic/eslint-plugin": "^2.11.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
Expand Down

0 comments on commit 50b3987

Please sign in to comment.