eslint-plugin-classnames icon indicating copy to clipboard operation
eslint-plugin-classnames copied to clipboard

Warn and formats long classNames usage in JSX

Results 6 eslint-plugin-classnames issues
Sort by recently updated
recently updated
newest added

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.3.0. Release notes Sourced from eslint's releases. v9.3.0 Features b32153c feat: add overrides.namedExports to func-style rule (#18444) (Percy Ma) b67eba4 feat: add restrictedNamedExportsPattern to no-restricted-exports...

dependencies

Currently I'm not sure this plugin works for projects using flat configs.

It seems that some people wants `classNames()` or `clsx()` only when it has conditional branchings (like ternary expressions), as it's just a pure overhead to always joining classes at runtime....

Here's repro: https://github.com/akhdefault/eslint-classnames-repro/blob/main/pages/index.js#L10

Bumps [eslint](https://github.com/eslint/eslint) and [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint). These dependencies needed to be updated together. Updates `eslint` from 9.7.0 to 9.9.0 Release notes Sourced from eslint's releases. v9.9.0 Features 41d0206 feat: Add support for...

dependencies