Skip to content

Commit 2ac3830

Browse files
Split out TypeScript only lint:types npm script
1 parent 07a429f commit 2ac3830

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
@@ -54,10 +54,11 @@
5454
"build": "yarn cleanup && rollup -c",
5555
"test": "jest",
5656
"test:watch": "jest --watch",
57-
"lint": "yarn lint:js",
57+
"lint": "yarn lint:types && yarn lint:js",
5858
"lint:fix": "yarn lint:js:fix",
5959
"lint:js": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
6060
"lint:js:fix": "yarn lint:js --fix",
61+
"lint:types": "tsc --build tsconfig.json --pretty",
6162
"build-storybook": "storybook build",
6263
"prepublishOnly": "yarn lint && yarn test && yarn storybook --smoke-test"
6364
},

0 commit comments

Comments
 (0)