@timmo001/oxlint-rules 0.3.1 → 0.3.2
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 +2 -1
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/dist/cli.js +733 -35
- package/dist/configs/recommended-effect.js +767 -69
- package/dist/configs/recommended.js +535 -30
- package/dist/upstream/anti-slop.js +535 -30
- package/dist/upstream/effect.js +196 -3
- package/package.json +1 -1
- package/vendor/anti-slop/src/effect/index.ts +8 -0
- package/vendor/anti-slop/src/effect/rules/no-manual-effect-error-tag.ts +52 -0
- package/vendor/anti-slop/src/effect/rules/no-manual-tag-comparison.ts +45 -0
- package/vendor/anti-slop/src/effect/rules/no-manual-tagged-construction.ts +37 -0
- package/vendor/anti-slop/src/effect/rules/prefer-effect-match.ts +54 -0
- package/vendor/anti-slop/src/effect/shared/tagged-values.ts +97 -0
- package/vendor/anti-slop/src/index.ts +2 -0
- package/vendor/anti-slop/src/rules/no-known-value-widening.ts +2 -14
- package/vendor/anti-slop/src/rules/no-module-mocking.ts +3 -14
- package/vendor/anti-slop/src/rules/require-readable-spacing.ts +47 -0
- package/vendor/anti-slop/src/shared/reflect-method.ts +2 -13
- package/vendor/anti-slop/src/shared/scope.ts +15 -0
- package/vendor/anti-slop/src/vendor/eslint-stylistic/LICENSE +22 -0
- package/vendor/anti-slop/src/vendor/eslint-stylistic/UPSTREAM.md +28 -0
- package/vendor/anti-slop/src/vendor/eslint-stylistic/padding-line-ast.ts +51 -0
- package/vendor/anti-slop/src/vendor/eslint-stylistic/padding-line-between-statements.ts +906 -0
- package/vendor/anti-slop/src/vendor/eslint-stylistic/padding-line-options.d.ts +87 -0
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ replace an existing destination unless `--force` is passed.
|
|
|
73
73
|
- `no-unknown-type-aliases`
|
|
74
74
|
- `no-unsafe-dictionary-type`
|
|
75
75
|
- `no-widen-then-assert`
|
|
76
|
+
- `require-readable-spacing`
|
|
76
77
|
- `require-safety-comment-for-type-assertion`
|
|
77
78
|
|
|
78
79
|
### `timmo`
|
|
@@ -83,7 +84,7 @@ replace an existing destination unless `--force` is passed.
|
|
|
83
84
|
|
|
84
85
|
### `anti-slop-effect`
|
|
85
86
|
|
|
86
|
-
|
|
87
|
+
See the upstream [Effect rules](https://github.com/dmmulroy/anti-slop#effect-rules).
|
|
87
88
|
|
|
88
89
|
### `timmo-effect`
|
|
89
90
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -8,3 +8,12 @@ submodule under `vendor/anti-slop`.
|
|
|
8
8
|
|
|
9
9
|
Copyright (c) Dillon Mulroy. Distributed under the MIT License. The full licence
|
|
10
10
|
is available at `vendor/anti-slop/LICENSE`.
|
|
11
|
+
|
|
12
|
+
## ESLint Stylistic
|
|
13
|
+
|
|
14
|
+
The upstream readable-spacing rule includes code adapted from
|
|
15
|
+
[`ESLint Stylistic`](https://github.com/eslint-stylistic/eslint-stylistic).
|
|
16
|
+
|
|
17
|
+
Distributed under the MIT License, with OpenJS Foundation and ESLint Stylistic
|
|
18
|
+
copyright notices. The full licence is available at
|
|
19
|
+
`vendor/anti-slop/src/vendor/eslint-stylistic/LICENSE`.
|