Skip to content

Commit

Permalink
chore: update lint-staged config
Browse files Browse the repository at this point in the history
Now all `.ts` and `.js` files will be linted and formatted.
  • Loading branch information
boneskull committed Apr 5, 2023
1 parent 039c3c0 commit bb1af17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@
"e2e-test:native-web-tap": "mocha \"./test/functional/web/safari-nativewebtap-e2e-specs.js\" --exit --timeout 10m"
},
"lint-staged": {
"*.js": [
"eslint --fix"
"*.(js|ts)": [
"eslint --fix",
"prettier --write"
]
},
"prettier": {
Expand Down

0 comments on commit bb1af17

Please # to comment.