Преглед на файлове

Remove markdown-lint-checker from Circle CI lint workflow (there are some bugs in the checker)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao преди 5 години
родител
ревизия
d2d1313e26
променени са 1 файла, в които са добавени 13 реда и са изтрити 13 реда
  1. +13
    -13
      .circleci/config.yml

+ 13
- 13
.circleci/config.yml Целия файл

@@ -23,19 +23,19 @@ jobs:
name: use markdownlint v0.5.0 to lint markdown file (https://github.com/markdownlint/markdownlint)
command: |
find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD024,~MD029,~MD033,~MD036
- run:
name: use markdown-link-check(https://github.com/tcort/markdown-link-check) to check links in markdown files
command: |
set +e
for name in $(find . -name \*.md | grep -v vendor | grep -v CHANGELOG); do
if [ -f $name ]; then
markdown-link-check -q $name;
if [ $? -ne 0 ]; then
code=1
fi
fi
done
bash -c "exit $code";
# - run:
# name: use markdown-link-check(https://github.com/tcort/markdown-link-check) to check links in markdown files
# command: |
# set +e
# for name in $(find . -name \*.md | grep -v vendor | grep -v CHANGELOG); do
# if [ -f $name ]; then
# markdown-link-check -q $name;
# if [ $? -ne 0 ]; then
# code=1
# fi
# fi
# done
# bash -c "exit $code";
- run:
name: use opensource tool client9/misspell to correct commonly misspelled English words
command: |


Loading…
Отказ
Запис