Skip to content

Commit 066ca08

Browse files
prettier: add --end-of-line auto argument to maintain sanity on Windows
1 parent b268e0b commit 066ca08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
"posttest": "npm run format",
743743
"lint": "eslint . --ext .ts,.tsx",
744744
"lint-fix": "npm run lint -- --fix",
745-
"format": "prettier --write src/**/*.{ts,json} test/**/*.ts syntaxes/**/*.json snippets/**/*.json ./**/*.{md,json,yaml,yml}",
745+
"format": "prettier --write --end-of-line auto src/**/*.{ts,json} test/**/*.ts syntaxes/**/*.json snippets/**/*.json ./**/*.{md,json,yaml,yml}",
746746
"prepare": "husky install",
747747
"pre-commit": "lint-staged",
748748
"coverage": "c8 --clean npm run test"

0 commit comments

Comments
 (0)