@timmo001/oxlint-rules 0.3.1 → 0.3.3
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 -21
- 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
|
@@ -57,23 +57,9 @@ replace an existing destination unless `--force` is passed.
|
|
|
57
57
|
|
|
58
58
|
## Rules
|
|
59
59
|
|
|
60
|
-
### `anti-slop`
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- `no-conditional-empty-object-spread`
|
|
64
|
-
- `no-known-value-widening`
|
|
65
|
-
- `no-module-mocking`
|
|
66
|
-
- `no-object-parameters`
|
|
67
|
-
- `no-reflect-apply`
|
|
68
|
-
- `no-reflect-get`
|
|
69
|
-
- `no-runtime-typeof`
|
|
70
|
-
- `no-shape-in-symbol-names`
|
|
71
|
-
- `no-unknown-parameters`
|
|
72
|
-
- `no-unknown-returns`
|
|
73
|
-
- `no-unknown-type-aliases`
|
|
74
|
-
- `no-unsafe-dictionary-type`
|
|
75
|
-
- `no-widen-then-assert`
|
|
76
|
-
- `require-safety-comment-for-type-assertion`
|
|
60
|
+
### `anti-slop` and `anti-slop-effect`
|
|
61
|
+
|
|
62
|
+
See the upstream [rule documentation](https://github.com/dmmulroy/anti-slop#rules).
|
|
77
63
|
|
|
78
64
|
### `timmo`
|
|
79
65
|
|
|
@@ -81,10 +67,6 @@ replace an existing destination unless `--force` is passed.
|
|
|
81
67
|
`target` or `currentTarget`. Express the target type in the function signature
|
|
82
68
|
instead so every use sees the same contract.
|
|
83
69
|
|
|
84
|
-
### `anti-slop-effect`
|
|
85
|
-
|
|
86
|
-
- `no-service-constructor-imports`
|
|
87
|
-
|
|
88
70
|
### `timmo-effect`
|
|
89
71
|
|
|
90
72
|
- `no-try-catch-in-effect-generators`: diagnoses synchronous `try/catch` owned
|
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`.
|