eslint-plugin-etc-misc 1.0.6 → 1.0.7
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 +1 -1
- package/dist/rules/words.js +4 -4
- package/dist/rules/words.js.map +1 -1
- package/docs/rules/words.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -251,7 +251,7 @@ Rules are namespaced as `etc-misc/<rule-name>`, for example:
|
|
|
251
251
|
| [`underscore-internal`](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/underscore-internal) | — | [🔴](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all-strict) [🟣](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all) | — | — |
|
|
252
252
|
| [`unused-internal-properties`](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/unused-internal-properties) | — | [🔴](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all-strict) [🟣](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all) | ⚠️ | [`unicorn/no-unused-properties`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unused-properties.md) |
|
|
253
253
|
| [`uppercase-iife`](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/uppercase-iife) | — | [🔴](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all-strict) [🟣](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all) | ⚠️ | [`unicorn/no-unreadable-iife`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md) |
|
|
254
|
-
| [`words`](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/words) | — | [🔴](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all-strict) [🟣](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all) | ⚠️ | [`write-good-comments`](https://github.com/
|
|
254
|
+
| [`words`](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/words) | — | [🔴](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all-strict) [🟣](https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/presets/all) | ⚠️ | [`write-good-comments`](https://github.com/Nick2bad4u/eslint-plugin-write-good-comments-2) |
|
|
255
255
|
|
|
256
256
|
## Documentation
|
|
257
257
|
|
package/dist/rules/words.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import writeGoodCommentsPlugin from "eslint-plugin-write-good-comments";
|
|
1
|
+
import writeGoodCommentsPlugin from "eslint-plugin-write-good-comments-2";
|
|
2
2
|
import { adaptExternalRule, getExternalRuleFromPlugin, } from "../_internal/create-external-rule.js";
|
|
3
3
|
import { createReplacementRuleInfo, withDeprecatedRuleLifecycle, } from "../_internal/rule-deprecation.js";
|
|
4
4
|
/**
|
|
5
5
|
* Proxy of external `write-good-comments/write-good-comments`.
|
|
6
6
|
*/
|
|
7
|
-
const rule = adaptExternalRule(getExternalRuleFromPlugin(writeGoodCommentsPlugin, "write-good-comments", "eslint-plugin-write-good-comments"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/words");
|
|
7
|
+
const rule = adaptExternalRule(getExternalRuleFromPlugin(writeGoodCommentsPlugin, "write-good-comments", "eslint-plugin-write-good-comments-2"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/words");
|
|
8
8
|
/**
|
|
9
9
|
* Wrapper rule with explicit lifecycle metadata and replacement mapping.
|
|
10
10
|
*/
|
|
@@ -14,11 +14,11 @@ const deprecatedRule = withDeprecatedRuleLifecycle(rule, {
|
|
|
14
14
|
createReplacementRuleInfo({
|
|
15
15
|
plugin: {
|
|
16
16
|
name: "write-good-comments",
|
|
17
|
-
url: "https://github.com/
|
|
17
|
+
url: "https://github.com/Nick2bad4u/eslint-plugin-write-good-comments-2",
|
|
18
18
|
},
|
|
19
19
|
rule: {
|
|
20
20
|
name: "write-good-comments",
|
|
21
|
-
url: "https://github.com/
|
|
21
|
+
url: "https://github.com/Nick2bad4u/eslint-plugin-write-good-comments-2",
|
|
22
22
|
},
|
|
23
23
|
}),
|
|
24
24
|
],
|
package/dist/rules/words.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"words.js","sourceRoot":"","sources":["../../src/rules/words.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"words.js","sourceRoot":"","sources":["../../src/rules/words.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EACH,iBAAiB,EACjB,yBAAyB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACH,yBAAyB,EACzB,2BAA2B,GAC9B,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,MAAM,IAAI,GAAyC,iBAAiB,CAChE,yBAAyB,CACrB,uBAAuB,EACvB,qBAAqB,EACrB,qCAAqC,CACxC,EACD,sEAAsE,CACzE,CAAC;AAEF;;GAEG;AACH,MAAM,cAAc,GAAgB,2BAA2B,CAAC,IAAI,EAAE;IAClE,OAAO,EAAE,iEAAiE;IAC1E,UAAU,EAAE;QACR,yBAAyB,CAAC;YACtB,MAAM,EAAE;gBACJ,IAAI,EAAE,qBAAqB;gBAC3B,GAAG,EAAE,mEAAmE;aAC3E;YACD,IAAI,EAAE;gBACF,IAAI,EAAE,qBAAqB;gBAC3B,GAAG,EAAE,mEAAmE;aAC3E;SACJ,CAAC;KACL;IACD,MAAM,EAAE,OAAO;CAClB,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
package/docs/rules/words.md
CHANGED
|
@@ -36,7 +36,7 @@ This rule forwards options and behavior to
|
|
|
36
36
|
- **Lifecycle:** Deprecated and frozen.
|
|
37
37
|
- **Deprecated since:** `v1.0.0`
|
|
38
38
|
- **Available until:** `v2.0.0`
|
|
39
|
-
- **Use instead:** [`write-good-comments/write-good-comments`](https://github.com/
|
|
39
|
+
- **Use instead:** [`write-good-comments/write-good-comments`](https://github.com/Nick2bad4u/eslint-plugin-write-good-comments-2)
|
|
40
40
|
|
|
41
41
|
## Additional examples
|
|
42
42
|
|
|
@@ -75,7 +75,7 @@ Disable this rule if your team does not want prose-quality checks for comments.
|
|
|
75
75
|
|
|
76
76
|
## Further reading
|
|
77
77
|
|
|
78
|
-
- [eslint-plugin-write-good-comments](https://github.com/
|
|
78
|
+
- [eslint-plugin-write-good-comments-2](https://github.com/Nick2bad4u/eslint-plugin-write-good-comments-2)
|
|
79
79
|
|
|
80
80
|
## Adoption resources
|
|
81
81
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
3
|
"name": "eslint-plugin-etc-misc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "ESLint Plugin combining eslint-plugin-etc and eslint-plugin-misc!",
|
|
7
7
|
"keywords": [
|
|
@@ -195,6 +195,7 @@
|
|
|
195
195
|
"@typescript-eslint/type-utils": "^8.58.0",
|
|
196
196
|
"@typescript-eslint/utils": "^8.58.0",
|
|
197
197
|
"debug": "^4.4.3",
|
|
198
|
+
"eslint-plugin-write-good-comments-2": "^1.0.6",
|
|
198
199
|
"eslint-visitor-keys": "^5.0.1",
|
|
199
200
|
"minimatch": "^10.2.5",
|
|
200
201
|
"semver": "^7.7.4",
|
|
@@ -327,7 +328,6 @@
|
|
|
327
328
|
"eslint-plugin-undefined-css-classes": "^0.1.5",
|
|
328
329
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
329
330
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
330
|
-
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
331
331
|
"eslint-plugin-yml": "^3.3.1",
|
|
332
332
|
"fast-check": "^4.6.0",
|
|
333
333
|
"git-cliff": "^2.12.0",
|