Document that scripts is flat with no subfolders or index files
Check / check (pull_request) Successful in 39s
Check / check (pull_request) Successful in 39s
This commit is contained in:
@@ -11,7 +11,9 @@ practice.
|
||||
off for `src/rules/index.ts`, the rule registry, which must import every
|
||||
rule. It is not a precedent for apps.
|
||||
- **`scripts/**`:** a narrow override is allowed when a tooling script truly
|
||||
needs it, e.g. `no-console` in a CLI script.
|
||||
needs it, e.g. `no-console` in a CLI script. Never one that only dodges
|
||||
import-check (e.g. `no-relative-bypass` for `vite.config.ts`); import-check
|
||||
ignores folders no `#` alias owns.
|
||||
- **Generated files:** list them in `ignorePatterns`, never `overrides`.
|
||||
- **Anything else needs the user's approval first.** When the user is away,
|
||||
don't add it: refactor, or leave the violation failing and log the question.
|
||||
|
||||
Reference in New Issue
Block a user