update eslint script to only run for files included in tsconfig

This commit is contained in:
Jacob Overgaard
2022-08-04 15:43:53 +02:00
parent 5780fb2e92
commit 54c4a7e467

View File

@@ -21,7 +21,7 @@
"preview": "vite preview --open",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
"lint": "eslint . --ext .ts --cache",
"lint": "eslint src/**/* e2e/**/* --cache",
"lint:fix": "npm run lint -- --fix",
"format": "prettier 'src/**/*.ts'",
"format:fix": "npm run format -- --write",