8000 build(style): adds format and lint scripts under style:* · Rookie-M/react-sortablejs@575d0e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 575d0e0

Browse files
committed
build(style): adds format and lint scripts under style:*
1 parent fa68efb commit 575d0e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"build:tsc": "ts-node config/move-files.ts",
2323
"build:storybook": "build-storybook",
2424
"storybook": "start-storybook -p 6006",
25-
"build-storybook": "build-storybook"
25+
"style": "yarn styles:format && yarn style:lint",
26+
"style:format": "prettier -w \"src/**.(ts|tsx)\"",
27+
"style:lint": "eslint \"src/**.(ts|tsx)\""
2628
},
2729
"release": {
2830
"plugins": [

0 commit comments

Comments
 (0)
0