Skip to content

Commit 25aa53b

Browse files
authored
Merge pull request #235 from PostHog/fix/scope-lint-to-edited-files
fix(omnibus): scope lint/format runs to files edited this session
2 parents cd40d13 + 371c6f9 commit 25aa53b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

context/skills/omnibus/instrument-error-tracking/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ STEP 7: Set up environment variables.
4646
STEP 8: Verify and clean up.
4747
- Check the project for errors. Look for type checking or build scripts in package.json.
4848
- Ensure any components created were actually used.
49-
- Run any linter or prettier-like scripts found in the package.json.
49+
- Run any linter or prettier-like scripts found in the package.json, but ONLY on the files you have edited or created during this session. Never run formatting or linting across the entire project's codebase.
5050

5151
## Reference files
5252

context/skills/omnibus/instrument-integration/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ STEP 6: Set up environment variables.
4040
STEP 7: Verify and clean up.
4141
- Check the project for errors. Look for type checking or build scripts in package.json.
4242
- Ensure any components created were actually used.
43-
- Run any linter or prettier-like scripts found in the package.json.
43+
- Run any linter or prettier-like scripts found in the package.json, but ONLY on the files you have edited or created during this session. Never run formatting or linting across the entire project's codebase.
4444

4545
## Reference files
4646

context/skills/omnibus/instrument-product-analytics/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ STEP 9: Set up environment variables.
5555
STEP 10: Verify and clean up.
5656
- Check the project for errors. Look for type checking or build scripts in package.json.
5757
- Ensure any components created were actually used.
58-
- Run any linter or prettier-like scripts found in the package.json.
58+
- Run any linter or prettier-like scripts found in the package.json, but ONLY on the files you have edited or created during this session. Never run formatting or linting across the entire project's codebase.
5959

6060
## Reference files
6161

0 commit comments

Comments
 (0)