-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gustavo Bezerra
committed
Feb 7, 2022
1 parent
1a925e1
commit 00e2cdd
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# dual-linting | ||
This is POC shows that it's possible to have only one code style on server-side and each developer could have their own code style simultaneously. | ||
|
||
## How? | ||
There are two eslint configuration files: (1) one on the root of the project - the server code style, (2) another one on ./src - each devs code style. | ||
|
||
(1) By using Git Hooks (Husky and Lint-staged), before committing the code will always be linted using this eslint configuration. | ||
(2) is on .gitignore, so that no dev overrides the others configurations. |