File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "$schema" : " ./node_modules/@biomejs/biome/configuration_schema.json" ,
33 "root" : false ,
44 "files" : {
5+ "ignoreUnknown" : true ,
56 "includes" : [
67 " **" ,
78 " !**/node_modules" ,
Original file line number Diff line number Diff line change 2323 "lint" : " biome check --no-errors-on-unmatched --files-ignore-unknown=true"
2424 },
2525 "devDependencies" : {
26- "@types/node" : " ^24.10.2 " ,
26+ "@types/node" : " ^25.5.0 " ,
2727 "typescript" : " 5.9.3"
2828 },
2929 "publishConfig" : {
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ pnpm install @biomejs/biome -w -D
3232 "types" : " dist/src/index.d.ts" ,
3333 "files" : [" dist/src" , " src" ],
3434 "scripts" : {
35- "lint" : " biome check --no-errors-on-unmatched --files-ignore-unknown=true ."
35+ "lint" : " biome check ."
3636 },
3737 "simple-git-hooks" : {
38- "pre-commit" : " pnpm exec biome check --no-errors-on-unmatched --files-ignore-unknown=true -- staged"
38+ "pre-commit" : " pnpm exec biome check --staged"
3939 }
4040}
4141```
@@ -47,20 +47,21 @@ pnpm install @biomejs/biome -w -D
4747 "extends" : " @hugomrdias/configs/tsconfig" ,
4848 "compilerOptions" : {
4949 "outDir" : " dist" ,
50- "emitDeclarationOnly" : true
50+ "emitDeclarationOnly" : true // for javascript code bases
5151 },
5252 "include" : [" src" , " test" ]
5353}
5454```
5555
56- For typescript code bases:
56+ For application code bases:
5757
5858``` json
5959{
6060 "extends" : " @hugomrdias/configs/tsconfig" ,
6161 "compilerOptions" : {
62- "outDir" : " dist" ,
63- "module" : " NodeNext"
62+ "moduleResolution" : " bundler" ,
63+ "noEmit" : true
64+ "jsx" : " react-jsx"
6465 },
6566 "include" : [" src" , " test" ]
6667}
Original file line number Diff line number Diff line change 55 "composite" : true ,
66
77 /* Language and Environment */
8- "target" : " es2024 " ,
9- "lib" : [" ES2024 " , " DOM" , " DOM.Iterable" ],
8+ "target" : " esnext " ,
9+ "lib" : [" ESNext " , " DOM" , " DOM.Iterable" ],
1010 "moduleDetection" : " force" ,
1111
1212 /* Modules */
3535 "verbatimModuleSyntax" : true ,
3636 "esModuleInterop" : true ,
3737 "forceConsistentCasingInFileNames" : true ,
38- // "erasableSyntaxOnly": true,
38+ "erasableSyntaxOnly" : true ,
3939
4040 /* Type Checking */
4141 "strict" : true ,
42- // "noUncheckedIndexedAccess": true,
43- // "noImplicitOverride": true,
44- // "noFallthroughCasesInSwitch": true,
42+ "noUncheckedIndexedAccess" : true ,
43+ "noImplicitOverride" : true ,
44+ "noFallthroughCasesInSwitch" : true ,
4545 // "noImplicitReturns": false,
4646 // "noUnusedLocals": true,
4747 // "noUnusedParameters": false,
You can’t perform that action at this time.
0 commit comments