Closed louvrecly closed 11 months ago
eslint
prettier
eslint-config-prettier
consistent-type-imports
.eslintrc
package.json
yarn prettier . --write
yarn install
yarn eslint
⚠️ The last commit consists of multiple file formatting. It can be skipped when reviewing this PR.
Reviewed. Ready to merge.
Descriptions
eslint
) and formatter's (prettier
) configurations byeslint-config-prettier
Related
eslint-config-prettier
- InstallationStories
prettier
andeslint-config-prettier
as dev dependencieseslint-config-prettier
and addconsistent-type-imports
rule config in.eslintrc
.eslintrc
eslint
script inpackage.json
yarn prettier . --write
commandScreenshots
How To Test
yarn install
to update all dependencies in local.yarn prettier . --write
command at the root directory in local.prettier
.yarn eslint
script at the root directory in local.eslint
as all formatted files should already comply to the linter's config undereslint
.Notes
⚠️ The last commit consists of multiple file formatting. It can be skipped when reviewing this PR.