File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ default : lint
2
+
3
+ # List available targets
4
+ help :
5
+ @echo " Available targets:"
6
+ @echo " default - Run lint"
7
+ @echo " lint - Run all lints"
8
+ @echo " lint-spacing-and-indentation - Lint spacing and indentation conventions"
9
+ @echo " lint-commit-messages - Lint commit message conventions"
10
+ @echo " help - Show this help message"
11
+
12
+ lint : lint-spacing-and-indentation lint-commit-messages
13
+
14
+ # Lint spacing and indentation conventions defined in
15
+ # the .editorconfig file.
16
+ lint-spacing-and-indentation :
17
+ eclint
18
+
19
+ # Lint commit message conventions defined in
20
+ # the ./tools/commitlint/commitlint.config.js file.
21
+ lint-commit-messages :
22
+ commitlint --edit --config ./tools/commitlint/commitlint.config.js
23
+
24
+ .PHONY : default help lint lint-spacing-and-indentation lint-commit-messages
You can’t perform that action at this time.
0 commit comments