In addition to prettier I also added lint-staged to the list of dependencies (along with eslint and a bunch of prettier and eslint plugins). Basically what lint-staged does is that it will run before the commit process. By doing so you can ensure no errors go into the repository and enforce code style.
In addition to
prettier
I also added lint-staged to the list of dependencies (along witheslint
and a bunch ofprettier
andeslint
plugins). Basically whatlint-staged
does is that it will run before the commit process. By doing so you can ensure no errors go into the repository and enforce code style.List of commits: