-
Notifications
You must be signed in to change notification settings - Fork 0
Add Vale for linting prose
#67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| !.github/styles/config/ | ||
| !.github/styles/config/vocabularies/ | ||
| !.github/styles/config/vocabularies/Base | ||
| .github/styles/* | ||
| .github/styles/config/* | ||
| .github/styles/config/vocabularies/* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| StylesPath = .github/styles | ||
|
|
||
| # https://github.com/errata-ai/packages | ||
| Packages = proselint,\ | ||
| write-good | ||
|
|
||
| [formats] | ||
| twee = md | ||
|
Comment on lines
+7
to
+8
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not really sure what is best to do here. Vale has a section in the docs of file formats https://vale.sh/docs/formats/front-matter, we don't even need to have one (although some features won't work if we don't). Ideally |
||
|
|
||
| [*.{md,twee}] | ||
| BasedOnStyles = proselint,\ | ||
| Vale,\ | ||
| write-good | ||
|
|
||
| # Disable | ||
| Vale.Spelling = NO | ||
| write-good.E-Prime = NO | ||
| write-good.Passive = NO | ||
| write-good.TooWordy = NO | ||
|
|
||
| # Ignore lines starting with GitHub alerts syntax | ||
| BlockIgnores = (?s)> \[!(CAUTION|IMPORTANT|NOTE|TIP|WARNING)\](\n|$) | ||
|
|
||
| # `vale sync` in CI means the packages are then linted, so turn them off | ||
| [.github/styles/**] | ||
| BasedOnStyles = | ||
|
|
||
| # Don't modify generated files | ||
| [**/{CODE_OF_CONDUCT,LICENSE}*] | ||
| BasedOnStyles = | ||
|
paddyroddy marked this conversation as resolved.
paddyroddy marked this conversation as resolved.
paddyroddy marked this conversation as resolved.
paddyroddy marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -124,7 +124,7 @@ Is your data media files? (Video, pictures, PDFs, specialised formats like nifti | |
|
|
||
| :: network-yes {"position":"1050,1050","size":"100,100"} | ||
| The wizard calls his familiar, a large fuzzy spider. It hands you a magical spider web which speeds up the process of cataloguing the spells. | ||
|
|
||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. VSCode didn't like this line ending |
||
| Consider using a <a href="https://en.wikipedia.org/wiki/Graph_database">Graph database</a>. | ||
|
|
||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.