diff --git a/.tegami/2026-10-30-correctness-errors.md b/.tegami/2026-10-30-correctness-errors.md deleted file mode 100644 index 85e6de8..0000000 --- a/.tegami/2026-10-30-correctness-errors.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -packages: - "npm:oxlint-plugin-solzero": minor ---- - -## Built-in correctness rules are errors - -`recommended` sets Oxlint's `correctness` category to `error`. Oxlint runs that category at -`warn` by default, so findings such as unused imports and React hook issues passed lint as -warnings. They now fail lint in every repository that extends `recommended`. Fix the findings, -or turn a rule off in your own config with a documented reason. diff --git a/.tegami/publish-lock.yaml b/.tegami/publish-lock.yaml index 606cadc..f134a1b 100644 --- a/.tegami/publish-lock.yaml +++ b/.tegami/publish-lock.yaml @@ -1,10 +1,10 @@ core:changelogs: - - content: "---\npackages:\n npm:oxlint-plugin-solzero:\n type: minor\n---\n\n## First release\n\nOne Oxlint package for every SolZero repository. It replaces the `janus-lint` and\n`s0-lint` workspace packages and the `github:dmmulroy/anti-slop` dependency.\n\n- `oxlint-plugin-solzero` is the `solzero` plugin: the Effect composition rules from\n `janus-lint` and `s0-lint`, `use-effect-otel`, and `no-colocated-tests`.\n- `oxlint-plugin-solzero/anti-slop` and `oxlint-plugin-solzero/anti-slop-effect` are\n anti-slop, compiled from the pinned `vendor/anti-slop` submodule.\n- `oxlint-plugin-solzero/config` exports `recommended`, `agentToolIgnorePatterns`, `effectRules()`, and\n `observabilityRules()` for `oxlint.config.ts`.\n\nMigration from `s0-lint`: `no-effect-ladder`, `no-call-tower`, and `no-return-in-callback`\nwere duplicates of `no-nested-effect-call`, `no-effect-call-in-effect-arg`, and\n`no-return-in-arrow` and are removed. `max-file-lines` is replaced by Oxlint's built-in\n`max-lines`. Repository path allowlists moved out of the rules and into each repository's\nconfig overrides.\n" - filename: 2026-10-27-initial-release.md + - content: "---\npackages:\n npm:oxlint-plugin-solzero:\n type: minor\n---\n\n## Built-in correctness rules are errors\n\n`recommended` sets Oxlint's `correctness` category to `error`. Oxlint runs that category at\n`warn` by default, so findings such as unused imports and React hook issues passed lint as\nwarnings. They now fail lint in every repository that extends `recommended`. Fix the findings,\nor turn a rule off in your own config with a documented reason.\n" + filename: 2026-10-30-correctness-errors.md v: 0.0.0 core:packages: - changelogIds: - - 2026-10-27-initial-release.md + - 2026-10-30-correctness-errors.md id: npm:oxlint-plugin-solzero updated: true npm:packages: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5882c5c..ff9c082 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## oxlint-plugin-solzero@0.2.0 + +### Built-in correctness rules are errors + +`recommended` sets Oxlint's `correctness` category to `error`. Oxlint runs that category at +`warn` by default, so findings such as unused imports and React hook issues passed lint as +warnings. They now fail lint in every repository that extends `recommended`. Fix the findings, +or turn a rule off in your own config with a documented reason. + ## oxlint-plugin-solzero@0.1.0 ### First release diff --git a/nub.lock b/nub.lock index 1bf9165..a39cd81 100644 --- a/nub.lock +++ b/nub.lock @@ -10,7 +10,7 @@ importers: dependencies: '@oxlint/plugins': specifier: ^1.89.0 - version: 1.89.0 + version: 1.90.0 devDependencies: '@types/node': specifier: 24.19.2 @@ -288,8 +288,8 @@ packages: cpu: [x64] os: [win32] - '@oxlint/plugins@1.89.0': - resolution: {integrity: sha512-TJBBNl4KIxbxrSk7gsqlz6iM1kxidfyTizEzfWqXvijF2Ou8/Da58GvjemBVmCmaUamwRij+JwsVc0kpBFuqfg==} + '@oxlint/plugins@1.90.0': + resolution: {integrity: sha512-FT0JJDNbj9oobVWHpAzFckHY/bx1ftPjulBx4UCMXqmDUGqVWOkbKe5bj4zdEL+D5Ud7y/RfioLwSvlHBMjI4w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@rainbowatcher/toml-edit-js@0.6.5': @@ -574,8 +574,8 @@ packages: resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} engines: {node: '>=12'} - semver@7.8.5: - resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} + semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} engines: {node: '>=10'} hasBin: true @@ -743,7 +743,7 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.89.0': optional: true - '@oxlint/plugins@1.89.0': {} + '@oxlint/plugins@1.90.0': {} '@rainbowatcher/toml-edit-js@0.6.5': {} @@ -941,7 +941,7 @@ snapshots: picomatch@4.0.7: {} - semver@7.8.5: {} + semver@7.8.6: {} sisteransi@1.0.5: {} @@ -949,7 +949,7 @@ snapshots: dependencies: '@clack/prompts': 1.8.1 '@rainbowatcher/toml-edit-js': 0.6.5 - semver: 7.8.5 + semver: 7.8.6 tinyexec: 1.3.1 tinyglobby: 0.2.17 yaml: 2.9.1 diff --git a/package.json b/package.json index e000065..a6a793f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oxlint-plugin-solzero", - "version": "0.1.0", + "version": "0.2.0", "description": "SolZero Oxlint rules and shared config, with anti-slop bundled.", "keywords": [ "anti-slop",