Skip to content

Commit

Permalink
chore: remove unused eslint-disable directive (#18589)
Browse files Browse the repository at this point in the history
* chore: remove unused eslint-disable directive

* remove eslint-disable lines-around-comment
  • Loading branch information
mdjermanovic authored Jun 14, 2024
1 parent 721eafe commit e9f4ccd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/lib/rules/no-misleading-character-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1596,9 +1596,6 @@ ruleTester.run("no-misleading-character-class", rule, {
suggestions: null
}]
},

/* eslint-disable lines-around-comment, internal-rules/multiline-comment-style -- see https://github.com/eslint/eslint/issues/18081 */

{
code: String.raw`
Expand Down Expand Up @@ -1728,6 +1725,7 @@ ruleTester.run("no-misleading-character-class", rule, {
}]
},
{

/*
* In this case the rule can determine the value of `pattern` statically but has no information about the source,
* so it doesn't know that escape sequences were used. This is a limitation with our tools.
Expand All @@ -1736,8 +1734,5 @@ ruleTester.run("no-misleading-character-class", rule, {
options: [{ allowEscape: true }],
errors: [{ messageId: "combiningClass" }]
}

/* eslint-enable lines-around-comment, internal-rules/multiline-comment-style -- re-enable rule */

]
});

0 comments on commit e9f4ccd

Please # to comment.