Skip to content

Commit bbb534b

Browse files
committed
chore: remove js from prettier
1 parent eaac376 commit bbb534b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lefthook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ pre-commit:
22
parallel: true
33
commands:
44
lint:
5-
glob: "*.{js,ts,jsx,tsx}"
5+
glob: "*.{ts,tsx}"
66
run: npx eslint --fix {staged_files}
77
types:
8-
glob: "*.{js,ts, jsx, tsx}"
8+
glob: "*.{ts, tsx}"
99
run: npx tsc
1010
prettier:
11-
glob: "*.{js,ts,jsx,tsx}"
11+
glob: "*.{ts,tsx}"
1212
run: npx prettier --write {staged_files}
1313
commit-msg:
1414
parallel: true

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"docs": "yarn workspace docs",
4242
"test": "jest",
4343
"typecheck": "tsc",
44-
"lint": "eslint --fix \"**/*.{js,ts,tsx}\"",
45-
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
44+
"lint": "eslint --fix \"**/*.{ts,tsx}\"",
45+
"format": "prettier --write \"**/*.{ts,tsx}\"",
4646
"tidy": "yarn typecheck && yarn lint && yarn format && scripts/swiftlint.sh && scripts/ktlint.sh",
4747
"clean": "scripts/clean.sh",
4848
"prepare": "bob build",

0 commit comments

Comments
 (0)