Skip to content

Commit 4a2c52d

Browse files
Split out TypeScript only lint:types npm script
1 parent 1edc0c6 commit 4a2c52d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@
5555
"build": "yarn cleanup && rollup -c",
5656
"test": "jest",
5757
"test:watch": "jest --watch",
58-
"lint": "yarn lint:js",
58+
"lint": "yarn lint:types && yarn lint:js",
5959
"lint:fix": "yarn lint:js:fix",
6060
"lint:js": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
6161
"lint:js:fix": "yarn lint:js --fix",
62+
"lint:types": "tsc --build tsconfig.json --pretty",
6263
"build-storybook": "storybook build",
6364
"prepublishOnly": "yarn lint && yarn test && yarn storybook --smoke-test"
6465
},

0 commit comments

Comments
 (0)