@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 +3 -3
- package/dist/catalog.js +6590 -0
- package/dist/chunk-KBGBBVAC.js +35295 -0
- package/dist/index.js +3 -39104
- package/dist/rule-examples.js +117 -262
- package/package.json +27 -57
- package/dist/_docs-d31-QA2S.d.cts +0 -170
- package/dist/_docs-d31-QA2S.d.ts +0 -170
- package/dist/index.cjs +0 -39103
- package/dist/index.d.cts +0 -766
- package/dist/index.d.ts +0 -766
- package/dist/rule-examples.cjs +0 -331
- package/dist/rule-examples.d.cts +0 -15
- package/dist/rule-examples.d.ts +0 -15
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# @sarj/eslint-plugin
|
|
4
4
|
|
|
5
|
-
Custom
|
|
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
|
|
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/
|
|
15
|
+
[Documentation](https://code-standards.sarj.ai/rules/oxlint/) · [Source](https://github.com/sarj-ai/code-standards)
|