Add linting to GitHub actions

This commit is contained in:
Lei Nelissen
2022-01-01 22:37:58 +01:00
parent 4e6a758d83
commit 419ce99d08
2 changed files with 14 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
"ios": "react-native run-ios --scheme \"Jellyfin Player\"",
"start": "react-native start",
"test": "jest",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx && tsc --noEmit",
"build:ios": "react-native bundle --entry-file='index.ts' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'"
},
"dependencies": {