Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/c_cpp_properties.json
.idea
.DS_Store
*.suo
Expand All @@ -28,8 +24,8 @@ dist-ssr
docs
build
coverage
src/**/zxing_*.wasm
src/**/zxing_*.js
**/src/**/zxing_*.wasm
**/src/**/zxing_*.js

.emsdk-cache
*.tgz
Expand Down
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "zxing-cpp"]
path = zxing-cpp
path = packages/zxing-wasm/zxing-cpp
url = https://github.com/zxing-cpp/zxing-cpp
branch = master
4 changes: 2 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"*.{js,ts,cjs,mjs,cts,mts,d.cts,d.mts,jsx,tsx,json,jsonc}": [
"*.{js,ts,cjs,mjs,cts,mts,d.cts,d.mts,json,jsonc}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
],
"*.{md,yml,yaml,css,html}": ["pretty-quick --staged"]
"*.{md,yml,yaml,css,html,jsx,tsx}": ["pretty-quick --staged"]
}
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ build
*.mts
*.d.cts
*.d.mts
*.jsx
*.tsx
*.json
*.jsonc
pnpm-lock.yaml
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"tabWidth": 2,
"useTabs": false
"useTabs": false,
"plugins": ["prettier-plugin-jsdoc", "prettier-plugin-tailwindcss"]
}
20 changes: 20 additions & 0 deletions .vscode/project.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"New React Component": {
"scope": "typescriptreact",
"prefix": "nrc",
"body": [
"import { type FC, memo } from \"react\";",
"",
"export interface ${1:ComponentName}Props {",
"\t$0",
"}",
"",
"const ${1:ComponentName}: FC<${1:ComponentName}Props> = () => {",
"\treturn <></>;",
"};",
"",
"export default memo(${1:ComponentName}) as typeof ${1:ComponentName};",
],
"description": "Generates a new React component structure.",
},
}
25 changes: 1 addition & 24 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"C_Cpp.errorSquiggles": "disabled"
"cmake.ignoreCMakeListsMissing": true
}
Loading
Loading