Add pre-commit rules #72

Open
opened 2022-12-07 23:46:51 +00:00 by hugo · 2 comments
Owner

Maybe we can add pre-commit at the root to:

Maybe we can add [pre-commit](https://pre-commit.com/) at the root to: - dart format ? - dart analyze ? - sort imports ? (with <https://github.com/fluttercommunity/import_sorter>) - validate depedencies ? (with <https://pub.dev/packages/dependency_validator>) - check commit message ? (with <https://github.com/compilerla/conventional-pre-commit>)
hugo self-assigned this 2022-12-07 23:46:51 +00:00
Author
Owner

Add pre-commit instruction in readme

Add pre-commit instruction in readme
Author
Owner

In my opinion it is only useful to force the conventional commit. The analyzer/linter should not be forced in dev, and could even be a task to be checked by ci/cd for example.

In any case, pre-commit is a tool that everyone has the choice to activate or not on their machine. We only share some config.

In my opinion it is only useful to force the conventional commit. The analyzer/linter should not be forced in dev, and could even be a task to be checked by ci/cd for example. In any case, pre-commit is a tool that everyone has the choice to activate or **not** on their machine. We only share some config.
hugo added the
priority
low
config
documentation
proposal
labels 2023-04-07 12:02:58 +00:00
hugo changed title from Proposal(packages): add pre-commit rules to Add pre-commit rules 2023-04-07 12:16:42 +00:00
hugo added the
package
all
label 2023-04-07 12:18:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Wyatt-FOSS/wyatt-packages#72
No description provided.