Lint-staged will run linters before the commit. This allows enforcing code style and prevent from errors.