Skip to content

Commit 07a429f

Browse files
Split out ESLint only lint:js npm script
1 parent abb7a9f commit 07a429f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@
5454
"build": "yarn cleanup && rollup -c",
5555
"test": "jest",
5656
"test:watch": "jest --watch",
57-
"lint": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
58-
"lint:fix": "yarn lint --fix",
57+
"lint": "yarn lint:js",
58+
"lint:fix": "yarn lint:js:fix",
59+
"lint:js": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
60+
"lint:js:fix": "yarn lint:js --fix",
5961
"build-storybook": "storybook build",
6062
"prepublishOnly": "yarn lint && yarn test && yarn storybook --smoke-test"
6163
},

0 commit comments

Comments
 (0)