Skip to content

Commit

Permalink
JSONC to JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus01337 committed Jul 26, 2024
1 parent 892d396 commit 79a82ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"*.{ts,astro}": [
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none",
"biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none",
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json",
"biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json",
"eslint",
"tsc-files"
],
"*.{js,mjs,cjs}": [
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none",
"biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none",
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json",
"biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json",
"eslint"
],
"*.{json,md}": [
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none"
"biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json"
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"format": "biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.jsonc && biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.jsonc",
"format": "biome format --write --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json && biome lint --write --unsafe --skip-errors --no-errors-on-unmatched --changed --since=main --log-level=none --config-path external/configurations/biome/biome.json",
"lint": "eslint . && tsc --noEmit",
"lint:formatting": "biome check --changed --since=main --linter-enabled=false --config-path external/configurations/biome/biome.jsonc",
"lint:formatting": "biome check --changed --since=main --linter-enabled=false --config-path external/configurations/biome/biome.json",
"prepare": "bun .husky/install.js"
},
"dependencies": {
Expand Down

0 comments on commit 79a82ec

Please sign in to comment.