page/norms/code/code-pragmatic.md
Settings: Code: the pragmatic programmer
Thresholds of the checks of the code-pragmatic package. Change a number in the header and the checks will take it on the next run. If a key is absent, the default value is used.
| Key | Default | What it means |
|---|---|---|
minLength | 16 | length of a string literal whose repetition is counted (PRG-R01) |
minFiles | 3 | in how many files a repetition is already a finding (PRG-R01) |
commentedLines | 3 | lines of commented-out code in a row (PRG-R03) |
exclude is path masks from the project root that this package's checks do not read: src/generated/**, legacy, **/*_pb.ts. Shared exclusions for all code packages are on the page /norms/code.md.
The package Code: the pragmatic programmer puts this page at
/norms/code/code-pragmatic.md.Source text