-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood first issueGood for newcomers; welcome aboard!Good for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨
Description
🚀 Feature Request
As mentioned in the issue:
typescript-eslint/typescript-eslint#600
The eslint rule spaced-comment does not support reference types syntax, example:
/// <reference types="./global" />
Will be converted into:
// / <reference types="./global" />
A configuration in the eslint can fix this:
/* eslint spaced-comment: ["error", "always", { "markers": ["/"] }] */
However this config is not set by default when converted from tslint-to-eslint-config
Existing Behavior
Below rule is generated during conversion:
"spaced-comment": "error",
Change Proposal
Below rule should be generated during conversion:
"spaced-comment": [
"error",
"always",
{
"markers": ["/"]
}
],
JoshuaKGoldberg, adidahiya and ranyitz
Metadata
Metadata
Assignees
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood first issueGood for newcomers; welcome aboard!Good for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨