diff options
author | Hailey <me@haileyok.com> | 2024-07-11 18:15:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 18:15:35 -0700 |
commit | 2397104ad6169ced02b1acd9fbbbe426f4cc4da0 (patch) | |
tree | e6aaa5f0b3acaa2acb06880cba6c7703b7ac7b0c /package.json | |
parent | b433469ab954db846ab7bb9109cfe7262711c5bb (diff) | |
download | voidsky-2397104ad6169ced02b1acd9fbbbe426f4cc4da0.tar.zst |
Lint native files (#4768)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 6b11fc133..141646d10 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,8 @@ "test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit", "test-coverage": "NODE_ENV=test jest --coverage", "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src", + "lint-native": "swiftlint ./modules && ktlint ./modules", + "lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules", "typecheck": "tsc --project ./tsconfig.check.json", "e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts", "e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios", |