Skip to content

Commit ac5eb1a

Browse files
authored
chore: remove copilot-instructions.md (#350)
1 parent 7046146 commit ac5eb1a

File tree

2 files changed

+5
-190
lines changed

2 files changed

+5
-190
lines changed

.github/copilot-instructions.md

Lines changed: 0 additions & 178 deletions
This file was deleted.

AGENTS.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ This document summarizes how to work on rslint effectively and consistently.
1515

1616
## Build, Test, and Development Commands
1717

18+
- Setup submodule and patch: `git submodule update --init --recursive && ./scripts/apply-tsgo-patch.sh`
19+
- Install Deps: `pnpm install`
1820
- Build JS/TS: `pnpm build`
1921
- Run Go tests: `pnpm run test:go`
2022
- Run JS tests: `pnpm run test`
2123
- Run Check Spell: `pnpm run check-spell`
22-
- Lint Go: `pnpm run lint:go` | Format JS/TS/MD: `pnpm run format`
24+
- Lint Go: `pnpm run lint:go`
25+
- Lint JS: `pnpm run lint`
26+
- Format JS/TS/MD: `pnpm run format`
2327
- CLI: `go run ./cmd/rslint --help`
2428
- Examples: `go run ./cmd/rslint --config rslint.jsonc`, `--fix`, `--format default|jsonline|github`, `--quiet`, `--max-warnings 0`
2529
- LSP: `go run ./cmd/rslint --lsp` | IPC API: `go run ./cmd/rslint --api`
@@ -49,14 +53,3 @@ This document summarizes how to work on rslint effectively and consistently.
4953
- rslint loads `rslint.json`/`rslint.jsonc`; rules accept ESLint-style levels/options.
5054
- The linter walks each file once and dispatches to registered listeners; `--singleThreaded` disables parallelism.
5155
- Use `--format github` in CI to emit GitHub workflow annotations.
52-
53-
## Fix CI
54-
55-
- Sync deps: `pnpm install` in repo root.
56-
- Lint/spell: `pnpm run lint:go`, `pnpm run check-spell`.
57-
- Tests: `pnpm run test:go` and `pnpm run test` (JS/TS).
58-
- Build types: `pnpm build` to surface TS type errors.
59-
- Format: `pnpm run format`
60-
- If Go formatting/lint fails, apply gofmt/goimports in your editor or run your usual formatter, then re-run the checks above.
61-
- If cspell reports legit words, add them to `cspell.config.cjs` dictionary.
62-
- Re-run the full sequence locally until all commands pass before pushing.

0 commit comments

Comments
 (0)