Skip to content

Commit

Permalink
fix eslint CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Oct 17, 2024
1 parent a215f29 commit 9e6407b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ jobs:
run: bun install

- name: Run ESLint
run: cd ./package && bun lint -f @jamesacarr/github-actions
run: cd ./package && bun lint-ci

- name: Run ESLint with auto-fix
run: cd ./package && bun lint --fix

- name: Run ESLint in example/
run: cd example && bun lint -f @jamesacarr/github-actions
run: cd example && bun lint-ci

- name: Run ESLint in example/ with auto-fix
run: cd example && bun lint --fix
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "react-native start",
"pods": "cd ios && pod install",
"lint": "eslint . --fix",
"lint-ci": "yarn lint -f ../node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js",
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
"typescript": "tsc --noEmit"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"typecheck": "tsc --noEmit",
"typescript": "tsc --noEmit false",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint-ci": "yarn lint -f ./node_modules/@firmnav/eslint-github-actions-formatter/dist/formatter.js",
"start": "cd example && yarn start",
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
"start": "cd example && bun start",
"build": "bob build",
"release": "bob build && release-it",
"pods": "cd example && yarn pods",
"bootstrap": "yarn && cd example && yarn && yarn pods",
"pods": "cd example && bun pods",
"bootstrap": "bun && cd example && bun && bun pods",
"check-android": "scripts/ktlint.sh && scripts/clang-format.sh",
"check-ios": "scripts/swiftlint.sh && scripts/swiftformat.sh && scripts/clang-format.sh",
"check-js": "yarn lint --fix && yarn typescript",
"check-js": "bun lint --fix && bun typescript",
"check-cpp": "scripts/clang-format.sh",
"check-all": "scripts/check-all.sh",
"clean-ios": "scripts/clean-ios.sh",
Expand Down

0 comments on commit 9e6407b

Please sign in to comment.