[chore] Enbled make fix can fix table format (#1699)
Signed-off-by: Guangya Liu <gyliu@ibm.com> Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
This commit is contained in:
parent
30f71c6fe1
commit
0bf234b2c2
10
Makefile
10
Makefile
|
|
@ -172,18 +172,10 @@ table-check:
|
|||
schema-check:
|
||||
$(TOOLS_DIR)/schema_check.sh
|
||||
|
||||
.PHONY: check-format
|
||||
check-format:
|
||||
npm run check:format
|
||||
|
||||
.PHONY: fix-format
|
||||
fix-format:
|
||||
npm run fix:format
|
||||
|
||||
# Run all checks in order of speed / likely failure.
|
||||
# As a last thing, run attribute registry generation and git-diff for differences.
|
||||
.PHONY: check
|
||||
check: misspell markdownlint check-format markdown-toc markdown-link-check check-policies attribute-registry-generation
|
||||
check: misspell markdownlint markdown-toc markdown-link-check check-policies attribute-registry-generation
|
||||
git diff --exit-code ':*.md' || (echo 'Generated markdown Table of Contents is out of date, please run "make markdown-toc" and commit the changes in this PR.' && exit 1)
|
||||
@echo "All checks complete"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue