Skip to content

Commit cc14873

Browse files
committed
chore: add new script to check linting
1 parent cff5446 commit cc14873

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"android": "expo run:android",
77
"ios": "expo run:ios",
8-
"lint": "expo lint",
8+
"lint": "tsc --noEmit && eslint",
99
"reset-project": "node ./scripts/reset-project.js",
1010
"start": "expo start",
1111
"web": "expo start --web"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"build": "tsc",
2929
"dev": "tsc --watch",
3030
"ios": "react-native run-ios",
31+
"lint": "tsc --noEmit && eslint",
3132
"prepare": "yarn run build",
3233
"start": "react-native start"
3334
},

0 commit comments

Comments
 (0)