Skip to content

Commit cc3d0fe

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Makefile now check style in JSON files.
1 parent a5e01db commit cc3d0fe

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Makefile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,26 @@ dependencies:
6767
${PACKAGE_TOOL} install -r requirements.txt
6868
@echo "################################################################################"
6969

70+
lint/json:
71+
prettier --check ./src/**/*.json
72+
7073
lint/markdown:
7174
markdownlint '**/*.md' --ignore node_modules && echo '✔ Your code looks good.'
75+
7276
lint/yaml:
7377
yamllint --stric . && echo '✔ Your code looks good.'
7478

75-
lint: lint/markdown lint/yaml test/styling test/static
79+
lint: lint/markdown lint/yaml lint/json test/styling test/static
7680

7781
test/static: dependencies
7882
${RUNTIME_TOOL} -m pylint --verbose --recursive yes src/
7983
${RUNTIME_TOOL} -m flake8 --verbose src/
8084
${RUNTIME_TOOL} -m pyright --verbose src/
8185

82-
83-
test/styling/json: dependencies
84-
prettier --check ./src/**/*.json
85-
86-
test/styling/sources: dependencies
86+
test/styling: dependencies
8787
${RUNTIME_TOOL} -m pycodestyle --statistics src/
8888
${RUNTIME_TOOL} -m autopep8 --diff --recursive --exit-code --verbose .
8989

90-
test/styling: dependencies test/styling/sources test/styling/json
91-
9290
format/json:
9391
prettier --write ./src/**/*.json
9492

0 commit comments

Comments
 (0)