@sarj/eslint-plugin 18.3.0 → 19.0.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 CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  # @sarj/eslint-plugin
4
4
 
5
- Custom ESLint rules for hypermodern TypeScript / React / Next.js projects
5
+ Custom Oxlint rules for hypermodern TypeScript / React / Next.js projects
6
6
 
7
7
  ```bash
8
8
  npm install --save-dev @sarj/eslint-plugin
9
9
  ```
10
10
 
11
- Version 17 requires ESLint 10.13.0 or later. The plugin, rules and flat presets use ESLint's native TypeScript contracts and compose directly with `defineConfig` from `eslint/config`. Use `Linter.Config` and `ESLint.Options` from `eslint` for consumer annotations; legacy `TSESLint.Plugin` and `TSESLint.FlatConfig.Config` annotations are no longer supported. The exported rule names, preset severities and option settings are unchanged.
11
+ Version 19 is an Oxlint JS plugin. Load it as `jsPlugins: [{ name: "@sarj", specifier: "@sarj/eslint-plugin" }]`, or extend the managed `createConfig()` that Standards syncs. Type-aware rules get type information from `tsrs`, a required peer; `settings.sarj.typeAware: false` or `SARJ_TYPE_AWARE=0` runs them untyped. The package no longer ships ESLint rules or presets. Rule names, options and suppression IDs are unchanged.
12
12
 
13
13
  Rules and configuration are documented in the generated rule directory.
14
14
 
15
- [Documentation](https://code-standards.sarj.ai/rules/eslint/) · [Source](https://github.com/sarj-ai/code-standards)
15
+ [Documentation](https://code-standards.sarj.ai/rules/oxlint/) · [Source](https://github.com/sarj-ai/code-standards)