This commit is contained in:
@@ -79,5 +79,24 @@ overrides: projectOverrides,
|
||||
`project/prefer-ascii` in `projectOverrides`: posted Gitea text shows emoji
|
||||
verdict marks and a middle dot.
|
||||
|
||||
## Rule decisions (2026-10-20, all repos)
|
||||
|
||||
- `unicorn/number-literal-case` is off: Oxfmt lowercases hex digits back.
|
||||
- `typescript/consistent-return` is off too: it misfires on complete
|
||||
switches, like `consistent-return`.
|
||||
- On with defaults, no offs: `prefer-object-spread`, `unicorn/prefer-spread`,
|
||||
`unicorn/no-useless-spread`, `typescript/no-misused-spread`, `no-plusplus`
|
||||
(`x += 1`), `unicorn/no-array-method-this-argument`,
|
||||
`typescript/method-signature-style` ("property"),
|
||||
`typescript/unified-signatures`.
|
||||
- `unicorn/import-style` uses its default: `import nodePath from "node:path"`
|
||||
and `nodePath.join(...)` (`nodePath`, since `path` is a common variable).
|
||||
- `no-template-curly-in-string` is on; only `tests/workflow.test.ts`, which
|
||||
checks literal Gitea `${{ }}` expressions, is exempt in `projectOverrides`.
|
||||
- Rule defaults are preferred over option tweaks unless a tweak is needed.
|
||||
- `fmt` matches `deno fmt`: `printWidth: 80`, `quoteProps: "preserve"`,
|
||||
`embeddedLanguageFormatting: "off"`. `max-lines-per-function` is 124 after
|
||||
the narrower width.
|
||||
|
||||
A new category hit is fixed in the code; an off or exception is added only
|
||||
for a real collision or churn, with its reason. Rules: [[project-lint-plugin]].
|
||||
|
||||
Reference in New Issue
Block a user