You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the classNames util is the preferred approach.
Success criteria
The linter rule is created that detects the use of the template literal inside of the className prop and show a warning that suggests using classNames utility instead:
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: