oxc icon indicating copy to clipboard operation
oxc copied to clipboard

feat(linter): eslint/no-misleading-character-class

Open DonIsaac opened this issue 1 year ago • 4 comments

Implement ESLint's no-misleading-character-class rule.

To get started, run

just new-rule no-misleading-character-class

DonIsaac avatar Jul 25 '23 23:07 DonIsaac

I assume this depends on #611 / #1164 so can't be tackled yet?

maurice avatar Jan 12 '24 15:01 maurice

I assume this depends on #611 / #1164 so can't be tackled yet?

Seems so. You can always look at the source, e.g.

https://github.com/eslint/eslint/blob/1bf2520c4166aa55596417bf44c567555bc65fba/lib/rules/no-misleading-character-class.js#L7

Boshen avatar Jan 12 '24 15:01 Boshen

Closing issue for house keeping, the umbrella issue is used for tracking individual rules.

Boshen avatar Jun 21 '24 14:06 Boshen

By looking at https://github.com/eslint/eslint/blob/main/lib/rules/no-misleading-character-class.js ... are we able to implement this @leaysgur? We may need to mark this as not supported :-/

Boshen avatar Oct 28 '24 15:10 Boshen