Skip to content

Commit 3fd73e6

Browse files
committed
fix: ignore test fixtures in lint command
1 parent a4fabcc commit 3fd73e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules
77
.env
88
dist
99
public/codemirror
10+
test/fixtures/laravel-api

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dev:build": "nuxi build playground",
4444
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
4545
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
46-
"lint": "eslint .",
46+
"lint": "eslint . --ignore-pattern 'test/fixtures/laravel-api/*'",
4747
"lint:fix": "eslint . --fix",
4848
"format": "prettier --write .",
4949
"test": "vitest run",

0 commit comments

Comments
 (0)