Skip to content

Commit

Permalink
Add textlint and its config (OWASP#428)
Browse files Browse the repository at this point in the history
* Add textlint and its config
* Format text
* install node modules with npm ci instead of installing global modules
  • Loading branch information
sotayamashita authored Jul 14, 2020
1 parent d5d852e commit c22bf1d
Show file tree
Hide file tree
Showing 43 changed files with 715 additions and 169 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/md-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
with:
node-version: 12.x
- name: Install dependencies
run: npm install -g markdown-link-check
run: npm install
- name: Run link check
run: npm run-script link-check
run: npm run link-check
- name: Show broken links
if: failure()
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/md_lint_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
with:
node-version: 12.x
- name: Install dependencies
run: npm install -g markdownlint-cli
run: npm install
- name: Run linter
run: npm test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ node_modules/
site/
generated/
.DS_Store
news.xml
news.xml
package-lock.json
yarn.lock
Loading

0 comments on commit c22bf1d

Please sign in to comment.