Skip to content

Commit

Permalink
Add .tsx to lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal authored Nov 25, 2020
1 parent 16573a6 commit 02108a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@
"*.scss": [
"wp-scripts lint-style"
],
"*.{js,ts}": [
"*.{js,ts,tsx}": [
"wp-scripts format-js",
"wp-scripts lint-js"
],
"{docs/{toc.json,tool/*.js},packages/{*/README.md,components/src/*/**/README.md}}": [
"node ./docs/tool/index.js"
],
"packages/**/*.{js,ts}": [
"packages/**/*.{js,ts,tsx}": [
"node ./bin/api-docs/update-api-docs.js",
"node ./bin/api-docs/are-api-docs-unstaged.js",
"node ./bin/packages/lint-staged-typecheck.js"
Expand Down

0 comments on commit 02108a5

Please sign in to comment.