-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6655ad
commit 8c943fb
Showing
370 changed files
with
11,461 additions
and
11,792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"extends": ["@commitlint/config-conventional"], | ||
"rules": { | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"build", | ||
"chore", | ||
"ci", | ||
"config", | ||
"docs", | ||
"feat", | ||
"fix", | ||
"perf", | ||
"refactor", | ||
"revert", | ||
"style", | ||
"test" | ||
] | ||
], | ||
"scope-empty": [0], | ||
"subject-empty": [2, "never"], | ||
"subject-case": [2, "always", "lower-case"], | ||
"body-leading-blank": [2, "always"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# .lefthook/commit-msg/commitlint.sh | ||
|
||
#!/bin/bash | ||
|
||
# Print the commit message | ||
echo $(head -n1 "$1") | bunx commitlint --color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,43 @@ | ||
{ | ||
"[css]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit", | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"eslint.format.enable": true, | ||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], | ||
"files.encoding": "utf8", | ||
"files.insertFinalNewline": true, | ||
"files.trimTrailingWhitespace": true, | ||
"javascript.preferences.importModuleSpecifier": "non-relative", | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"prettier.useEditorConfig": true, | ||
"search.exclude": { | ||
"**/package-lock.json": true, | ||
"**/pnpm-lock.yaml": true, | ||
".cache/**": true, | ||
".git/**": true, | ||
"coverage/**": true, | ||
"dist/**": true, | ||
"generated/**": true, | ||
"node_modules/**": true, | ||
"public/**": true | ||
}, | ||
"tailwindCSS.experimental.classRegex": [ | ||
["cn"], | ||
["className\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], | ||
["classNams\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], | ||
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], | ||
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] | ||
], | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"typescript.suggest.autoImports": true, | ||
"typescript.updateImportsOnFileMove.enabled": "always" | ||
"[css]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit", | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"files.encoding": "utf8", | ||
"files.insertFinalNewline": true, | ||
"files.trimTrailingWhitespace": true, | ||
"javascript.preferences.importModuleSpecifier": "non-relative", | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"search.exclude": { | ||
"**/package-lock.json": true, | ||
"**/pnpm-lock.yaml": true, | ||
".cache/**": true, | ||
".git/**": true, | ||
"coverage/**": true, | ||
"dist/**": true, | ||
"generated/**": true, | ||
"node_modules/**": true, | ||
"public/**": true | ||
}, | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"typescript.suggest.autoImports": true, | ||
"typescript.updateImportsOnFileMove.enabled": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"complexity": { | ||
"noStaticOnlyClass": "off", | ||
"noForEach": "off" | ||
}, | ||
"suspicious": { | ||
"noArrayIndexKey": "off" | ||
}, | ||
"a11y": { | ||
"useKeyWithClickEvents": "off", | ||
"noSvgWithoutTitle": "off" | ||
}, | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"lineWidth": 100 | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single", | ||
"jsxQuoteStyle": "single", | ||
"quoteProperties": "preserve", | ||
"semicolons": "asNeeded" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# lefthook.yml | ||
|
||
commit-msg: | ||
scripts: | ||
"commitlint.sh": | ||
runner: bash | ||
|
||
pre-commit: | ||
commands: | ||
1_lint_check: | ||
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" | ||
run: yarn biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} && git update-index --again | ||
2_type_check: | ||
glob: "*.{json,js,ts,tsx}" | ||
run: yarn tsc --noEmit -p ./tsconfig.json | ||
3_build: | ||
run: yarn next build | ||
|
||
pre-push: | ||
commands: | ||
check: | ||
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" | ||
run: yarn biome check --no-errors-on-unmatched --files-ignore-unknown=true {push_files} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.