Browse Source

feat: update vale config

friedger-patch-1
Alexander Graebe 4 years ago
committed by Alexander Graebe
parent
commit
d406200e20
  1. 3
      .gitignore
  2. 14
      .vale/vale.ini
  3. 2
      package.json

3
.gitignore

@ -43,3 +43,6 @@ yarn-error.log*
.yalc
yalc.lock
.cache
# vale
.vale/check.json

14
.vale/vale.ini

@ -1,19 +1,9 @@
# Core settings appear at the top
# (the "global" section).
StylesPath = styles
MinAlertLevel = suggestion
Vocab = docs
[formats]
# Format associations appear under
# the optional "formats" section.
[md]
BasedOnStyles = Google
mdx = md
[*]
# Format-specific settings appear
# under a user-provided "glob"
# pattern.
BasedOnStyles = Google

2
package.json

@ -129,7 +129,7 @@
"typecheck": "tsc --noEmit",
"typecheck:watch": "npm run typecheck -- --watch",
"check:urls": "find . -type f -name '*.md' ! -path './node_modules/*' ! -path './_site/*' | xargs -L1 npx markdown-link-check -q -c mlc_config.json",
"check:style": "vale --sort --config='.vale/vale.ini' --glob='*.{md}' ./src/pages"
"check:style": "vale --no-exit --output=JSON --glob='*.{md}' --config='.vale/vale.ini' ./src/pages > .vale/check.json"
},
"husky": {
"hooks": {

Loading…
Cancel
Save