Skip to content

Commit 80743a2

Browse files
committed
Linting js for tsx files also
1 parent 2b45fa7 commit 80743a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"storybook": "start-storybook -p 6006 -s public",
77
"storybook:axe": "build-storybook && axe-storybook",
88
"build-storybook": "build-storybook -s public",
9-
"js:eslint": "eslint 'src/**/*.{js,ts}' --max-warnings=0",
10-
"js:prettier": "prettier 'src/**/*.{js,ts}'",
9+
"js:eslint": "eslint 'src/**/*.{js,ts,tsx}' --max-warnings=0",
10+
"js:prettier": "prettier 'src/**/*.{js,ts,tsx}'",
1111
"js:lint": "concurrently 'yarn:js:eslint' 'yarn:js:prettier -- --check' --raw",
1212
"js:format": "concurrently 'yarn:js:eslint -- --fix' 'yarn:js:prettier -- --write' --max-processes 1 --raw",
1313
"css:stylelint": "stylelint 'src/**/*.scss'",

0 commit comments

Comments
 (0)