Skip to content

Commit 1edc0c6

Browse files
Split out ESLint only lint:js npm script
1 parent a75134c commit 1edc0c6

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
@@ -55,8 +55,10 @@
5555
"build": "yarn cleanup && rollup -c",
5656
"test": "jest",
5757
"test:watch": "jest --watch",
58-
"lint": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
59-
"lint:fix": "yarn lint --fix",
58+
"lint": "yarn lint:js",
59+
"lint:fix": "yarn lint:js:fix",
60+
"lint:js": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
61+
"lint:js:fix": "yarn lint:js --fix",
6062
"build-storybook": "storybook build",
6163
"prepublishOnly": "yarn lint && yarn test && yarn storybook --smoke-test"
6264
},

0 commit comments

Comments
 (0)