@clipboard-health/oxlint-config 6.0.2 → 6.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -327,8 +327,10 @@ the merge conflicts of exact-count baselines.
327
327
  `max-statements`. Aliases such as `eslint/max-lines` are rejected. JavaScript plugin rules
328
328
  aren't supported yet: `oxlint --print-config` omits their options, so the CLI can't measure
329
329
  them against the configured default.
330
- - Paths are relative to the repository root. For per-function rules such as `complexity`, the
331
- value is the file's largest function value, because Oxlint overrides apply to whole files.
330
+ - Paths are relative to the directory that holds `lint-ceilings.json` and `oxlint.config.ts`: the
331
+ repository root, or the package in a monorepo whose packages each configure Oxlint. For
332
+ per-function rules such as `complexity`, the value is the file's largest function value,
333
+ because Oxlint overrides apply to whole files.
332
334
  - The layout is canonical: rules and paths sorted, a blank line between entries. `init` and
333
335
  `tighten` write it, and `check` fails on any other layout.
334
336
 
@@ -350,7 +352,7 @@ applies the last matching override, so a ceiling listed before a later glob over
350
352
  higher `max-lines` for test files, would be ignored. Each ceiling override also carries the severity and
351
353
  options the file otherwise gets, such as `skipComments`, because an override replaces a rule's
352
354
  options. It skips files where the rule is off, so a ceiling never turns a rule back on. The factory
353
- assumes `oxlint.config.ts` and `lint-ceilings.json` both sit in the repository root.
355
+ assumes `oxlint.config.ts` and `lint-ceilings.json` sit in the same directory.
354
356
 
355
357
  ### Commands
356
358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipboard-health/oxlint-config",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "Shared Oxlint configuration for Clipboard Health repositories.",
5
5
  "keywords": [
6
6
  "config",
@@ -20,7 +20,7 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@clipboard-health/oxlint-plugin": "1.12.3"
23
+ "@clipboard-health/oxlint-plugin": "1.12.4"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "oxlint": ">=1.92.0",