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
Lintstaged is installed, but its functionality is not used to its full extent. Husky is linting and formatting every file, but the expected behavior should be that only the changed files should be linted and formatted.
Expected outcome
Commits shouldn't require linting and formatting all the files.
Proposed solution
Change the config file, specify which files need to be linted and formatted, and then use git hook (husky) to lint only staged files, use lintstaged as the library is already installed.
The text was updated successfully, but these errors were encountered:
Description
Lintstaged is installed, but its functionality is not used to its full extent. Husky is linting and formatting every file, but the expected behavior should be that only the changed files should be linted and formatted.
Expected outcome
Commits shouldn't require linting and formatting all the files.
Proposed solution
Change the config file, specify which files need to be
linted
andformatted
, and then use git hook (husky) to lint only staged files, uselintstaged
as the library is already installed.The text was updated successfully, but these errors were encountered: