Skip to content

docs: clarify excludeFiles replacement behavior - #217

Merged
luojiyin1987 merged 1 commit into
masterfrom
docs/excludefiles-replacement-semantics
Nov 5, 2026
Merged

luojiyin1987 merged 1 commit into
masterfrom
docs/excludefiles-replacement-semantics

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

What changed

  • Explain full excludeFiles replacement in both READMEs.
  • Show a list that keeps the default patterns and adds **/dist/**.
  • Test custom and empty arrays in getLintConfig().

Why

A configured array already replaces the defaults.
The docs now state this behavior.
The tests keep this contract visible during future changes.

Verification

  • npm test -- --runInBand __tests__/configure.spec.ts: 34 tests passed.
  • npm run lint: passed.
  • git diff --check: passed.

No logs or user data are included.

Closes #216

Document full array replacement in both READMEs.

Lock the custom and empty array behavior in configuration tests.
@luojiyin1987
luojiyin1987 merged commit 0aaecf4 into master Nov 5, 2026
6 checks passed
@luojiyin1987
luojiyin1987 deleted the docs/excludefiles-replacement-semantics branch November 5, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: clarify excludeFiles replacement semantics

1 participant