Skip to content

Commit 60e0348

Browse files
committed
chore: ignore example-expo from linting
This is copied from example app.
1 parent c112ba6 commit 60e0348

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ permissions:
3535
contents: write
3636

3737
jobs:
38-
publish:
38+
deploy:
3939
runs-on: ubuntu-latest
4040

4141
steps:

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"clean": "rm -rf android/build node_modules/**/android/build lib nitrogen/generated",
5353
"lint": "eslint --ext .ts,.tsx,.js,.jsx src",
5454
"lint:eslint": "eslint --fix 'src/**/*.{ts,tsx}' 'plugin/src/**/*.{ts,tsx}'",
55-
"lint:prettier": "prettier --write \"**/*.{md,js,jsx,ts,tsx}\"",
55+
"lint:prettier": "prettier --write \"**/*.{md,js,jsx,ts,tsx}\" \"!example-expo/**\"",
5656
"lint:tsc": "tsc -p tsconfig.json --noEmit --skipLibCheck",
5757
"lint:ci": "yarn lint:tsc && yarn lint:eslint && yarn lint:prettier",
5858
"prepare": "npx tsx scripts/check-nitro-versions.ts && bob build && yarn nitrogen && yarn build:plugin",
@@ -155,15 +155,15 @@
155155
]
156156
},
157157
"lint-staged": {
158-
"!(docs)/**/*.{ts,tsx}": [
158+
"!(docs|example-expo)/**/*.{ts,tsx}": [
159159
"eslint --fix",
160160
"prettier --write"
161161
],
162-
"!(docs)/**/*.{js,jsx}": [
162+
"!(docs|example-expo)/**/*.{js,jsx}": [
163163
"eslint --fix",
164164
"prettier --write"
165165
],
166-
"*.{json,md}": [
166+
"!(example-expo)/**/*.{json,md}": [
167167
"prettier --write"
168168
]
169169
},

0 commit comments

Comments
 (0)