@sarj/eslint-plugin 9.14.0 → 9.16.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/index.cjs +1562 -1032
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +1546 -1016
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,10 +23,10 @@ pnpm add -D @sarj/eslint-plugin
|
|
|
23
23
|
```js
|
|
24
24
|
// eslint.config.mjs
|
|
25
25
|
import sarj from "@sarj/eslint-plugin";
|
|
26
|
-
export default [
|
|
26
|
+
export default [sarj.configs.recommended];
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
67 rules. Each source under `src/rules/` states one concise claim and links to
|
|
30
30
|
its paired tests. The definition and named test cases are the complete rule
|
|
31
31
|
specification, and `meta.docs.url` points directly to those executable examples.
|
|
32
32
|
|
|
@@ -308,7 +308,7 @@ declared stateless.
|
|
|
308
308
|
import sarj from "@sarj/eslint-plugin";
|
|
309
309
|
|
|
310
310
|
export default [
|
|
311
|
-
|
|
311
|
+
sarj.configs.strict,
|
|
312
312
|
{
|
|
313
313
|
rules: {
|
|
314
314
|
// This repo keeps its HTTP layer in `lib/api/`, not `clients/`.
|