Skip to content

Commit 08a646a

Browse files
committed
Add lint script to package.json
1 parent c010fe5 commit 08a646a

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
@@ -50,7 +50,8 @@
5050
"start": "react-scripts start",
5151
"build": "react-scripts build",
5252
"test": "react-scripts test",
53-
"eject": "react-scripts eject"
53+
"eject": "react-scripts eject",
54+
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --ext .js,.jsx,.ts,.tsx"
5455
},
5556
"browserslist": {
5657
"production": [

0 commit comments

Comments
 (0)