blue-infinex

Results 5 comments of blue-infinex

I'm currently refactoring a project to use semantic tokens instead of scale values e.g. `text-red-500` → `text-critical`. I think it's a good use case for `blacklist` or similar. @kachkaev Unless...

Ah, okay! The `no-restricted-syntax` approach seems like the way to go. Thanks for the context, and for responding so quickly. I really appreciate it ✨

@ljharb Not sure I follow completely, sorry. The suggested enhancement would be an extension of the existing [rule options](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-autofocus.md#rule-options) e.g. ```diff - ignoreNonDOM: boolean + ignoreNonDOM: boolean | string[] ```...

Yeah sure, another property would work just as well. Though, if that's necessary I've totally misunderstood the intent of the "ignoreNonDOM" option. Could you explain how it differs, or point...

>`"ignoreNonDOM": ["Dialog", "Menu"]` says to me that the only non-DOM components ignored are those two Yes, that's the expected behaviour. Other components e.g. `TextField` using "autoFocus" should still violate the...