You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-19
Original file line number
Diff line number
Diff line change
@@ -86,13 +86,11 @@ Generated content in a rule doc (everything above the marker comment) (intention
86
86
```md
87
87
# Disallow using foo (`test/no-foo`)
88
88
89
-
✅ This rule is enabled in the `recommended` config.
90
-
91
89
💼 This rule is enabled in the following configs: ✅ `recommended`, 🎨 `stylistic`.
92
90
93
-
🎨<sup>⚠️</sup> This rule _warns_ in the `stylistic` config.
91
+
⚠️ This rule _warns_ in the 🎨 `stylistic` config.
94
92
95
-
🎨<sup>🚫</sup> This rule is _disabled_ in the `stylistic` config.
93
+
🚫 This rule is _disabled_ in the 🎨 `stylistic` config.
96
94
97
95
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
98
96
@@ -131,10 +129,10 @@ Generated rules table in `README.md` (everything between the marker comments) (i
131
129
<!-- begin auto-generated rules list -->
132
130
133
131
💼 Configurations enabled in.\
134
-
✅ Enabled in the `recommended` configuration.\
135
-
✅<sup>⚠️</sup> Warns in the `recommended` configuration.\
136
-
✅<sup>🚫</sup> Disabled in the `recommended` configuration.\
137
-
🎨 Enabled in the `stylistic` configuration.\
132
+
⚠️ Configurations set to warn in.\
133
+
🚫 Configurations disabled in.\
134
+
✅ Set in the `recommended` configuration.\
135
+
🎨 Set in the `stylistic` configuration.\
138
136
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\
139
137
💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).\
140
138
💭 Requires type information.\
@@ -186,7 +184,7 @@ And how it looks:
186
184
|`--rule-doc-section-include`| Required section in each rule doc. Exit with failure if missing. Option can be repeated. |
187
185
|`--rule-doc-section-options`| Whether to require an "Options" or "Config" rule doc section and mention of any named options for rules with options (default: `true`). |
188
186
|`--rule-doc-title-format`| The format to use for rule doc titles. Defaults to `desc-parens-prefix-name`. See choices in below [table](#--rule-doc-title-format). |
189
-
|`--rule-list-columns`| Ordered, comma-separated list of columns to display in rule list. Empty columns will be hidden. Choices: `configs`, `deprecated`, `description`, `fixable`, `hasSuggestions`, `name`, `requiresTypeChecking`, `type` (off by default). Default: `name,description,configs,fixable,hasSuggestions,requiresTypeChecking,deprecated`. |
187
+
|`--rule-list-columns`| Ordered, comma-separated list of columns to display in rule list. Empty columns will be hidden. Choices: `configsError`, `configsOff`, `configsWarn`, `deprecated`, `description`, `fixable`, `hasSuggestions`, `name`, `requiresTypeChecking`, `type` (off by default). Default: `name,description,configsError,configsWarn,configsOff,fixable,hasSuggestions,requiresTypeChecking,deprecated`. |
190
188
|`--split-by`| Rule property to split the rules list by. A separate list and header will be created for each value. Example: `meta.type`. |
191
189
|`--url-configs`| Link to documentation about the ESLint configurations exported by the plugin. |
192
190
@@ -217,16 +215,6 @@ If you have a build step for your code like [Babel](https://babeljs.io/) or [Typ
217
215
}
218
216
```
219
217
220
-
### markdownlint
221
-
222
-
The output of this tool should be compatible with [markdownlint](https://github.com/DavidAnson/markdownlint) which you might use to lint your markdown. However, if any of your ESLint configs disable your rules or set them to warn, you'll need to exempt some elements used for emoji superscripts from [no-inline-html](https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html):
If you use [prettier](https://prettier.io/) to format your markdown, you may need to adjust your scripts to run prettier formatting after running this tool:
0 commit comments