Skip to content

Commit

Permalink
Run prettier and update lint-staged script for prettier to avoid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pewtro committed Mar 23, 2024
1 parent 9eeef80 commit adcee9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"typecheck": "tsc"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,md,mdx,yml,yaml}": [
"*": [
"prettier --write"
],
"*.{ts,tsx,js,jsx}": [
Expand Down
16 changes: 8 additions & 8 deletions packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"declaration": true,
"outDir": "./dist",
"rootDir": "./src"
},
}
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"declaration": true,
"outDir": "./dist",
"rootDir": "./src"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"noEmit": true,
"module": "Preserve",
"moduleResolution": "Bundler"

/* If transpiling with TypeScript: */
//"moduleResolution": "NodeNext",
//"module": "NodeNext",
Expand Down

0 comments on commit adcee9d

Please sign in to comment.