ESLint rule to warn about template string usage in the className
prop
#218
Labels
good first issue
Good for newcomers
className
prop
#218
Problem statement
Recently we refactored the main Sourcegraph codebase to be consistent in usage of the classNames utility to create
className
prop in React Components. To prevent usage of the template literal, we need to create an ESLint rule that communicates to a developer that theclassNames
util is the preferred approach.Success criteria
className
prop and show a warning that suggests usingclassNames
utility instead:Things to learn/practice during the implementation
Estimated amount of work
T-shirt size abstract estimate: M.
The text was updated successfully, but these errors were encountered: