Skip to content

Commit 99f6f47

Browse files
committed
Add name to the rule declaration.
1 parent b291b61 commit 99f6f47

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

migration/__snapshots__/index.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports[`Migration > should consist of one rule being the major version of the p
1717
"schema": [],
1818
"type": "problem",
1919
},
20+
"name": "v25",
2021
},
2122
},
2223
}

migration/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const listen = <
4242
const ruleName = `v${process.env.TSDOWN_VERSION!.split(".")[0]}`;
4343

4444
const theRule = ESLintUtils.RuleCreator.withoutDocs({
45+
name: ruleName,
4546
meta: {
4647
type: "problem",
4748
fixable: "code",

0 commit comments

Comments
 (0)