@codacy/tools-eslint-9 0.20.0 → 0.21.0
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.
- package/README.md +8 -0
- package/dist/index.js +1406 -1294
- package/dist/metadata.js +0 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -67,6 +67,14 @@ pnpm test # Run tests
|
|
|
67
67
|
latter duplicating `@stylistic/jsx-sort-props`). Measured on an ordinary React login form,
|
|
68
68
|
tag gating produced 15 findings from rules the project had no reason to enable. Same
|
|
69
69
|
reasoning for the Vue SFC custom-block rules under `jsonc`/`yml`.
|
|
70
|
+
|
|
71
|
+
There is **no `webdriverio` key**, even though `plugin-registry.ts` still loads
|
|
72
|
+
`eslint-plugin-wdio` and ESLint 8's mapping still gates on `ESLint8_wdio_`. Codacy dropped the
|
|
73
|
+
wdio ruleset from ESLint 9's catalog, so `ESLint9_wdio_` matches nothing upstream and the key
|
|
74
|
+
was gating patterns that can no longer be selected. `mapping-drift.test.ts` will only catch this
|
|
75
|
+
once `pnpm prefetch` refreshes `patterns.json` — the committed mirror still lists the three
|
|
76
|
+
rules. Do not re-add the key without checking the tool's live pattern list first.
|
|
77
|
+
|
|
70
78
|
- ESLint 9 uses the **flat config** format exclusively. The adapter generates flat config arrays when building from Codacy patterns.
|
|
71
79
|
- Pattern IDs use the same encoding as the codacy-eslint9 wrapper: `_` → `__` then `/` → `_` (encode), reverse for decode. This means `_` in rule names is escaped as `__`.
|
|
72
80
|
- The `blacklist.ts` file contains 30+ rules known to crash ESLint or produce severe false positives, sourced from the codacy-eslint9 wrapper. The `isBlacklisted()` function also checks regex patterns (e.g. `unused-imports/*-ts`).
|