Skip to content

Commit 4b098dc

Browse files
author
Really Him
committed
chore: lint ignore internal dir
1 parent 815b21d commit 4b098dc

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ tmp/
3030
temp/
3131

3232
# Examples (may contain various languages)
33-
examples/
33+
examples/
34+
35+
INTERNAL/

.eslintrc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"functions/",
4040
"function-code/",
4141
"test-*-functions/",
42-
"test-fixtures/"
42+
"test-fixtures/",
43+
"INTERNAL/"
4344
]
44-
}
45+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,5 @@ test-security-integration/
145145
!test-fixtures/
146146
test-fixtures/**/test-*
147147

148+
INTERNAL/
148149
INTERNAL/*

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ temp/
3434
examples/
3535

3636
# Documentation
37-
*.md
37+
*.md
38+
39+
INTERNAL/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"typecheck": "tsc --noEmit",
2828
"demo": "tsx demo.ts",
2929
"lint": "eslint 'src/**/*.ts' 'demo.ts'",
30-
"lint:fix": "eslint 'src/**/*.ts' 'demo.ts'",
30+
"lint:fix": "eslint 'src/**/*.ts' 'demo.ts' --fix",
3131
"format": "prettier --write 'src/**/*.ts' 'demo.ts'",
3232
"format:check": "prettier --check 'src/**/*.ts' 'demo.ts'",
3333
"prepublishOnly": "npm run clean && npm run build && npm test",

0 commit comments

Comments
 (0)