Skip to content

Commit

Permalink
chore: more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Sep 17, 2024
1 parent f703179 commit 0225587
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 69 deletions.
2 changes: 2 additions & 0 deletions .vscode/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ codecov
commitlint
commitlintrc
composables
davidanson
degit
deps
destructurable
Expand All @@ -21,6 +22,7 @@ pausable
Postcardware
prefetch
preinstall
quickfix
socio
Solana
Spatie
Expand Down
8 changes: 3 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint"
"biomejs.biome",
"davidanson.vscode-markdownlint",
"streetsidesoftware.code-spell-checker"
]
}
86 changes: 22 additions & 64 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,31 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
// 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.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{
"rule": "style/*",
"severity": "off"
},
{
"rule": "format/*",
"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",
"stx",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml"
],
// JSON
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},

// Markdown
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnSave": true
},

"search.exclude": {
"**/node_modules": true,
"**/cdk.out": true,
"**/dist": true,
"CHANGELOG.md": true
},

"cSpell.ignorePaths": [
"node_modules"
],
Expand Down
4 changes: 4 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["./node_modules/@stacksjs/biome-config/config.json"]
}
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@commitlint/cli": "^19.5.0",
"@stacksjs/biome-config": "^0.1.0",
"@types/bun": "^1.1.9",
"bumpp": "^9.5.2",
"changelogen": "^0.5.5",
Expand Down

0 comments on commit 0225587

Please sign in to comment.