mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: initial upload of styles used by doc linter (#46897)
Add the configuration and style files to support documentation linting. The `README.md` file includes instructions for installation and use of the lint tool. PR Close #46897
This commit is contained in:
parent
3ca985269d
commit
bfddfe5622
108 changed files with 86022 additions and 0 deletions
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
|
|
@ -11,5 +11,6 @@
|
|||
// The following extensions are useful when working on angular.io (i.e. inside the `aio/` directory).
|
||||
//"angular.ng-template",
|
||||
//"dbaeumer.vscode-eslint",
|
||||
//"errata-ai.vale-server",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
304
aio/tools/doc-linter/README.md
Normal file
304
aio/tools/doc-linter/README.md
Normal file
|
|
@ -0,0 +1,304 @@
|
|||
# Angular documentation lint tool
|
||||
|
||||
The files in this directory support the [Vale][ValeMain] documentation lint tool for use while you edit [angular.io][AioMain] documentation files.
|
||||
|
||||
*Linting* is an automated process that lint tools, or *linters*, perform to identify stylistic errors in program source code.
|
||||
Vale is a lint tool that performs a similar analysis of documentation source code.
|
||||
For more information about lint tools, linting, and their history, see [*Lint* in Wikipedia][WikipediaWikiLintSoftware].
|
||||
|
||||
## Use Vale to lint your documentation
|
||||
|
||||
[Vale][ValeMain] is an open source, command-line tool that reviews writing style and phrases in your documentation.
|
||||
You can add it to your integrated development environment \(IDE\) or code editor to test your documentation edits before you submit your pull request.
|
||||
Using it can help improve the documentation's readability and the consistency of terminology and voice across a range of topics and contributors.
|
||||
|
||||
The lint tool is helpful and has been tailored to the Angular documentation style guide.
|
||||
Unfortunately, it is not as powerful as the grammar and spelling features you find in contemporary document editors.
|
||||
While Vale helps, it doesn't replace the reviewers that you're currently using to help you write great documentation.
|
||||
|
||||
**To use Vale in your documentation:**
|
||||
|
||||
1. [Install Vale][AioToolsDocLinterReadmeInstallValeInYourVsCodeIde] in your Visual Studio Code IDE.
|
||||
To install and use Vale in a different IDE, see [Installation][ValeDocsValeCliInstallation].
|
||||
2. Fix the problems that Vale identifies in your IDE.
|
||||
|
||||
Log any problem you encounter with the documentation linter as a [new docs issue][GithubAngularAngularIssuesNewAssigneesLabelsTemplate3DocsBugYaml] in the repo.
|
||||
Be sure to specify that this is a linter issue in your description.
|
||||
|
||||
## Fix documentation problems identified by Vale
|
||||
|
||||
Vale evaluates a markdown \(`.md`\) file when you open it in the IDE and each time you save it. Vale does not review your document as you make changes in it.
|
||||
|
||||
When Vale identifies a problem, it can take a simple word substitution or rewriting several sentences or paragraphs to fix it.
|
||||
Sometimes, you might need to take a step back from the text and consider other alternatives.
|
||||
|
||||
To find the best way to fix a problem that Vale identified, think of your reader, be flexible, and keep an open mind.
|
||||
The documentation should be understood by a range of readers, some of whom might not have much experience with Angular or even web development.
|
||||
|
||||
> **Note**
|
||||
> Remember that when a developer is reading documentation, they are often doing so while thinking about other things, such as coding their Angular application.
|
||||
> Keeping the docs easy to read, helps developers concentrate on their coding.
|
||||
|
||||
These are some tips to help you resolve the issues that the lint tool identifies and to help you make your docs easier to read.
|
||||
|
||||
### Refer to the style guides
|
||||
|
||||
The lint tool tests against the styles found in these style guides.
|
||||
Most style tests include links to relevant sections in these documents for more information.
|
||||
|
||||
* [Angular documentation style guide][AioGuideDocsStyleGuide]
|
||||
* [Google Developer Documentation Style Guide][GoogleDevelopersStyle]
|
||||
|
||||
> **Note**
|
||||
> Not every style mentioned in the style guides has a test.
|
||||
> Style guides and the style tests can change.
|
||||
|
||||
### Split up long sentences
|
||||
|
||||
Generally, shorter sentences are easier to read than longer ones.
|
||||
Long sentences can occur when you try to say too much at once.
|
||||
Long sentences, as well as the use of parentheses, semi-colons, or words identified as *too-wordy*, generally require rethinking and rewriting.
|
||||
Consider restructuring a long sentence to break its individual ideas into distinct sentences or bullet points.
|
||||
|
||||
### Use lists and tables
|
||||
|
||||
Sentences that contain comma-separated lists might be clearer if presented as a bulleted-list or table.
|
||||
Consider changing a comma-separated list of items in a sentence to a list of bullets to make those list items easier to read.
|
||||
|
||||
### Use more common words
|
||||
|
||||
Shorter, more common words are generally easier to read than longer ones.
|
||||
This does not mean you need to write down to the audience. Technical docs should still be precise.
|
||||
Angular docs are read by many people around the world and should use language that the most people can understand.
|
||||
|
||||
If you think a specific term is required even though it is been flagged as uncommon, try to include a short explanation of the term.
|
||||
Also, try adding some context around its first mention.
|
||||
Linking a term to another section or definition is also an option, but consider the disruption that causes to the reader before you use it.
|
||||
If you force a reader to go to another page for a definition, they might lose their concentration on the current topic and their primary goal.
|
||||
|
||||
### Use fewer words
|
||||
|
||||
If you can remove a word and not lose the meaning of the sentence, leave it out.
|
||||
|
||||
One common place where removing words can help is in a list of examples with more than two or three items.
|
||||
Before you place the items in a bullet list, consider if only one of the items can convey the desired meaning.
|
||||
Another option might be to replace a list of items with a single term that describes all the elements in your list.
|
||||
|
||||
### If all else fails
|
||||
|
||||
The style rules generally guide you in the direction of clearer content, but sometimes you might need to break the rules.
|
||||
If you decide that the best choice for the text conflicts with the linter, mark the text as an exception to linting.
|
||||
|
||||
If you use these exceptions, please limit the amount of text that you exclude from analysis to the fewest lines possible.
|
||||
|
||||
When necessary, you can apply these exceptions to your content.
|
||||
|
||||
1. **General exception**
|
||||
|
||||
A *general exception* allows you to exclude the specified text from all lint testing.
|
||||
|
||||
To apply a general exception, surround the text that you do not want the linter to test with the HTML
|
||||
`comment` elements shown in this example.
|
||||
|
||||
```markdown
|
||||
|
||||
<!-- vale off -->
|
||||
|
||||
Text the linter does not check for any style problem.
|
||||
|
||||
<!-- vale on -->
|
||||
|
||||
```
|
||||
|
||||
Be sure to leave a blank line before and after each comment.
|
||||
|
||||
2. **Style exception**
|
||||
|
||||
A *style exception* allows you to exclude text from an individual style test.
|
||||
|
||||
To apply a style exception, surround the text that you do not want the linter to test with these HTML
|
||||
`comment` elements. Between these comments, the linter ignores the style test in the comment, but
|
||||
still tests for all other styles that are in use.
|
||||
|
||||
```markdown
|
||||
<!-- vale Style.Rule = NO -->
|
||||
<!-- vale Style.Rule = YES -->
|
||||
```
|
||||
|
||||
Replace `Style.Rule` in the comments with the style and rule from the problem message displayed in the IDE.
|
||||
For example, imagine that you got this problem message and you want to use the word it identified as a problem.
|
||||
|
||||
```markdown
|
||||
Did you really mean 'inlines'? It was not found in our dictionary. Vale(Angular.Angular_Spelling) [Ln 24, Col 59]
|
||||
```
|
||||
|
||||
The `Style.Rule` for this message is the text inside the parentheses: `Angular.Angular_Spelling` in this case.
|
||||
To turn off that style test, use the comments shown in this example.
|
||||
|
||||
```markdown
|
||||
|
||||
<!-- vale Angular.Angular_Spelling = NO -->
|
||||
|
||||
'inlines' does not display a problem because the linter does not spell check this text.
|
||||
|
||||
Remember that the linter does not catch any other spelling errors in this block of text.
|
||||
|
||||
The linter continues to test all other style rules.
|
||||
|
||||
<!-- vale Angular.Angular_Spelling = YES -->
|
||||
|
||||
```
|
||||
|
||||
## Install Vale on your development system
|
||||
|
||||
Complete these procedures to install the Vale documentation linter on your development system.
|
||||
|
||||
Vale can be installed on Windows, macOS, and Linux, and it can be integrated into many IDEs.
|
||||
The instructions for installing it into Visual Studio Code on Windows and macOS are summarized here.
|
||||
For more information, or to install Vale in another IDE or on another operating system, see [Vale installation documentation][ValeDocsValeCliInstallation].
|
||||
|
||||
### Prerequisites
|
||||
|
||||
Before you proceed, make sure that:
|
||||
|
||||
1. You have cloned the [`angular/angular` repo][GithubAngularAngular] on your system. You can work in a fork of the `angular/angular` repo,
|
||||
but it's easier if your Vale installation uses an up-to-date clone of the `angular/angular` repo.
|
||||
2. You have a development or writing environment for `angular.io` in the `angular/angular` repo and you can build the `angular.io` docs.
|
||||
For information about how to create the authoring environment for `angular.io`, see [Angular documentation project][GithubAngularAngularTreeMainAioAngularDocumentationProjectHttpsangulario].
|
||||
3. You have the required package manager installed on your system. If not, install it before continuing.
|
||||
* [homebrew][BrewMain] on your macOS system.
|
||||
* [chocolatey][Chocolatey] on your Windows system.
|
||||
|
||||
### Install the Vale command-line tool
|
||||
|
||||
Open the following tools on your development system.
|
||||
|
||||
1. Open a command-line tool:
|
||||
* `terminal` on macOS, for example
|
||||
* `Windows PowerShell` on Windows
|
||||
2. Open Visual Studio Code.
|
||||
|
||||
Follow the instructions for the OS on your development system.
|
||||
To install Vale on a different OS, see [Installation][ValeDocsValeCliInstallation].
|
||||
|
||||
#### Install Vale on macOS
|
||||
|
||||
In your command-line tool:
|
||||
|
||||
<!-- vale Angular.WriteGood_Illusions = NO -->
|
||||
<!-- vale Angular.Angular_CliReference = NO -->
|
||||
|
||||
1. Run `brew install vale` to install Vale.
|
||||
2. Get the path to the `vale` application to use as the value of the **Vale > Vale CLI : Path** setting.
|
||||
1. In the command-line tool, run `which vale`.
|
||||
Save the returned path for use in the next procedure.
|
||||
|
||||
2. If this command does not return a path, restart macOS and repeat this step.
|
||||
3. Get the path to the configuration file, `vale.ini`, to use in the **Vale > Vale CLI : Config** setting.
|
||||
1. In the command-line tool, navigate to your `git` working directory with the `angular/angular` repo.
|
||||
2. Run `git pull` to update the repo.
|
||||
3. In your clone of the `angular/angular` repo, navigate to the `aio/tools/doc-linter` directory.
|
||||
4. In the `aio/tools/doc-linter` directory, confirm that you have the `vale.ini` file.
|
||||
5. Run `pwd` to get the full path to `vale.ini` to use in the next procedure.
|
||||
|
||||
<!-- vale Angular.Angular_CliReference = YES -->
|
||||
<!-- vale Angular.WriteGood_Illusions = YES -->
|
||||
|
||||
#### Install Vale on Windows
|
||||
|
||||
In your command-line tool:
|
||||
|
||||
<!-- vale Angular.WriteGood_Illusions = NO -->
|
||||
<!-- vale Angular.Angular_CliReference = NO -->
|
||||
|
||||
1. Run `choco install vale` to install Vale.
|
||||
2. Get the path to the `vale` application to use as the value of the **Vale > Vale CLI : Path** setting.
|
||||
1. In the command-line tool, run `where vale.exe`.
|
||||
Save the returned path for use in the next procedure.
|
||||
|
||||
2. If this command does not return a path, restart Windows and repeat this step.
|
||||
3. Get the path to the configuration file, `vale.ini`, to use in the **Vale > Vale CLI : Config** setting.
|
||||
1. In the command-line tool, navigate to your `git` working directory with the `angular/angular` repo.
|
||||
2. Run `git pull` to update the repo.
|
||||
3. In your clone of the `angular/angular` repo, navigate to the `aio\tools\doc-linter` directory.
|
||||
4. In the `aio\tools\doc-linter` directory, confirm that you have the `vale.ini` file.
|
||||
5. Run `cd` to get the full path to `vale.ini` to use in the next procedure.
|
||||
|
||||
<!-- vale Angular.Angular_CliReference = YES -->
|
||||
<!-- vale Angular.WriteGood_Illusions = YES -->
|
||||
|
||||
### Install the Vale extension for Visual Studio Code
|
||||
|
||||
This procedure is the same for macOS and Windows.
|
||||
To install Vale in a different IDE, see [Installation][ValeDocsValeCliInstallation].
|
||||
|
||||
<!-- vale Angular.WriteGood_Illusions = NO -->
|
||||
<!-- vale Angular.Angular_CliReference = NO -->
|
||||
|
||||
**To install and configure the Visual Studio Code Vale extension:**
|
||||
|
||||
1. In Visual Studio Code, go to the **Extensions** pane.
|
||||
2. In the Visual Studio Code **Extensions** pane:
|
||||
1. In the search box, enter `Vale`.
|
||||
2. In the Vale extension entry, choose, **Install**.
|
||||
3. Access the settings in Visual Studio Code for the Vale extension.
|
||||
* On macOS, in the **Code** menu, choose **Preferences**, and then choose **Settings**.
|
||||
* On Windows, in the **File** menu, choose **Preferences**, and then choose **Settings**.
|
||||
4. In the **User** settings, navigate to **Extensions > Vale**.
|
||||
5. Update the Vale extension settings as shown.
|
||||
* **Vale > Core : Use CLI**, checked.
|
||||
* **Vale > Server : Lint Context**, `0`.
|
||||
* **Vale > Server : Provide Fixes**, unchecked.
|
||||
* **Vale > Server : Server URL**, leave empty.
|
||||
* **Vale > Vale CLI : Config**, enter the full path to `vale.ini` from the preceding procedure and append the `vale.ini` filename.
|
||||
* **Vale > Vale CLI : Min Alert Level**, choose `inherited` or `suggestion`.
|
||||
* **Vale > Vale CLI : Path**, enter the full path of the `vale` application that `which vale` or `where vale.exe` returned in a preceding step.
|
||||
6. Restart Visual Studio Code to apply the new settings.
|
||||
|
||||
<!-- vale Angular.Angular_CliReference = YES -->
|
||||
<!-- vale Angular.WriteGood_Illusions = YES -->
|
||||
|
||||
## Update the Vale command-line tool
|
||||
|
||||
* To update Vale on macOS to the latest version, in your command-line tool, run `brew upgrade vale`.
|
||||
|
||||
* To update Vale on Windows to the latest version, in a PowerShell window, run `choco update vale`.
|
||||
|
||||
## Update the Vale style tests
|
||||
|
||||
The style tests are stored in your local clone of the [`angular/angular` repo][GithubAngularAngular] and
|
||||
are updated automatically when you pull the latest code to your system.
|
||||
If you're using another branch or fork of the `angular/angular` repo, be sure to also update that branch or fork.
|
||||
|
||||
<!-- links -->
|
||||
|
||||
[AioGuideDocsStyleGuide]: https://angular.io/guide/docs-style-guide "Angular documentation style guide | Angular"
|
||||
|
||||
[AioMain]: https://angular.io "Angular"
|
||||
|
||||
[AioToolsDocLinterReadmeInstallValeInYourVsCodeIde]: #install-vale-on-your-development-system "Install Vale | "
|
||||
|
||||
<!-- external links -->
|
||||
|
||||
[BrewMain]: https://brew.sh "homebrew"
|
||||
|
||||
[Chocolatey]: https://chocolatey.org/ "Chocolatey"
|
||||
|
||||
[GithubAngularAngular]: https://github.com/angular/angular "angular/angular | GitHub"
|
||||
|
||||
[GithubAngularAngularIssuesNewAssigneesLabelsTemplate3DocsBugYaml]: https://github.com/angular/angular/issues/new?assignees=&labels=&template=3-docs-bug.yaml "Issue: Docs or angular.io Bug Report | angular/angular | GitHub"
|
||||
|
||||
[GithubAngularAngularTreeMainAioAngularDocumentationProjectHttpsangulario]: https://github.com/angular/angular/tree/main/aio#angular-documentation-project-httpsangulario "Angular documentation project [AioMain] | angular/angular/aio | GitHub"
|
||||
|
||||
[GoogleDevelopersStyle]: https://developers.google.com/style "About this guide | Google developer documentation style guide | Google Developers"
|
||||
|
||||
[ValeDocsValeCliInstallation]: https://vale.sh/docs/vale-cli/installation "Installation | Vale.sh"
|
||||
|
||||
[ValeMain]: https://vale.sh "Vale.sh"
|
||||
|
||||
[WikipediaWikiLintSoftware]: https://en.wikipedia.org/wiki/Lint_%28software%29 "Lint (software) | Wikipedia"
|
||||
|
||||
<!-- end links -->
|
||||
|
||||
<!-- @reviewed 2022-07-15 -->
|
||||
|
||||
205
aio/tools/doc-linter/dictionaries/en_us/en_US-web.aff
Normal file
205
aio/tools/doc-linter/dictionaries/en_us/en_US-web.aff
Normal file
|
|
@ -0,0 +1,205 @@
|
|||
SET UTF-8
|
||||
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
||||
ICONV 1
|
||||
ICONV ’ '
|
||||
NOSUGGEST !
|
||||
|
||||
# ordinal numbers
|
||||
COMPOUNDMIN 1
|
||||
# only in compounds: 1th, 2th, 3th
|
||||
ONLYINCOMPOUND c
|
||||
# compound rules:
|
||||
# 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
||||
# 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
||||
COMPOUNDRULE 2
|
||||
COMPOUNDRULE n*1t
|
||||
COMPOUNDRULE n*mp
|
||||
WORDCHARS 0123456789
|
||||
|
||||
PFX A Y 1
|
||||
PFX A 0 re .
|
||||
|
||||
PFX I Y 1
|
||||
PFX I 0 in .
|
||||
|
||||
PFX U Y 1
|
||||
PFX U 0 un .
|
||||
|
||||
PFX C Y 1
|
||||
PFX C 0 de .
|
||||
|
||||
PFX E Y 1
|
||||
PFX E 0 dis .
|
||||
|
||||
PFX F Y 1
|
||||
PFX F 0 con .
|
||||
|
||||
PFX K Y 1
|
||||
PFX K 0 pro .
|
||||
|
||||
SFX V N 2
|
||||
SFX V e ive e
|
||||
SFX V 0 ive [^e]
|
||||
|
||||
SFX N Y 3
|
||||
SFX N e ion e
|
||||
SFX N y ication y
|
||||
SFX N 0 en [^ey]
|
||||
|
||||
SFX X Y 3
|
||||
SFX X e ions e
|
||||
SFX X y ications y
|
||||
SFX X 0 ens [^ey]
|
||||
|
||||
SFX H N 2
|
||||
SFX H y ieth y
|
||||
SFX H 0 th [^y]
|
||||
|
||||
SFX Y Y 1
|
||||
SFX Y 0 ly .
|
||||
|
||||
SFX G Y 2
|
||||
SFX G e ing e
|
||||
SFX G 0 ing [^e]
|
||||
|
||||
SFX J Y 2
|
||||
SFX J e ings e
|
||||
SFX J 0 ings [^e]
|
||||
|
||||
SFX D Y 4
|
||||
SFX D 0 d e
|
||||
SFX D y ied [^aeiou]y
|
||||
SFX D 0 ed [^ey]
|
||||
SFX D 0 ed [aeiou]y
|
||||
|
||||
SFX T N 4
|
||||
SFX T 0 st [eg]
|
||||
SFX T y iest [^aeiou]y
|
||||
SFX T 0 est [aeiou]y
|
||||
SFX T 0 est [^ey]
|
||||
|
||||
SFX R Y 4
|
||||
SFX R 0 r e
|
||||
SFX R y ier [^aeiou]y
|
||||
SFX R 0 er [aeiou]y
|
||||
SFX R 0 er [^ey]
|
||||
|
||||
SFX Z Y 4
|
||||
SFX Z 0 rs e
|
||||
SFX Z y iers [^aeiou]y
|
||||
SFX Z 0 ers [aeiou]y
|
||||
SFX Z 0 ers [^ey]
|
||||
|
||||
SFX S Y 4
|
||||
SFX S y ies [^aeiou]y
|
||||
SFX S 0 s [aeiou]y
|
||||
SFX S 0 es [sxzh]
|
||||
SFX S 0 s [^sxzhy]
|
||||
|
||||
SFX P Y 3
|
||||
SFX P y iness [^aeiou]y
|
||||
SFX P 0 ness [aeiou]y
|
||||
SFX P 0 ness [^y]
|
||||
|
||||
SFX M Y 1
|
||||
SFX M 0 's .
|
||||
|
||||
SFX B Y 3
|
||||
SFX B 0 able [^aeiou]
|
||||
SFX B 0 able ee
|
||||
SFX B e able [^aeiou]e
|
||||
|
||||
SFX L Y 1
|
||||
SFX L 0 ment .
|
||||
|
||||
REP 90
|
||||
REP a ei
|
||||
REP ei a
|
||||
REP a ey
|
||||
REP ey a
|
||||
REP ai ie
|
||||
REP ie ai
|
||||
REP alot a_lot
|
||||
REP are air
|
||||
REP are ear
|
||||
REP are eir
|
||||
REP air are
|
||||
REP air ere
|
||||
REP ere air
|
||||
REP ere ear
|
||||
REP ere eir
|
||||
REP ear are
|
||||
REP ear air
|
||||
REP ear ere
|
||||
REP eir are
|
||||
REP eir ere
|
||||
REP ch te
|
||||
REP te ch
|
||||
REP ch ti
|
||||
REP ti ch
|
||||
REP ch tu
|
||||
REP tu ch
|
||||
REP ch s
|
||||
REP s ch
|
||||
REP ch k
|
||||
REP k ch
|
||||
REP f ph
|
||||
REP ph f
|
||||
REP gh f
|
||||
REP f gh
|
||||
REP i igh
|
||||
REP igh i
|
||||
REP i uy
|
||||
REP uy i
|
||||
REP i ee
|
||||
REP ee i
|
||||
REP j di
|
||||
REP di j
|
||||
REP j gg
|
||||
REP gg j
|
||||
REP j ge
|
||||
REP ge j
|
||||
REP s ti
|
||||
REP ti s
|
||||
REP s ci
|
||||
REP ci s
|
||||
REP k cc
|
||||
REP cc k
|
||||
REP k qu
|
||||
REP qu k
|
||||
REP kw qu
|
||||
REP o eau
|
||||
REP eau o
|
||||
REP o ew
|
||||
REP ew o
|
||||
REP oo ew
|
||||
REP ew oo
|
||||
REP ew ui
|
||||
REP ui ew
|
||||
REP oo ui
|
||||
REP ui oo
|
||||
REP ew u
|
||||
REP u ew
|
||||
REP oo u
|
||||
REP u oo
|
||||
REP u oe
|
||||
REP oe u
|
||||
REP u ieu
|
||||
REP ieu u
|
||||
REP ue ew
|
||||
REP ew ue
|
||||
REP uff ough
|
||||
REP oo ieu
|
||||
REP ieu oo
|
||||
REP ier ear
|
||||
REP ear ier
|
||||
REP ear air
|
||||
REP air ear
|
||||
REP w qu
|
||||
REP qu w
|
||||
REP z ss
|
||||
REP ss z
|
||||
REP shun tion
|
||||
REP shun sion
|
||||
REP shun cion
|
||||
REP size cise
|
||||
81531
aio/tools/doc-linter/dictionaries/en_us/en_US-web.dic
Normal file
81531
aio/tools/doc-linter/dictionaries/en_us/en_US-web.dic
Normal file
File diff suppressed because it is too large
Load diff
8
aio/tools/doc-linter/styles/Angular/Angular_AltInImg.yml
Normal file
8
aio/tools/doc-linter/styles/Angular/Angular_AltInImg.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# tests for <img> elements without alt attribute
|
||||
extends: existence
|
||||
message: '<img> elements need the alt attribute to be the first attribute.'
|
||||
link: https://angular.io/guide/docs-style-guide#images
|
||||
level: error
|
||||
scope: raw
|
||||
raw:
|
||||
- '<img (?!alt=)[^\>]+>'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# tests for blank lines after an HTML tag or tag group
|
||||
extends: existence
|
||||
message: 'HTML in the Markdown should be followed by a blank line.'
|
||||
link: https://angular.io/guide/docs-style-guide#markdown-and-html
|
||||
level: error
|
||||
scope: raw
|
||||
raw:
|
||||
- '[\r\n]\<.+\>[\r\n](?!(\s*[\r\n\<]))'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# tests for blank lines before an HTML tag or tag group
|
||||
extends: existence
|
||||
message: 'HTML in the Markdown should be preceded by a blank line.'
|
||||
link: https://angular.io/guide/docs-style-guide#markdown-and-html
|
||||
level: error
|
||||
scope: raw
|
||||
raw:
|
||||
- '(?<![\r\n\>])[\r\n]\<.+\>[\r\n]'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# code and CLI references that should be marked as code
|
||||
extends: existence
|
||||
message: 'Clarify if this refers to a specific CLI, a specific ng command, or a command-line tool.'
|
||||
link: 'https://angular.io/guide/glossary#command-line-interface-cli'
|
||||
ignorecase: false
|
||||
level: warning
|
||||
tokens:
|
||||
- '((?<!Angular )CLI(?! [B|b]uilder))'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# tests for strings qualified by back-ticks are surrounded by spaces or punctuation
|
||||
extends: existence
|
||||
message: 'The code term should be followed by a space or punctuation.'
|
||||
link: https://angular.io/guide/docs-style-guide#when-to-use-code-font
|
||||
level: error
|
||||
scope: raw
|
||||
tokens:
|
||||
- '\s\x60[^\x60]+\x60[^ .;\n\r]'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# code and CLI references that should be marked as code
|
||||
extends: existence
|
||||
message: "If '%s' is a code reference, make sure it's marked correctly."
|
||||
link: 'https://developers.google.com/style/code-in-text'
|
||||
scope: sentence
|
||||
ignorecase: false
|
||||
level: suggestion
|
||||
tokens: (ng [a-z]+)
|
||||
17
aio/tools/doc-linter/styles/Angular/Angular_Inclusive.yml
Normal file
17
aio/tools/doc-linter/styles/Angular/Angular_Inclusive.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Inclusuve language tested by Angular CI/CD
|
||||
# tests for strings that must be replaced before the content is published
|
||||
extends: substitution
|
||||
message: "Use '%s' instead of '%s'."
|
||||
link: 'https://developers.google.com/style/word-list'
|
||||
level: error
|
||||
ignorecase: true
|
||||
action:
|
||||
name: replace
|
||||
swap:
|
||||
master: primary|main|leader|active|writer
|
||||
slave: secondary|node|worker|replica|passive
|
||||
'white[\s_-]*list': include list|allow list
|
||||
'black[\s_-]*list': exclude list|deny list
|
||||
grandfathered: legacied|exempted
|
||||
'sanity[\s_-]*check': confidence check
|
||||
'man[\s_-]*hours': person-hours|human-hours
|
||||
11
aio/tools/doc-linter/styles/Angular/Angular_Note.yml
Normal file
11
aio/tools/doc-linter/styles/Angular/Angular_Note.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# tests for NOTE strings that are not bolded
|
||||
extends: existence
|
||||
message: 'Alert heading must be bold.'
|
||||
link: https://angular.io/guide/docs-style-guide#alerts-and-callouts
|
||||
level: error
|
||||
ignorecase: false
|
||||
scope: raw
|
||||
raw:
|
||||
- (?<!\*\*)NOTE[^\*]*(?!\*\*)
|
||||
- (?<!\*\*)TIP[^\*]*(?!\*\*)
|
||||
- (?<!\*\*)IMPORTANT[^\*]*(?!\*\*)
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
extends: occurrence
|
||||
message: 'Try to keep your sentences shorter than 26 words. Shorter sentences tend to be easier to read.'
|
||||
link: https://developers.google.com/style/accessibility#ease-of-reading
|
||||
level: suggestion
|
||||
scope: sentence
|
||||
max: 26
|
||||
token: '[\w-]+'
|
||||
11
aio/tools/doc-linter/styles/Angular/Angular_Spelling.yml
Normal file
11
aio/tools/doc-linter/styles/Angular/Angular_Spelling.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Uses the built-in dictionary and filters.
|
||||
extends: spelling
|
||||
dicpath: ../../dictionaries/en_us/
|
||||
message: "Did you really mean '%s'? It wasn't found in our dictionary."
|
||||
level: warning
|
||||
ignore:
|
||||
- Vocab/Angular.txt # Angular terms
|
||||
- Vocab/Foreign.txt # Foreign language words used in the text
|
||||
- Vocab/Jargon.txt # Computer jargon
|
||||
- Vocab/Names.txt # Names of people, products, and things
|
||||
- Vocab/Web.txt # Web terms
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# tests for TODO in HTML comments in the markdown
|
||||
extends: existence
|
||||
message: 'ToDo comments make the docs look unfinished. Consider removing them before you publish.'
|
||||
link: https://angular.io/guide/docs-style-guide#when-to-use-code-font
|
||||
level: suggestion
|
||||
scope: raw
|
||||
raw:
|
||||
- '\<\!\-\-[\s]*[Tt][Oo][Dd][Oo][^>]*\-\-\>'
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# tests for TODO in text when NOT used in a sentence
|
||||
extends: existence
|
||||
message: 'Remove %s before publishing.'
|
||||
link: https://angular.io/guide/docs-style-guide#when-to-use-code-font
|
||||
level: error
|
||||
ignorecase: true
|
||||
scope: sentence
|
||||
raw:
|
||||
- (?<!\s)[Tt][Oo][Dd][Oo](?!\s)
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_AMPM.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_AMPM.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Use 'AM' or 'PM' and precede it with a space."
|
||||
link: 'https://developers.google.com/style/word-list'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\d{1,2}[AP]M'
|
||||
- '\d{1,2} ?[ap]m'
|
||||
- '\d{1,2} ?[aApP]\.[mM]\.'
|
||||
66
aio/tools/doc-linter/styles/Angular/Google_Acronyms.yml
Normal file
66
aio/tools/doc-linter/styles/Angular/Google_Acronyms.yml
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# adapted from Google style library
|
||||
extends: conditional
|
||||
message: "Spell out '%s', if it's unfamiliar to the audience."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
level: suggestion
|
||||
ignorecase: false
|
||||
# Ensures that the existence of 'first' implies the existence of 'second'.
|
||||
first: '\b([A-Z]{3,5})\b'
|
||||
second: '(?:\b[A-Z][\w\- ]+ )+\(([A-Z]{3,5})\)'
|
||||
# ... with the exception of these:
|
||||
exceptions:
|
||||
- API
|
||||
- ASP
|
||||
- CLI
|
||||
- CPU
|
||||
- CSS
|
||||
- CSV
|
||||
- DEBUG
|
||||
- DOM
|
||||
- DPI
|
||||
- FAQ
|
||||
- GCC
|
||||
- GDB
|
||||
- GET
|
||||
- GPU
|
||||
- GTK
|
||||
- GUI
|
||||
- HTML
|
||||
- HTTP
|
||||
- HTTPS
|
||||
- IDE
|
||||
- JAR
|
||||
- JSON
|
||||
- JSX
|
||||
- LESS
|
||||
- LLDB
|
||||
- NET
|
||||
- NOTE
|
||||
- NVDA
|
||||
- OSS
|
||||
- PATH
|
||||
- PDF
|
||||
- PHP
|
||||
- POST
|
||||
- RAM
|
||||
- REPL
|
||||
- RSA
|
||||
- SCM
|
||||
- SCSS
|
||||
- SDK
|
||||
- SQL
|
||||
- SSH
|
||||
- SSL
|
||||
- SVG
|
||||
- TBD
|
||||
- TCP
|
||||
- TIP
|
||||
- TODO
|
||||
- URI
|
||||
- URL
|
||||
- USB
|
||||
- UTF
|
||||
- XML
|
||||
- XSS
|
||||
- YAML
|
||||
- ZIP
|
||||
11
aio/tools/doc-linter/styles/Angular/Google_Colons.yml
Normal file
11
aio/tools/doc-linter/styles/Angular/Google_Colons.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# adapted from Google style library
|
||||
# tests that the word following a colon is sentenced cased
|
||||
# unless it appears to be an abbreviation
|
||||
extends: existence
|
||||
message: "'%s' should be in lowercase."
|
||||
link: 'https://developers.google.com/style/colons'
|
||||
nonword: true
|
||||
level: warning
|
||||
scope: sentence
|
||||
tokens:
|
||||
- ':\s[A-Z][a-z][a-z]'
|
||||
27
aio/tools/doc-linter/styles/Angular/Google_Contractions.yml
Normal file
27
aio/tools/doc-linter/styles/Angular/Google_Contractions.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# adapted from Google style library
|
||||
extends: substitution
|
||||
message: "You can use '%s' instead of '%s'."
|
||||
link: 'https://developers.google.com/style/contractions'
|
||||
level: suggestion
|
||||
ignorecase: true
|
||||
action:
|
||||
name: replace
|
||||
swap:
|
||||
are not: aren't
|
||||
cannot: can't
|
||||
could not: couldn't
|
||||
did not: didn't
|
||||
do not: don't
|
||||
does not: doesn't
|
||||
has not: hasn't
|
||||
have not: haven't
|
||||
how is: how's
|
||||
is not: isn't
|
||||
should not: shouldn't
|
||||
that is: that's
|
||||
was not: wasn't
|
||||
we have: we've
|
||||
what is: what's
|
||||
when is: when's
|
||||
where is: where's
|
||||
will not: won't
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_DateFormat.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_DateFormat.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Use 'July 31, 2016' format, not '%s'."
|
||||
link: 'https://developers.google.com/style/dates-times'
|
||||
ignorecase: true
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\d{1,2}(?:\.|/)\d{1,2}(?:\.|/)\d{4}'
|
||||
- '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_Ellipses.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_Ellipses.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: 'In general, try not to use an ellipsis.'
|
||||
link: 'https://developers.google.com/style/ellipses'
|
||||
nonword: true
|
||||
level: warning
|
||||
action:
|
||||
name: remove
|
||||
tokens:
|
||||
- '\.\.\.'
|
||||
13
aio/tools/doc-linter/styles/Angular/Google_EmDash.yml
Normal file
13
aio/tools/doc-linter/styles/Angular/Google_EmDash.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't put a space before or after a dash."
|
||||
link: 'https://developers.google.com/style/dashes'
|
||||
nonword: true
|
||||
level: error
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- remove
|
||||
- ' '
|
||||
tokens:
|
||||
- '\s[—–]\s'
|
||||
14
aio/tools/doc-linter/styles/Angular/Google_EnDash.yml
Normal file
14
aio/tools/doc-linter/styles/Angular/Google_EnDash.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Use an em dash ('—') instead of '–'."
|
||||
link: 'https://developers.google.com/style/dashes'
|
||||
nonword: true
|
||||
level: error
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- replace
|
||||
- '-'
|
||||
- '—'
|
||||
tokens:
|
||||
- '–'
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't use exclamation points in text."
|
||||
link: 'https://developers.google.com/style/exclamation-points'
|
||||
nonword: true
|
||||
level: error
|
||||
tokens:
|
||||
- '\w!(?:\s|$)'
|
||||
14
aio/tools/doc-linter/styles/Angular/Google_FirstPerson.yml
Normal file
14
aio/tools/doc-linter/styles/Angular/Google_FirstPerson.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Reword this to avoid first-person pronouns such as '%s'."
|
||||
link: 'https://developers.google.com/style/pronouns#personal-pronouns'
|
||||
ignorecase: true
|
||||
level: warning
|
||||
nonword: true
|
||||
tokens:
|
||||
- (?:^|\s)I\s
|
||||
- (?:^|\s)I,\s
|
||||
- \bI'm\b
|
||||
- \bme\b
|
||||
- \bmy\b
|
||||
- \bmine\b
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_Gender.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_Gender.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Use 'they' as a gender-neutral substitute for '%s'."
|
||||
link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns'
|
||||
level: error
|
||||
ignorecase: true
|
||||
tokens:
|
||||
- he/she
|
||||
- s/he
|
||||
- \(s\)he
|
||||
46
aio/tools/doc-linter/styles/Angular/Google_GenderBias.yml
Normal file
46
aio/tools/doc-linter/styles/Angular/Google_GenderBias.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# adapted from Google style library
|
||||
extends: substitution
|
||||
message: "Use '%s' instead of '%s' if possible."
|
||||
link: 'https://developers.google.com/style/inclusive-documentation'
|
||||
ignorecase: true
|
||||
level: error
|
||||
swap:
|
||||
(?:alumna|alumnus): graduate
|
||||
(?:alumnae|alumni): graduates
|
||||
air(?:m[ae]n|wom[ae]n): pilot(s)
|
||||
anchor(?:m[ae]n|wom[ae]n): anchor(s)
|
||||
authoress: author
|
||||
camera(?:m[ae]n|wom[ae]n): camera operator(s)
|
||||
chair(?:m[ae]n|wom[ae]n): chair(s)
|
||||
congress(?:m[ae]n|wom[ae]n): member(s) of congress
|
||||
door(?:m[ae]|wom[ae]n): concierge(s)
|
||||
draft(?:m[ae]n|wom[ae]n): drafter(s)
|
||||
fire(?:m[ae]n|wom[ae]n): firefighter(s)
|
||||
fisher(?:m[ae]n|wom[ae]n): fisher(s)
|
||||
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
|
||||
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
|
||||
lady lawyer: lawyer
|
||||
ladylike: courteous
|
||||
landlord: building manager
|
||||
mail(?:m[ae]n|wom[ae]n): mail carriers
|
||||
man and wife: husband and wife
|
||||
man enough: strong enough
|
||||
mankind: human kind
|
||||
manmade: manufactured
|
||||
manpower: personnel
|
||||
men and girls: men and women
|
||||
middle(?:m[ae]n|wom[ae]n): intermediary
|
||||
news(?:m[ae]n|wom[ae]n): journalist(s)
|
||||
ombuds(?:man|woman): ombuds
|
||||
oneupmanship: upstaging
|
||||
poetess: poet
|
||||
police(?:m[ae]n|wom[ae]n): police officer(s)
|
||||
repair(?:m[ae]n|wom[ae]n): technician(s)
|
||||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
|
||||
service(?:m[ae]n|wom[ae]n): soldier(s)
|
||||
steward(?:ess)?: flight attendant
|
||||
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
|
||||
waitress: waiter
|
||||
woman doctor: doctor
|
||||
woman scientist[s]?: scientist(s)
|
||||
work(?:m[ae]n|wom[ae]n): worker(s)
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "You don't need to put a period at the end of a heading."
|
||||
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
|
||||
nonword: true
|
||||
level: error
|
||||
scope: heading
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- remove
|
||||
- '.'
|
||||
tokens:
|
||||
- '[a-z0-9][.]\s*$'
|
||||
55
aio/tools/doc-linter/styles/Angular/Google_Headings.yml
Normal file
55
aio/tools/doc-linter/styles/Angular/Google_Headings.yml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# adapted from Google style library
|
||||
# Tests for sentence capitalization in heading strings
|
||||
extends: capitalization
|
||||
message: "'%s' should use sentence-style capitalization and mark program references as code."
|
||||
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
|
||||
level: warning
|
||||
scope: heading
|
||||
match: $sentence
|
||||
indicators:
|
||||
- ':'
|
||||
exceptions:
|
||||
- Angular
|
||||
- AngularJS
|
||||
- API
|
||||
- APIs
|
||||
- Architect
|
||||
- Azure
|
||||
- CLI
|
||||
- Code
|
||||
- Cosmos
|
||||
- Docker
|
||||
- ECMAScript
|
||||
- Emmet
|
||||
- ES
|
||||
- French
|
||||
- GitHub
|
||||
- GitHub Pages
|
||||
- gRPC
|
||||
- I
|
||||
- Ivy
|
||||
- i18n
|
||||
- JavaScript
|
||||
- Kubernetes
|
||||
- Linux
|
||||
- l10n
|
||||
- macOS
|
||||
- Marketplace
|
||||
- MongoDB
|
||||
- NgModule
|
||||
- NgModules
|
||||
- Observable
|
||||
- REPL
|
||||
- RxJS
|
||||
- Schematics
|
||||
- Studio
|
||||
- Tour of Heroes
|
||||
- TypeScript
|
||||
- TypeScript
|
||||
- Universal
|
||||
- URLs
|
||||
- Vale
|
||||
- View Engine
|
||||
- Visual
|
||||
- VS
|
||||
- Windows
|
||||
12
aio/tools/doc-linter/styles/Angular/Google_Latin.yml
Normal file
12
aio/tools/doc-linter/styles/Angular/Google_Latin.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# adapted from Google style library
|
||||
extends: substitution
|
||||
message: "Use '%s' instead of '%s'."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
ignorecase: false
|
||||
level: error
|
||||
nonword: true
|
||||
action:
|
||||
name: replace
|
||||
swap:
|
||||
'\b(?:eg|e\.g\.)[\s,]': for example
|
||||
'\b(?:ie|i\.e\.)[\s,]': that is
|
||||
15
aio/tools/doc-linter/styles/Angular/Google_LyHyphens.yml
Normal file
15
aio/tools/doc-linter/styles/Angular/Google_LyHyphens.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "'%s' doesn't need a hyphen."
|
||||
link: 'https://developers.google.com/style/hyphens'
|
||||
level: error
|
||||
ignorecase: false
|
||||
nonword: true
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- replace
|
||||
- '-'
|
||||
- ' '
|
||||
tokens:
|
||||
- '\s[^\s-]+ly-'
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't use an 's' in parentheses such as in '%s'. If it can be more than one, use the plural form without parentheses."
|
||||
link: 'https://developers.google.com/style/plurals-parentheses'
|
||||
level: error
|
||||
nonword: true
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- remove
|
||||
- '(s)'
|
||||
tokens:
|
||||
- '\b\w+\(s\)'
|
||||
8
aio/tools/doc-linter/styles/Angular/Google_Ordinal.yml
Normal file
8
aio/tools/doc-linter/styles/Angular/Google_Ordinal.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Spell out all the ordinal numbers ('%s') in the text."
|
||||
link: 'https://developers.google.com/style/numbers'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- \d+(?:st|nd|rd|th)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Use the Oxford comma in '%s'."
|
||||
link: 'https://developers.google.com/style/commas'
|
||||
scope: sentence
|
||||
level: error
|
||||
tokens:
|
||||
- '(?:[^,]+,){1,}\s\w+\s(?:and|or)'
|
||||
12
aio/tools/doc-linter/styles/Angular/Google_Parens.yml
Normal file
12
aio/tools/doc-linter/styles/Angular/Google_Parens.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# adapted from Google style library
|
||||
# test for parentheticals that don't contain all caps or
|
||||
# a code referece to allow abbreviation definitions.
|
||||
#
|
||||
extends: existence
|
||||
message: 'Use parentheses judiciously. Try to rewrite this sentence without them.'
|
||||
link: 'https://developers.google.com/style/parentheses'
|
||||
nonword: true
|
||||
level: suggestion
|
||||
scope: raw
|
||||
raw:
|
||||
- '\\\([^`\)]+(?<![A-Z])\\\)'
|
||||
8
aio/tools/doc-linter/styles/Angular/Google_Periods.yml
Normal file
8
aio/tools/doc-linter/styles/Angular/Google_Periods.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't use periods in acronyms or initialisms such as '%s'."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\b(?:[A-Z]\.){3,}'
|
||||
8
aio/tools/doc-linter/styles/Angular/Google_Quotes.yml
Normal file
8
aio/tools/doc-linter/styles/Angular/Google_Quotes.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: 'Commas and periods go inside quotation marks. UI text should be bold and data entered by a user should be monospace.'
|
||||
link: 'https://developers.google.com/style/quotation-marks'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '"[^"]+"[.,?]'
|
||||
8
aio/tools/doc-linter/styles/Angular/Google_Ranges.yml
Normal file
8
aio/tools/doc-linter/styles/Angular/Google_Ranges.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
|
||||
link: 'https://developers.google.com/style/hyphens'
|
||||
nonword: true
|
||||
level: warning
|
||||
tokens:
|
||||
- '(?:from|between)\s\d+\s?-\s?\d+'
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_Semicolons.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_Semicolons.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# adapted from Google style library
|
||||
# note the complex regex for this is used to ignore HTML entities to find semicolons in normal text
|
||||
extends: existence
|
||||
message: 'Semicolons can indicate a complex sentence. Try rewriting this sentence as multiple sentences.'
|
||||
link: 'https://developers.google.com/style/semicolons'
|
||||
code: false
|
||||
nonword: true
|
||||
level: warning
|
||||
raw:
|
||||
- '[^A-Za-z&]((?!\&\w)([\S]+\;))'
|
||||
12
aio/tools/doc-linter/styles/Angular/Google_Slang.yml
Normal file
12
aio/tools/doc-linter/styles/Angular/Google_Slang.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Don't use internet slang abbreviations such as '%s'."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- 'tl;dr'
|
||||
- ymmv
|
||||
- rtfm
|
||||
- imo
|
||||
- fwiw
|
||||
9
aio/tools/doc-linter/styles/Angular/Google_Spacing.yml
Normal file
9
aio/tools/doc-linter/styles/Angular/Google_Spacing.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "'%s' should have one space."
|
||||
link: 'https://developers.google.com/style/sentence-spacing'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '[a-z][.?!] {2,}[A-Z]'
|
||||
- '[a-z][.?!][A-Z]'
|
||||
9
aio/tools/doc-linter/styles/Angular/Google_Spelling.yml
Normal file
9
aio/tools/doc-linter/styles/Angular/Google_Spelling.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "In general, use the American spelling instead of '%s'."
|
||||
link: 'https://developers.google.com/style/spelling'
|
||||
ignorecase: true
|
||||
level: warning
|
||||
tokens:
|
||||
- '(?:\w+)nised?'
|
||||
- '(?:\w+)logue'
|
||||
13
aio/tools/doc-linter/styles/Angular/Google_Title.yml
Normal file
13
aio/tools/doc-linter/styles/Angular/Google_Title.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# adapted from Google style library
|
||||
extends: occurrence
|
||||
message: 'Only one title is allowed per topic'
|
||||
link: https://angular.io/guide/docs-style-guide#title
|
||||
level: error
|
||||
# Here, we're counting the number of times a comma appears
|
||||
# in a sentence.
|
||||
#
|
||||
# If it occurs more than 3 times, we'll flag it.
|
||||
scope: raw
|
||||
ignorecase: false
|
||||
max: 1
|
||||
token: '^# '
|
||||
10
aio/tools/doc-linter/styles/Angular/Google_Units.yml
Normal file
10
aio/tools/doc-linter/styles/Angular/Google_Units.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# copied from Google style library
|
||||
# tests for correct format of numbers followed by units
|
||||
extends: existence
|
||||
message: "If '%s' is not code, put a nonbreaking space between the number and the unit."
|
||||
link: 'https://developers.google.com/style/units-of-measure'
|
||||
nonword: true
|
||||
level: error
|
||||
tokens:
|
||||
- \d+(?:B|kB|MB|GB|TB)
|
||||
- \d+(?:ns|ms|s|min|h|d)
|
||||
12
aio/tools/doc-linter/styles/Angular/Google_We.yml
Normal file
12
aio/tools/doc-linter/styles/Angular/Google_We.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Try to avoid using first-person plural like '%s'."
|
||||
link: 'https://developers.google.com/style/pronouns#personal-pronouns'
|
||||
level: warning
|
||||
ignorecase: true
|
||||
tokens:
|
||||
- we
|
||||
- we'(?:ve|re)
|
||||
- ours?
|
||||
- us
|
||||
- let's
|
||||
15
aio/tools/doc-linter/styles/Angular/Google_Will.yml
Normal file
15
aio/tools/doc-linter/styles/Angular/Google_Will.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# adapted from Google style library
|
||||
extends: existence
|
||||
message: "Avoid using '%s'. Try to rewrite in present tense."
|
||||
link: 'https://developers.google.com/style/tense'
|
||||
ignorecase: true
|
||||
level: warning
|
||||
tokens:
|
||||
- will
|
||||
- I'll
|
||||
- we'll
|
||||
- you'll
|
||||
- she'll
|
||||
- he'll
|
||||
- it'll
|
||||
- they'll
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
# copied from Google style library
|
||||
# tests for strings that should be considered for replacement before publishing
|
||||
extends: substitution
|
||||
message: "Consider using '%s' instead of '%s'."
|
||||
link: 'https://developers.google.com/style/word-list'
|
||||
level: suggestion
|
||||
ignorecase: false
|
||||
action:
|
||||
name: replace
|
||||
swap:
|
||||
'(?:check[\s]+(?!out))': select
|
||||
a number of: some
|
||||
adjacent to: next to
|
||||
admin: administrator
|
||||
aggregate: together|join
|
||||
all of: all
|
||||
as to: to
|
||||
assistance: help
|
||||
boolean: Boolean
|
||||
config: configuration
|
||||
consolidate: join
|
||||
data are: data is
|
||||
demonstrate: show
|
||||
disabled?: turn off|off
|
||||
eliminate: remove
|
||||
evaluate: consider
|
||||
facilitate: make
|
||||
finalize: complete
|
||||
for the purpose of: to
|
||||
generate: create
|
||||
generated: created
|
||||
if and when: when
|
||||
iIn many cases: often
|
||||
impacted: affected, affects
|
||||
in between: between
|
||||
in order to: to
|
||||
in the case of: when
|
||||
in the event that: when
|
||||
in the process of: when
|
||||
initiate: start
|
||||
instantiable: that can be instantiated
|
||||
monorepository: monorepo
|
||||
obtain: get
|
||||
overview screen: recents screen
|
||||
params: parameters
|
||||
precaching: pre-caching
|
||||
prerender: pre-render
|
||||
prerendering: pre-rendering
|
||||
prior to: before
|
||||
provided that: if
|
||||
resubscription: re-subscribe|subscription
|
||||
retain: keep
|
||||
subsequent: later
|
||||
sufficient: enough
|
||||
terminal: command line tool
|
||||
touch: tap
|
||||
url: URL
|
||||
user friendly: friendly
|
||||
with the exception of: except for
|
||||
103
aio/tools/doc-linter/styles/Angular/Google_WordListWarnings.yml
Normal file
103
aio/tools/doc-linter/styles/Angular/Google_WordListWarnings.yml
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
# copied from Google style library
|
||||
# tests for strings that should be replaced before the content is published
|
||||
extends: substitution
|
||||
message: "Use '%s' instead of '%s'."
|
||||
link: 'https://developers.google.com/style/word-list'
|
||||
level: warning
|
||||
ignorecase: false
|
||||
action:
|
||||
name: replace
|
||||
swap:
|
||||
'(?:above[\s\.\;\,]+(?!the))': preceding
|
||||
'(?:API Console|dev|developer) key': API key
|
||||
'(?:cell ?phone|smart ?phone)': phone|mobile phone
|
||||
'(?:dev|developer|APIs) console': API console
|
||||
'(?:e-mail|Email|E-mail)': email
|
||||
'(?:file ?path|path ?name)': path
|
||||
'(?:kill|terminate|abort)': stop|exit|cancel|end
|
||||
'(?:OAuth ?2|Oauth)': OAuth 2.0
|
||||
'(?:ok|Okay)': OK|okay
|
||||
'(?:WiFi|wifi)': Wi-Fi
|
||||
'[\.]+apk': APK
|
||||
'3\-D': 3D
|
||||
'Google (?:I\-O|IO)': Google I/O
|
||||
'tap (?:&|and) hold': touch & hold
|
||||
'un(?:check|select)': clear
|
||||
account name: username
|
||||
action bar: app bar
|
||||
ajax: AJAX
|
||||
Ajax: AJAX
|
||||
Android device: Android-powered device
|
||||
android: Android
|
||||
API explorer: APIs Explorer
|
||||
app: application
|
||||
approx\.: approximately
|
||||
authN: authentication
|
||||
authZ: authorization
|
||||
autoupdate: automatically update
|
||||
backoff: back-off
|
||||
bugfix: bug fix
|
||||
byelog: bye log
|
||||
callout: call-out
|
||||
callouts: call-outs
|
||||
cellular data: mobile data
|
||||
cellular network: mobile network
|
||||
chapter: documents|pages|sections
|
||||
check box: checkbox
|
||||
ci: CI
|
||||
circleci: CircleCI
|
||||
circularities: circular dependencies
|
||||
click on: click|click in
|
||||
Cloud: Google Cloud Platform|GCP
|
||||
combobox: combo box
|
||||
command-line interface: command line tool
|
||||
command line interface: command line tool
|
||||
Container Engine: Kubernetes Engine
|
||||
content type: media type
|
||||
curated roles: predefined roles
|
||||
datasource: data source
|
||||
Developers Console: Google API Console|API Console
|
||||
ephemeral IP address: ephemeral external IP address
|
||||
execute: run|call
|
||||
fewer data: less data
|
||||
file name: filename
|
||||
firewalls: firewall rules
|
||||
folder: directory
|
||||
functionality: capability|feature
|
||||
Google account: Google Account
|
||||
Google accounts: Google Accounts
|
||||
Googling: search with Google
|
||||
grayed-out: unavailable
|
||||
heros: heroes
|
||||
heterogenous: heterogeneous
|
||||
homogenous: homogeneous
|
||||
HTTPs: HTTPS
|
||||
ingest: import|load
|
||||
invalid: not valid|non-valid
|
||||
javascript: JavaScript
|
||||
k8s: Kubernetes
|
||||
long press: touch & hold
|
||||
network IP address: internal IP address
|
||||
ngcontainer: ng-container
|
||||
omnibox: address bar
|
||||
open-source: open source
|
||||
questionaire: questionnaire
|
||||
readme: README
|
||||
regex: regular expression
|
||||
serviceworker: service worker
|
||||
SHA1: SHA-1|HAS-SHA1
|
||||
shrowded: shrouded
|
||||
sidenav: side nav
|
||||
sign into: sign in to
|
||||
sign-?on: single sign-on
|
||||
sourcemap: source map
|
||||
sourcemaps: source maps
|
||||
static IP address: static external IP address
|
||||
stylesheet: style sheet
|
||||
synch: sync
|
||||
tablename: table name
|
||||
tablet: device
|
||||
thier: their
|
||||
timespan: time span
|
||||
vs\.: versus
|
||||
World Wide Web: web
|
||||
11
aio/tools/doc-linter/styles/Angular/README.md
Normal file
11
aio/tools/doc-linter/styles/Angular/README.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Angular styles
|
||||
|
||||
These styles are specific to the Angular style guide.
|
||||
Some have been imported from other style libraries and modified
|
||||
to support the Angular documentation style guide.
|
||||
|
||||
For styles imported from other libraries, the .vale.ini file
|
||||
should disable the corresponding style in its original directory.
|
||||
A copied style SHOULD NOT be removed from its original directory
|
||||
to make it easier to identify changes to the original that can
|
||||
then be manually copied to the Angular version, if desired.
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
extends: metric
|
||||
message: 'Try to keep the Flesch-Kincaid grade level (%s) below 8.'
|
||||
link: https://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests
|
||||
|
||||
formula: |
|
||||
(0.39 * (words / sentences)) + (11.8 * (syllables / words)) - 15.59
|
||||
|
||||
condition: '> 8'
|
||||
702
aio/tools/doc-linter/styles/Angular/WriteGood_Cliches.yml
Normal file
702
aio/tools/doc-linter/styles/Angular/WriteGood_Cliches.yml
Normal file
|
|
@ -0,0 +1,702 @@
|
|||
extends: existence
|
||||
message: "'%s' is a cliché"
|
||||
ignorecase: true
|
||||
level: warning
|
||||
tokens:
|
||||
- a chip off the old block
|
||||
- a clean slate
|
||||
- a dark and stormy night
|
||||
- a far cry
|
||||
- a fine kettle of fish
|
||||
- a loose cannon
|
||||
- a penny saved is a penny earned
|
||||
- a tough row to hoe
|
||||
- a word to the wise
|
||||
- ace in the hole
|
||||
- acid test
|
||||
- add insult to injury
|
||||
- against all odds
|
||||
- air your dirty laundry
|
||||
- all fun and games
|
||||
- all in a day's work
|
||||
- all talk, no action
|
||||
- all thumbs
|
||||
- all your eggs in one basket
|
||||
- all's fair in love and war
|
||||
- all's well that ends well
|
||||
- almighty dollar
|
||||
- American as apple pie
|
||||
- an axe to grind
|
||||
- another day, another dollar
|
||||
- armed to the teeth
|
||||
- as luck would have it
|
||||
- as old as time
|
||||
- as the crow flies
|
||||
- at loose ends
|
||||
- at my wits end
|
||||
- avoid like the plague
|
||||
- babe in the woods
|
||||
- back against the wall
|
||||
- back in the saddle
|
||||
- back to square one
|
||||
- back to the drawing board
|
||||
- bad to the bone
|
||||
- badge of honor
|
||||
- bald faced liar
|
||||
- ballpark figure
|
||||
- banging your head against a brick wall
|
||||
- baptism by fire
|
||||
- barking up the wrong tree
|
||||
- bat out of hell
|
||||
- be all and end all
|
||||
- beat a dead horse
|
||||
- beat around the bush
|
||||
- been there, done that
|
||||
- beggars can't be choosers
|
||||
- behind the eight ball
|
||||
- bend over backwards
|
||||
- benefit of the doubt
|
||||
- bent out of shape
|
||||
- best thing since sliced bread
|
||||
- bet your bottom dollar
|
||||
- better half
|
||||
- better late than never
|
||||
- better mousetrap
|
||||
- better safe than sorry
|
||||
- between a rock and a hard place
|
||||
- beyond the pale
|
||||
- bide your time
|
||||
- big as life
|
||||
- big cheese
|
||||
- big fish in a small pond
|
||||
- big man on campus
|
||||
- bigger they are the harder they fall
|
||||
- bird in the hand
|
||||
- bird's eye view
|
||||
- birds and the bees
|
||||
- birds of a feather flock together
|
||||
- bit the hand that feeds you
|
||||
- bite the bullet
|
||||
- bite the dust
|
||||
- bitten off more than he can chew
|
||||
- black as coal
|
||||
- black as pitch
|
||||
- black as the ace of spades
|
||||
- blast from the past
|
||||
- bleeding heart
|
||||
- blessing in disguise
|
||||
- blind ambition
|
||||
- blind as a bat
|
||||
- blind leading the blind
|
||||
- blood is thicker than water
|
||||
- blood sweat and tears
|
||||
- blow off steam
|
||||
- blow your own horn
|
||||
- blushing bride
|
||||
- boils down to
|
||||
- bolt from the blue
|
||||
- bone to pick
|
||||
- bored stiff
|
||||
- bored to tears
|
||||
- bottomless pit
|
||||
- boys will be boys
|
||||
- bright and early
|
||||
- brings home the bacon
|
||||
- broad across the beam
|
||||
- broken record
|
||||
- brought back to reality
|
||||
- bull by the horns
|
||||
- bull in a china shop
|
||||
- burn the midnight oil
|
||||
- burning question
|
||||
- burning the candle at both ends
|
||||
- burst your bubble
|
||||
- bury the hatchet
|
||||
- busy as a bee
|
||||
- by hook or by crook
|
||||
- call a spade a spade
|
||||
- called onto the carpet
|
||||
- calm before the storm
|
||||
- can of worms
|
||||
- can't cut the mustard
|
||||
- can't hold a candle to
|
||||
- case of mistaken identity
|
||||
- cat got your tongue
|
||||
- cat's meow
|
||||
- caught in the crossfire
|
||||
- caught red-handed
|
||||
- checkered past
|
||||
- chomping at the bit
|
||||
- cleanliness is next to godliness
|
||||
- clear as a bell
|
||||
- clear as mud
|
||||
- close to the vest
|
||||
- cock and bull story
|
||||
- cold shoulder
|
||||
- come hell or high water
|
||||
- cool as a cucumber
|
||||
- cool, calm, and collected
|
||||
- cost a king's ransom
|
||||
- count your blessings
|
||||
- crack of dawn
|
||||
- crash course
|
||||
- creature comforts
|
||||
- cross that bridge when you come to it
|
||||
- crushing blow
|
||||
- cry like a baby
|
||||
- cry me a river
|
||||
- cry over spilt milk
|
||||
- crystal clear
|
||||
- curiosity killed the cat
|
||||
- cut and dried
|
||||
- cut through the red tape
|
||||
- cut to the chase
|
||||
- cute as a bugs ear
|
||||
- cute as a button
|
||||
- cute as a puppy
|
||||
- cuts to the quick
|
||||
- dark before the dawn
|
||||
- day in, day out
|
||||
- dead as a doornail
|
||||
- devil is in the details
|
||||
- dime a dozen
|
||||
- divide and conquer
|
||||
- dog and pony show
|
||||
- dog days
|
||||
- dog eat dog
|
||||
- dog tired
|
||||
- don't burn your bridges
|
||||
- don't count your chickens
|
||||
- don't look a gift horse in the mouth
|
||||
- don't rock the boat
|
||||
- don't step on anyone's toes
|
||||
- don't take any wooden nickels
|
||||
- down and out
|
||||
- down at the heels
|
||||
- down in the dumps
|
||||
- down the hatch
|
||||
- down to earth
|
||||
- draw the line
|
||||
- dressed to kill
|
||||
- dressed to the nines
|
||||
- drives me up the wall
|
||||
- dull as dishwater
|
||||
- dyed in the wool
|
||||
- eagle eye
|
||||
- ear to the ground
|
||||
- early bird catches the worm
|
||||
- easier said than done
|
||||
- easy as pie
|
||||
- eat your heart out
|
||||
- eat your words
|
||||
- eleventh hour
|
||||
- even the playing field
|
||||
- every dog has its day
|
||||
- every fiber of my being
|
||||
- everything but the kitchen sink
|
||||
- eye for an eye
|
||||
- face the music
|
||||
- facts of life
|
||||
- fair weather friend
|
||||
- fall by the wayside
|
||||
- fan the flames
|
||||
- feast or famine
|
||||
- feather your nest
|
||||
- feathered friends
|
||||
- few and far between
|
||||
- fifteen minutes of fame
|
||||
- filthy vermin
|
||||
- fine kettle of fish
|
||||
- fish out of water
|
||||
- fishing for a compliment
|
||||
- fit as a fiddle
|
||||
- fit the bill
|
||||
- fit to be tied
|
||||
- flash in the pan
|
||||
- flat as a pancake
|
||||
- flip your lid
|
||||
- flog a dead horse
|
||||
- fly by night
|
||||
- fly the coop
|
||||
- follow your heart
|
||||
- for all intents and purposes
|
||||
- for the birds
|
||||
- for what it's worth
|
||||
- force of nature
|
||||
- force to be reckoned with
|
||||
- forgive and forget
|
||||
- fox in the henhouse
|
||||
- free and easy
|
||||
- free as a bird
|
||||
- fresh as a daisy
|
||||
- full steam ahead
|
||||
- fun in the sun
|
||||
- garbage in, garbage out
|
||||
- gentle as a lamb
|
||||
- get a kick out of
|
||||
- get a leg up
|
||||
- get down and dirty
|
||||
- get the lead out
|
||||
- get to the bottom of
|
||||
- get your feet wet
|
||||
- gets my goat
|
||||
- gilding the lily
|
||||
- give and take
|
||||
- go against the grain
|
||||
- go at it tooth and nail
|
||||
- go for broke
|
||||
- go him one better
|
||||
- go the extra mile
|
||||
- go with the flow
|
||||
- goes without saying
|
||||
- good as gold
|
||||
- good deed for the day
|
||||
- good things come to those who wait
|
||||
- good time was had by all
|
||||
- good times were had by all
|
||||
- greased lightning
|
||||
- greek to me
|
||||
- green thumb
|
||||
- green-eyed monster
|
||||
- grist for the mill
|
||||
- growing like a weed
|
||||
- hair of the dog
|
||||
- hand to mouth
|
||||
- happy as a clam
|
||||
- happy as a lark
|
||||
- hasn't a clue
|
||||
- have a nice day
|
||||
- have high hopes
|
||||
- have the last laugh
|
||||
- haven't got a row to hoe
|
||||
- head honcho
|
||||
- head over heels
|
||||
- hear a pin drop
|
||||
- heard it through the grapevine
|
||||
- heart's content
|
||||
- heavy as lead
|
||||
- hem and haw
|
||||
- high and dry
|
||||
- high and mighty
|
||||
- high as a kite
|
||||
- hit paydirt
|
||||
- hold your head up high
|
||||
- hold your horses
|
||||
- hold your own
|
||||
- hold your tongue
|
||||
- honest as the day is long
|
||||
- horns of a dilemma
|
||||
- horse of a different color
|
||||
- hot under the collar
|
||||
- hour of need
|
||||
- I beg to differ
|
||||
- icing on the cake
|
||||
- if the shoe fits
|
||||
- if the shoe were on the other foot
|
||||
- in a jam
|
||||
- in a jiffy
|
||||
- in a nutshell
|
||||
- in a pig's eye
|
||||
- in a pinch
|
||||
- in a word
|
||||
- in hot water
|
||||
- in the gutter
|
||||
- in the nick of time
|
||||
- in the thick of it
|
||||
- in your dreams
|
||||
- it ain't over till the fat lady sings
|
||||
- it goes without saying
|
||||
- it takes all kinds
|
||||
- it takes one to know one
|
||||
- it's a small world
|
||||
- it's only a matter of time
|
||||
- ivory tower
|
||||
- Jack of all trades
|
||||
- jockey for position
|
||||
- jog your memory
|
||||
- joined at the hip
|
||||
- judge a book by its cover
|
||||
- jump down your throat
|
||||
- jump in with both feet
|
||||
- jump on the bandwagon
|
||||
- jump the gun
|
||||
- jump to conclusions
|
||||
- just a hop, skip, and a jump
|
||||
- just the ticket
|
||||
- justice is blind
|
||||
- keep a stiff upper lip
|
||||
- keep an eye on
|
||||
- keep it simple, stupid
|
||||
- keep the home fires burning
|
||||
- keep up with the Joneses
|
||||
- keep your chin up
|
||||
- keep your fingers crossed
|
||||
- kick the bucket
|
||||
- kick up your heels
|
||||
- kick your feet up
|
||||
- kid in a candy store
|
||||
- kill two birds with one stone
|
||||
- kiss of death
|
||||
- knock it out of the park
|
||||
- knock on wood
|
||||
- knock your socks off
|
||||
- know him from Adam
|
||||
- know the ropes
|
||||
- know the score
|
||||
- knuckle down
|
||||
- knuckle sandwich
|
||||
- knuckle under
|
||||
- labor of love
|
||||
- ladder of success
|
||||
- land on your feet
|
||||
- lap of luxury
|
||||
- last but not least
|
||||
- last hurrah
|
||||
- last-ditch effort
|
||||
- law of the jungle
|
||||
- law of the land
|
||||
- lay down the law
|
||||
- leaps and bounds
|
||||
- let sleeping dogs lie
|
||||
- let the cat out of the bag
|
||||
- let the good times roll
|
||||
- let your hair down
|
||||
- let's talk turkey
|
||||
- letter perfect
|
||||
- lick your wounds
|
||||
- lies like a rug
|
||||
- life's a bitch
|
||||
- life's a grind
|
||||
- light at the end of the tunnel
|
||||
- lighter than a feather
|
||||
- lighter than air
|
||||
- like clockwork
|
||||
- like father like son
|
||||
- like taking candy from a baby
|
||||
- like there's no tomorrow
|
||||
- lion's share
|
||||
- live and learn
|
||||
- live and let live
|
||||
- long and short of it
|
||||
- long lost love
|
||||
- look before you leap
|
||||
- look down your nose
|
||||
- look what the cat dragged in
|
||||
- looking a gift horse in the mouth
|
||||
- looks like death warmed over
|
||||
- loose cannon
|
||||
- lose your head
|
||||
- lose your temper
|
||||
- loud as a horn
|
||||
- lounge lizard
|
||||
- loved and lost
|
||||
- low man on the totem pole
|
||||
- luck of the draw
|
||||
- luck of the Irish
|
||||
- make hay while the sun shines
|
||||
- make money hand over fist
|
||||
- make my day
|
||||
- make the best of a bad situation
|
||||
- make the best of it
|
||||
- make your blood boil
|
||||
- man of few words
|
||||
- man's best friend
|
||||
- mark my words
|
||||
- meaningful dialogue
|
||||
- missed the boat on that one
|
||||
- moment in the sun
|
||||
- moment of glory
|
||||
- moment of truth
|
||||
- money to burn
|
||||
- more power to you
|
||||
- more than one way to skin a cat
|
||||
- movers and shakers
|
||||
- moving experience
|
||||
- naked as a jaybird
|
||||
- naked truth
|
||||
- neat as a pin
|
||||
- needle in a haystack
|
||||
- needless to say
|
||||
- neither here nor there
|
||||
- never look back
|
||||
- never say never
|
||||
- nip and tuck
|
||||
- nip it in the bud
|
||||
- no guts, no glory
|
||||
- no love lost
|
||||
- no pain, no gain
|
||||
- no skin off my back
|
||||
- no stone unturned
|
||||
- no time like the present
|
||||
- no use crying over spilled milk
|
||||
- nose to the grindstone
|
||||
- not a hope in hell
|
||||
- not a minute's peace
|
||||
- not in my backyard
|
||||
- not playing with a full deck
|
||||
- not the end of the world
|
||||
- not written in stone
|
||||
- nothing to sneeze at
|
||||
- nothing ventured nothing gained
|
||||
- now we're cooking
|
||||
- off the top of my head
|
||||
- off the wagon
|
||||
- off the wall
|
||||
- old hat
|
||||
- older and wiser
|
||||
- older than dirt
|
||||
- older than Methuselah
|
||||
- on a roll
|
||||
- on cloud nine
|
||||
- on pins and needles
|
||||
- on the bandwagon
|
||||
- on the money
|
||||
- on the nose
|
||||
- on the rocks
|
||||
- on the spot
|
||||
- on the tip of my tongue
|
||||
- on the wagon
|
||||
- on thin ice
|
||||
- once bitten, twice shy
|
||||
- one bad apple doesn't spoil the bushel
|
||||
- one born every minute
|
||||
- one brick short
|
||||
- one foot in the grave
|
||||
- one in a million
|
||||
- one red cent
|
||||
- only game in town
|
||||
- open a can of worms
|
||||
- open and shut case
|
||||
- open the flood gates
|
||||
- opportunity doesn't knock twice
|
||||
- out of pocket
|
||||
- out of sight, out of mind
|
||||
- out of the frying pan into the fire
|
||||
- out of the woods
|
||||
- out on a limb
|
||||
- over a barrel
|
||||
- over the hump
|
||||
- pain and suffering
|
||||
- pain in the
|
||||
- panic button
|
||||
- par for the course
|
||||
- part and parcel
|
||||
- party pooper
|
||||
- pass the buck
|
||||
- patience is a virtue
|
||||
- pay through the nose
|
||||
- penny pincher
|
||||
- perfect storm
|
||||
- pig in a poke
|
||||
- pile it on
|
||||
- pillar of the community
|
||||
- pin your hopes on
|
||||
- pitter patter of little feet
|
||||
- plain as day
|
||||
- plain as the nose on your face
|
||||
- play by the rules
|
||||
- play your cards right
|
||||
- playing the field
|
||||
- playing with fire
|
||||
- pleased as punch
|
||||
- plenty of fish in the sea
|
||||
- point with pride
|
||||
- poor as a church mouse
|
||||
- pot calling the kettle black
|
||||
- pretty as a picture
|
||||
- pull a fast one
|
||||
- pull your punches
|
||||
- pulling your leg
|
||||
- pure as the driven snow
|
||||
- put it in a nutshell
|
||||
- put one over on you
|
||||
- put the cart before the horse
|
||||
- put the pedal to the metal
|
||||
- put your best foot forward
|
||||
- put your foot down
|
||||
- quick as a bunny
|
||||
- quick as a lick
|
||||
- quick as a wink
|
||||
- quick as lightning
|
||||
- quiet as a dormouse
|
||||
- rags to riches
|
||||
- raining buckets
|
||||
- raining cats and dogs
|
||||
- rank and file
|
||||
- rat race
|
||||
- reap what you sow
|
||||
- red as a beet
|
||||
- red herring
|
||||
- reinvent the wheel
|
||||
- rich and famous
|
||||
- rings a bell
|
||||
- ripe old age
|
||||
- ripped me off
|
||||
- rise and shine
|
||||
- road to hell is paved with good intentions
|
||||
- rob Peter to pay Paul
|
||||
- roll over in the grave
|
||||
- rub the wrong way
|
||||
- ruled the roost
|
||||
- running in circles
|
||||
- sad but true
|
||||
- sadder but wiser
|
||||
- salt of the earth
|
||||
- scared stiff
|
||||
- scared to death
|
||||
- sealed with a kiss
|
||||
- second to none
|
||||
- see eye to eye
|
||||
- seen the light
|
||||
- seize the day
|
||||
- set the record straight
|
||||
- set the world on fire
|
||||
- set your teeth on edge
|
||||
- sharp as a tack
|
||||
- shoot for the moon
|
||||
- shoot the breeze
|
||||
- shot in the dark
|
||||
- shoulder to the wheel
|
||||
- sick as a dog
|
||||
- sigh of relief
|
||||
- signed, sealed, and delivered
|
||||
- sink or swim
|
||||
- six of one, half a dozen of another
|
||||
- skating on thin ice
|
||||
- slept like a log
|
||||
- slinging mud
|
||||
- slippery as an eel
|
||||
- slow as molasses
|
||||
- smart as a whip
|
||||
- smooth as a baby's bottom
|
||||
- sneaking suspicion
|
||||
- snug as a bug in a rug
|
||||
- sow wild oats
|
||||
- spare the rod, spoil the child
|
||||
- speak of the devil
|
||||
- spilled the beans
|
||||
- spinning your wheels
|
||||
- spitting image of
|
||||
- spoke with relish
|
||||
- spread like wildfire
|
||||
- spring to life
|
||||
- squeaky wheel gets the grease
|
||||
- stands out like a sore thumb
|
||||
- start from scratch
|
||||
- stick in the mud
|
||||
- still waters run deep
|
||||
- stitch in time
|
||||
- stop and smell the roses
|
||||
- straight as an arrow
|
||||
- straw that broke the camel's back
|
||||
- strong as an ox
|
||||
- stubborn as a mule
|
||||
- stuff that dreams are made of
|
||||
- stuffed shirt
|
||||
- sweating blood
|
||||
- sweating bullets
|
||||
- take a load off
|
||||
- take one for the team
|
||||
- take the bait
|
||||
- take the bull by the horns
|
||||
- take the plunge
|
||||
- takes one to know one
|
||||
- takes two to tango
|
||||
- the more the merrier
|
||||
- the real deal
|
||||
- the real McCoy
|
||||
- the red carpet treatment
|
||||
- the same old story
|
||||
- there is no accounting for taste
|
||||
- thick as a brick
|
||||
- thick as thieves
|
||||
- thin as a rail
|
||||
- think outside of the box
|
||||
- third time's the charm
|
||||
- this day and age
|
||||
- this hurts me worse than it hurts you
|
||||
- this point in time
|
||||
- three sheets to the wind
|
||||
- through thick and thin
|
||||
- throw in the towel
|
||||
- tie one on
|
||||
- tighter than a drum
|
||||
- time and time again
|
||||
- time is of the essence
|
||||
- tip of the iceberg
|
||||
- tired but happy
|
||||
- to coin a phrase
|
||||
- to each his own
|
||||
- to make a long story short
|
||||
- to the best of my knowledge
|
||||
- toe the line
|
||||
- tongue in cheek
|
||||
- too good to be true
|
||||
- too hot to handle
|
||||
- too numerous to mention
|
||||
- touch with a ten foot pole
|
||||
- tough as nails
|
||||
- trial and error
|
||||
- trials and tribulations
|
||||
- tried and true
|
||||
- trip down memory lane
|
||||
- twist of fate
|
||||
- two cents worth
|
||||
- two peas in a pod
|
||||
- ugly as sin
|
||||
- under the counter
|
||||
- under the gun
|
||||
- under the same roof
|
||||
- under the weather
|
||||
- until the cows come home
|
||||
- unvarnished truth
|
||||
- up the creek
|
||||
- uphill battle
|
||||
- upper crust
|
||||
- upset the applecart
|
||||
- vain attempt
|
||||
- vain effort
|
||||
- vanquish the enemy
|
||||
- vested interest
|
||||
- waiting for the other shoe to drop
|
||||
- wakeup call
|
||||
- warm welcome
|
||||
- watch your p's and q's
|
||||
- watch your tongue
|
||||
- watching the clock
|
||||
- water under the bridge
|
||||
- weather the storm
|
||||
- weed them out
|
||||
- week of Sundays
|
||||
- went belly up
|
||||
- wet behind the ears
|
||||
- what goes around comes around
|
||||
- what you see is what you get
|
||||
- when it rains, it pours
|
||||
- when push comes to shove
|
||||
- when the cat's away
|
||||
- when the going gets tough, the tough get going
|
||||
- white as a sheet
|
||||
- whole ball of wax
|
||||
- whole hog
|
||||
- whole nine yards
|
||||
- wild goose chase
|
||||
- will wonders never cease?
|
||||
- wisdom of the ages
|
||||
- wise as an owl
|
||||
- wolf at the door
|
||||
- words fail me
|
||||
- work like a dog
|
||||
- world weary
|
||||
- worst nightmare
|
||||
- worth its weight in gold
|
||||
- wrong side of the bed
|
||||
- yanking your chain
|
||||
- yappy as a dog
|
||||
- years young
|
||||
- you are what you eat
|
||||
- you can run but you can't hide
|
||||
- you only live once
|
||||
- you're the boss
|
||||
- young and foolish
|
||||
- young and vibrant
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
extends: repetition
|
||||
message: "'%s' is repeated. Try to rewrite the sentence without it."
|
||||
level: warning
|
||||
ignorecase: true
|
||||
alpha: true
|
||||
tokens:
|
||||
- '[\w]+'
|
||||
5
aio/tools/doc-linter/styles/Angular/WriteGood_So.yml
Normal file
5
aio/tools/doc-linter/styles/Angular/WriteGood_So.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends: existence
|
||||
message: "Don't start a sentence with '%s'. Try to rewrite the sentence without it."
|
||||
level: error
|
||||
raw:
|
||||
- '(?:[;-]\s)so[\s,]|So[\s,]'
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "Don't start a sentence with '%s'. Try to rewrite the sentence without it."
|
||||
ignorecase: true
|
||||
level: error
|
||||
raw:
|
||||
- '(?:^[^\w]*|[;-]\s)There\b\s(is|are)\b'
|
||||
188
aio/tools/doc-linter/styles/Angular/WriteGood_TooWordy.yml
Normal file
188
aio/tools/doc-linter/styles/Angular/WriteGood_TooWordy.yml
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
extends: existence
|
||||
message: "See if you can rewrite the sentence with '%s' to use more common words."
|
||||
ignorecase: true
|
||||
level: suggestion
|
||||
tokens:
|
||||
- abundance
|
||||
- accede to
|
||||
- accelerate
|
||||
- accentuate
|
||||
- accompany
|
||||
- accomplish
|
||||
- accorded
|
||||
- accrue
|
||||
- acquiesce
|
||||
- acquire
|
||||
- additional
|
||||
- adjustment
|
||||
- admissible
|
||||
- advantageous
|
||||
- adversely impact
|
||||
- advise
|
||||
- aforementioned
|
||||
- aircraft
|
||||
- all things considered
|
||||
- alleviate
|
||||
- allocate
|
||||
- along the lines of
|
||||
- already existing
|
||||
- alternatively
|
||||
- amazing
|
||||
- ameliorate
|
||||
- anticipate
|
||||
- apparent
|
||||
- appreciable
|
||||
- as a matter of fact
|
||||
- as a means of
|
||||
- as far as I'm concerned
|
||||
- as of yet
|
||||
- as yet
|
||||
- ascertain
|
||||
- at the present time
|
||||
- at this time
|
||||
- attain
|
||||
- attributable to
|
||||
- authorize
|
||||
- because of the fact that
|
||||
- belated
|
||||
- benefit from
|
||||
- bestow
|
||||
- by means of
|
||||
- by virtue of the fact that
|
||||
- by virtue of
|
||||
- cease
|
||||
- close proximity
|
||||
- commence
|
||||
- comply with
|
||||
- concerning
|
||||
- consequently
|
||||
- constitutes
|
||||
- depart
|
||||
- designate
|
||||
- discontinue
|
||||
- due to the fact that
|
||||
- each and every
|
||||
- economical
|
||||
- elucidate
|
||||
- employ
|
||||
- endeavor
|
||||
- enumerate
|
||||
- equitable
|
||||
- equivalent
|
||||
- evidenced
|
||||
- exclusively
|
||||
- expedite
|
||||
- expend
|
||||
- expiration
|
||||
- factual evidence
|
||||
- feasible
|
||||
- first and foremost
|
||||
- for all intents and purposes
|
||||
- for the most part
|
||||
- forfeit
|
||||
- formulate
|
||||
- have a tendency to
|
||||
- honest truth
|
||||
- however
|
||||
- in a manner of speaking
|
||||
- in a timely manner
|
||||
- in a very real sense
|
||||
- in accordance with
|
||||
- in addition
|
||||
- in all likelihood
|
||||
- in an effort to
|
||||
- in excess of
|
||||
- in lieu of
|
||||
- in light of the fact that
|
||||
- in my opinion
|
||||
- in regard to
|
||||
- in some instances
|
||||
- in terms of
|
||||
- in the final analysis
|
||||
- in the nature of
|
||||
- in the near future
|
||||
- inception
|
||||
- incumbent upon
|
||||
- indicate
|
||||
- indication
|
||||
- irregardless
|
||||
- is applicable to
|
||||
- is authorized to
|
||||
- is responsible for
|
||||
- it is essential
|
||||
- it seems that
|
||||
- magnitude
|
||||
- maximum
|
||||
- methodology
|
||||
- minimize
|
||||
- minimum
|
||||
- modify
|
||||
- monitor
|
||||
- necessitate
|
||||
- nevertheless
|
||||
- not certain
|
||||
- not many
|
||||
- not often
|
||||
- not unless
|
||||
- not unlike
|
||||
- notwithstanding
|
||||
- null and void
|
||||
- numerous
|
||||
- objective
|
||||
- obligate
|
||||
- on the contrary
|
||||
- on the other hand
|
||||
- one particular
|
||||
- optimum
|
||||
- overall
|
||||
- owing to the fact that
|
||||
- participate
|
||||
- particulars
|
||||
- pass away
|
||||
- pertaining to
|
||||
- point in time
|
||||
- portion
|
||||
- possess
|
||||
- preclude
|
||||
- previously
|
||||
- prioritize
|
||||
- procure
|
||||
- proficiency
|
||||
- purchase
|
||||
- put simply
|
||||
- readily apparent
|
||||
- refer back
|
||||
- regarding
|
||||
- relocate
|
||||
- remainder
|
||||
- remuneration
|
||||
- requirement
|
||||
- reside
|
||||
- residence
|
||||
- satisfy
|
||||
- seamlessly
|
||||
- shall
|
||||
- should you wish
|
||||
- similar to
|
||||
- solicit
|
||||
- span across
|
||||
- strategize
|
||||
- substantial
|
||||
- successfully complete
|
||||
- terminate
|
||||
- the month of
|
||||
- the point I am trying to make
|
||||
- therefore
|
||||
- time period
|
||||
- took advantage of
|
||||
- transmit
|
||||
- transpire
|
||||
- until such time as
|
||||
- utilization
|
||||
- utilize
|
||||
- validate
|
||||
- various different
|
||||
- what I mean to say is
|
||||
- whether or not
|
||||
- with respect to
|
||||
- witnessed
|
||||
4
aio/tools/doc-linter/styles/Angular/meta.json
Normal file
4
aio/tools/doc-linter/styles/Angular/meta.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"feed": "https://github.com/errata-ai/Google/releases.atom",
|
||||
"vale_version": ">=1.0.0"
|
||||
}
|
||||
0
aio/tools/doc-linter/styles/Angular/vocab.txt
Normal file
0
aio/tools/doc-linter/styles/Angular/vocab.txt
Normal file
2
aio/tools/doc-linter/styles/README.md
Normal file
2
aio/tools/doc-linter/styles/README.md
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
> **NOTE**: These styles have been adapted from the
|
||||
> publicly available styles found at https://github.com/errata-ai/styles.
|
||||
26
aio/tools/doc-linter/styles/Vocab/Angular.txt
Normal file
26
aio/tools/doc-linter/styles/Vocab/Angular.txt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
angular
|
||||
angular's
|
||||
animatable
|
||||
autoprefixer
|
||||
bootstrapper
|
||||
devtools
|
||||
initializer
|
||||
initializers
|
||||
injectable
|
||||
injectables
|
||||
mixins
|
||||
ng
|
||||
ngc
|
||||
ngcc
|
||||
observable
|
||||
onpush
|
||||
preboot
|
||||
preload
|
||||
preloaded
|
||||
preloader
|
||||
preloading
|
||||
preloads
|
||||
prepends
|
||||
profiler
|
||||
rollout
|
||||
routable
|
||||
1
aio/tools/doc-linter/styles/Vocab/Foreign.txt
Normal file
1
aio/tools/doc-linter/styles/Vocab/Foreign.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
bienvenue
|
||||
135
aio/tools/doc-linter/styles/Vocab/Jargon.txt
Normal file
135
aio/tools/doc-linter/styles/Vocab/Jargon.txt
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
accessor
|
||||
accessors
|
||||
autodetect
|
||||
autodetects
|
||||
bitwise
|
||||
boolean
|
||||
booleans
|
||||
breakpoint
|
||||
browserlist
|
||||
bugfix
|
||||
buildable
|
||||
bundler
|
||||
bundlers
|
||||
cacheable
|
||||
callout
|
||||
callouts
|
||||
combinator
|
||||
composability
|
||||
config
|
||||
debounce
|
||||
debouncing
|
||||
declarables
|
||||
declaratively
|
||||
declaratives
|
||||
dev
|
||||
dialogs
|
||||
downlevel
|
||||
downleveled
|
||||
enum
|
||||
enums
|
||||
failsafe
|
||||
falsy
|
||||
fn
|
||||
getters
|
||||
gif
|
||||
github
|
||||
hardcode
|
||||
hardcoded
|
||||
implementors
|
||||
interdependency
|
||||
interdependencies
|
||||
interoperate
|
||||
javascript
|
||||
keydown
|
||||
keyframe
|
||||
keyframes
|
||||
loopback
|
||||
matchers
|
||||
memoization
|
||||
microtask
|
||||
microtasks
|
||||
middleware
|
||||
minifiers
|
||||
minimalistic
|
||||
misconfigured
|
||||
mitigations
|
||||
monorepo
|
||||
multicast
|
||||
multicasting
|
||||
namespace
|
||||
namespaces
|
||||
navigations
|
||||
node_modules
|
||||
noop
|
||||
nullability
|
||||
nullable
|
||||
onboarding
|
||||
onwards
|
||||
params
|
||||
performant
|
||||
polyfill
|
||||
polyfills
|
||||
preprocess
|
||||
preprocessor
|
||||
preprocessors
|
||||
refactorings
|
||||
reflows
|
||||
reimagined
|
||||
renderers
|
||||
repo
|
||||
repurpose
|
||||
reusability
|
||||
rollup
|
||||
runtimes
|
||||
sandboxing
|
||||
sanitization
|
||||
selectorless
|
||||
signup
|
||||
strikethrough
|
||||
subcommand
|
||||
subcommands
|
||||
subcomponents
|
||||
subfields
|
||||
subfolder
|
||||
subfolders
|
||||
suboption
|
||||
subpaths
|
||||
substring
|
||||
subtree
|
||||
subtrees
|
||||
subviews
|
||||
superset
|
||||
syntaxes
|
||||
teardown
|
||||
templated
|
||||
timeframe
|
||||
toolchain
|
||||
toolchains
|
||||
tooltip
|
||||
tooltips
|
||||
transclude
|
||||
transcluded
|
||||
transcluding
|
||||
transclusion
|
||||
transpilation
|
||||
transpile
|
||||
transpiled
|
||||
transpiler
|
||||
transpiles
|
||||
triaging
|
||||
truthy
|
||||
typecheck
|
||||
uncomment
|
||||
unflattened
|
||||
unhashed
|
||||
unoptimized
|
||||
unreferenced
|
||||
unregister
|
||||
unrequested
|
||||
untracked
|
||||
untrusted
|
||||
untyped
|
||||
validator
|
||||
validators
|
||||
walkthrough
|
||||
26
aio/tools/doc-linter/styles/Vocab/Names.txt
Normal file
26
aio/tools/doc-linter/styles/Vocab/Names.txt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
alice
|
||||
bazel
|
||||
bing
|
||||
bombasto
|
||||
chiho
|
||||
heydon
|
||||
homebrew
|
||||
jazdzewski
|
||||
jazdzewski's
|
||||
magneta
|
||||
netlify
|
||||
nginx
|
||||
npm
|
||||
npmjs
|
||||
nvm
|
||||
padma
|
||||
quesenbery
|
||||
rickabaugh
|
||||
savkin
|
||||
savkin's
|
||||
sinatra
|
||||
stackblitz
|
||||
tolisten
|
||||
tslib
|
||||
tslint
|
||||
vercel
|
||||
17
aio/tools/doc-linter/styles/Vocab/Web.txt
Normal file
17
aio/tools/doc-linter/styles/Vocab/Web.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
ajax
|
||||
api
|
||||
async
|
||||
css
|
||||
href
|
||||
html
|
||||
http
|
||||
img
|
||||
src
|
||||
textarea
|
||||
tinypng
|
||||
typings
|
||||
uris
|
||||
url
|
||||
viewport
|
||||
viewports
|
||||
webpack
|
||||
8
aio/tools/doc-linter/styles/proselint/Airlinese.yml
Normal file
8
aio/tools/doc-linter/styles/proselint/Airlinese.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends: existence
|
||||
message: "'%s' is airlinese."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- enplan(?:e|ed|ing|ement)
|
||||
- deplan(?:e|ed|ing|ement)
|
||||
- taking off momentarily
|
||||
46
aio/tools/doc-linter/styles/proselint/AnimalLabels.yml
Normal file
46
aio/tools/doc-linter/styles/proselint/AnimalLabels.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
extends: substitution
|
||||
message: Consider using '%s' instead of '%s'.
|
||||
level: error
|
||||
swap:
|
||||
(?:bull|ox)-like: taurine
|
||||
(?:calf|veal)-like: vituline
|
||||
(?:crow|raven)-like: corvine
|
||||
(?:leopard|panther)-like: pardine
|
||||
bird-like: avine
|
||||
centipede-like: scolopendrine
|
||||
crab-like: cancrine
|
||||
crocodile-like: crocodiline
|
||||
deer-like: damine
|
||||
eagle-like: aquiline
|
||||
earthworm-like: lumbricine
|
||||
falcon-like: falconine
|
||||
ferine: wild animal-like
|
||||
fish-like: piscine
|
||||
fox-like: vulpine
|
||||
frog-like: ranine
|
||||
goat-like: hircine
|
||||
goose-like: anserine
|
||||
gull-like: laridine
|
||||
hare-like: leporine
|
||||
hawk-like: accipitrine
|
||||
hippopotamus-like: hippopotamine
|
||||
lizard-like: lacertine
|
||||
mongoose-like: viverrine
|
||||
mouse-like: murine
|
||||
ostrich-like: struthionine
|
||||
peacock-like: pavonine
|
||||
porcupine-like: hystricine
|
||||
rattlesnake-like: crotaline
|
||||
sable-like: zibeline
|
||||
sheep-like: ovine
|
||||
shrew-like: soricine
|
||||
sparrow-like: passerine
|
||||
swallow-like: hirundine
|
||||
swine-like: suilline
|
||||
tiger-like: tigrine
|
||||
viper-like: viperine
|
||||
vulture-like: vulturine
|
||||
wasp-like: vespine
|
||||
wolf-like: lupine
|
||||
woodpecker-like: picine
|
||||
zebra-like: zebrine
|
||||
9
aio/tools/doc-linter/styles/proselint/Annotations.yml
Normal file
9
aio/tools/doc-linter/styles/proselint/Annotations.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends: existence
|
||||
message: "'%s' left in text."
|
||||
ignorecase: false
|
||||
level: error
|
||||
tokens:
|
||||
- XXX
|
||||
- FIXME
|
||||
- TODO
|
||||
- NOTE
|
||||
6
aio/tools/doc-linter/styles/proselint/Apologizing.yml
Normal file
6
aio/tools/doc-linter/styles/proselint/Apologizing.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "Excessive apologizing: '%s'"
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- More research is needed
|
||||
52
aio/tools/doc-linter/styles/proselint/Archaisms.yml
Normal file
52
aio/tools/doc-linter/styles/proselint/Archaisms.yml
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
extends: existence
|
||||
message: "'%s' is archaic."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- alack
|
||||
- anent
|
||||
- begat
|
||||
- belike
|
||||
- betimes
|
||||
- boughten
|
||||
- brocage
|
||||
- brokage
|
||||
- camarade
|
||||
- chiefer
|
||||
- chiefest
|
||||
- Christiana
|
||||
- completely obsolescent
|
||||
- cozen
|
||||
- divers
|
||||
- deflexion
|
||||
- fain
|
||||
- forsooth
|
||||
- foreclose from
|
||||
- haply
|
||||
- howbeit
|
||||
- illumine
|
||||
- in sooth
|
||||
- maugre
|
||||
- meseems
|
||||
- methinks
|
||||
- nigh
|
||||
- peradventure
|
||||
- perchance
|
||||
- saith
|
||||
- shew
|
||||
- sistren
|
||||
- spake
|
||||
- to wit
|
||||
- verily
|
||||
- whilom
|
||||
- withal
|
||||
- wot
|
||||
- enclosed please find
|
||||
- please find enclosed
|
||||
- enclosed herewith
|
||||
- enclosed herein
|
||||
- inforce
|
||||
- ex postfacto
|
||||
- foreclose from
|
||||
- forewent
|
||||
- for ever
|
||||
6
aio/tools/doc-linter/styles/proselint/But.yml
Normal file
6
aio/tools/doc-linter/styles/proselint/But.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "Do not start a paragraph with a 'but'."
|
||||
level: error
|
||||
scope: paragraph
|
||||
tokens:
|
||||
- ^But
|
||||
782
aio/tools/doc-linter/styles/proselint/Cliches.yml
Normal file
782
aio/tools/doc-linter/styles/proselint/Cliches.yml
Normal file
|
|
@ -0,0 +1,782 @@
|
|||
extends: existence
|
||||
message: "'%s' is a cliche."
|
||||
level: error
|
||||
ignorecase: true
|
||||
tokens:
|
||||
- a chip off the old block
|
||||
- a clean slate
|
||||
- a dark and stormy night
|
||||
- a far cry
|
||||
- a fate worse than death
|
||||
- a fine kettle of fish
|
||||
- a loose cannon
|
||||
- a penny saved is a penny earned
|
||||
- a tough row to hoe
|
||||
- a word to the wise
|
||||
- ace in the hole
|
||||
- acid test
|
||||
- add insult to injury
|
||||
- against all odds
|
||||
- air your dirty laundry
|
||||
- alas and alack
|
||||
- all fun and games
|
||||
- all hell broke loose
|
||||
- all in a day's work
|
||||
- all talk, no action
|
||||
- all thumbs
|
||||
- all your eggs in one basket
|
||||
- all's fair in love and war
|
||||
- all's well that ends well
|
||||
- almighty dollar
|
||||
- American as apple pie
|
||||
- an axe to grind
|
||||
- another day, another dollar
|
||||
- armed to the teeth
|
||||
- as luck would have it
|
||||
- as old as time
|
||||
- as the crow flies
|
||||
- at loose ends
|
||||
- at my wits end
|
||||
- at the end of the day
|
||||
- avoid like the plague
|
||||
- babe in the woods
|
||||
- back against the wall
|
||||
- back in the saddle
|
||||
- back to square one
|
||||
- back to the drawing board
|
||||
- bad to the bone
|
||||
- badge of honor
|
||||
- bald faced liar
|
||||
- bald-faced lie
|
||||
- ballpark figure
|
||||
- banging your head against a brick wall
|
||||
- baptism by fire
|
||||
- barking up the wrong tree
|
||||
- bat out of hell
|
||||
- be all and end all
|
||||
- beat a dead horse
|
||||
- beat around the bush
|
||||
- been there, done that
|
||||
- beggars can't be choosers
|
||||
- behind the eight ball
|
||||
- bend over backwards
|
||||
- benefit of the doubt
|
||||
- bent out of shape
|
||||
- best thing since sliced bread
|
||||
- bet your bottom dollar
|
||||
- better half
|
||||
- better late than never
|
||||
- better mousetrap
|
||||
- better safe than sorry
|
||||
- between a rock and a hard place
|
||||
- between a rock and a hard place
|
||||
- between Scylla and Charybdis
|
||||
- between the devil and the deep blue see
|
||||
- betwixt and between
|
||||
- beyond the pale
|
||||
- bide your time
|
||||
- big as life
|
||||
- big cheese
|
||||
- big fish in a small pond
|
||||
- big man on campus
|
||||
- bigger they are the harder they fall
|
||||
- bird in the hand
|
||||
- bird's eye view
|
||||
- birds and the bees
|
||||
- birds of a feather flock together
|
||||
- bit the hand that feeds you
|
||||
- bite the bullet
|
||||
- bite the dust
|
||||
- bitten off more than he can chew
|
||||
- black as coal
|
||||
- black as pitch
|
||||
- black as the ace of spades
|
||||
- blast from the past
|
||||
- bleeding heart
|
||||
- blessing in disguise
|
||||
- blind ambition
|
||||
- blind as a bat
|
||||
- blind leading the blind
|
||||
- blissful ignorance
|
||||
- blood is thicker than water
|
||||
- blood sweat and tears
|
||||
- blow a fuse
|
||||
- blow off steam
|
||||
- blow your own horn
|
||||
- blushing bride
|
||||
- boils down to
|
||||
- bolt from the blue
|
||||
- bone to pick
|
||||
- bored stiff
|
||||
- bored to tears
|
||||
- bottomless pit
|
||||
- boys will be boys
|
||||
- bright and early
|
||||
- brings home the bacon
|
||||
- broad across the beam
|
||||
- broken record
|
||||
- brought back to reality
|
||||
- bulk large
|
||||
- bull by the horns
|
||||
- bull in a china shop
|
||||
- burn the midnight oil
|
||||
- burning question
|
||||
- burning the candle at both ends
|
||||
- burst your bubble
|
||||
- bury the hatchet
|
||||
- busy as a bee
|
||||
- but that's another story
|
||||
- by hook or by crook
|
||||
- call a spade a spade
|
||||
- called onto the carpet
|
||||
- calm before the storm
|
||||
- can of worms
|
||||
- can't cut the mustard
|
||||
- can't hold a candle to
|
||||
- case of mistaken identity
|
||||
- cast aspersions
|
||||
- cat got your tongue
|
||||
- cat's meow
|
||||
- caught in the crossfire
|
||||
- caught red-handed
|
||||
- chase a red herring
|
||||
- checkered past
|
||||
- chomping at the bit
|
||||
- cleanliness is next to godliness
|
||||
- clear as a bell
|
||||
- clear as mud
|
||||
- close to the vest
|
||||
- cock and bull story
|
||||
- cold shoulder
|
||||
- come hell or high water
|
||||
- comparing apples and oranges
|
||||
- compleat
|
||||
- conspicuous by its absence
|
||||
- cool as a cucumber
|
||||
- cool, calm, and collected
|
||||
- cost a king's ransom
|
||||
- count your blessings
|
||||
- crack of dawn
|
||||
- crash course
|
||||
- creature comforts
|
||||
- cross that bridge when you come to it
|
||||
- crushing blow
|
||||
- cry like a baby
|
||||
- cry me a river
|
||||
- cry over spilt milk
|
||||
- crystal clear
|
||||
- crystal clear
|
||||
- curiosity killed the cat
|
||||
- cut and dried
|
||||
- cut through the red tape
|
||||
- cut to the chase
|
||||
- cute as a bugs ear
|
||||
- cute as a button
|
||||
- cute as a puppy
|
||||
- cuts to the quick
|
||||
- cutting edge
|
||||
- dark before the dawn
|
||||
- day in, day out
|
||||
- dead as a doornail
|
||||
- decision-making process
|
||||
- devil is in the details
|
||||
- dime a dozen
|
||||
- divide and conquer
|
||||
- dog and pony show
|
||||
- dog days
|
||||
- dog eat dog
|
||||
- dog tired
|
||||
- don't burn your bridges
|
||||
- don't count your chickens
|
||||
- don't look a gift horse in the mouth
|
||||
- don't rock the boat
|
||||
- don't step on anyone's toes
|
||||
- don't take any wooden nickels
|
||||
- down and out
|
||||
- down at the heels
|
||||
- down in the dumps
|
||||
- down the hatch
|
||||
- down to earth
|
||||
- draw the line
|
||||
- dressed to kill
|
||||
- dressed to the nines
|
||||
- drives me up the wall
|
||||
- dubious distinction
|
||||
- dull as dishwater
|
||||
- duly authorized
|
||||
- dyed in the wool
|
||||
- eagle eye
|
||||
- ear to the ground
|
||||
- early bird catches the worm
|
||||
- easier said than done
|
||||
- easy as pie
|
||||
- eat your heart out
|
||||
- eat your words
|
||||
- eleventh hour
|
||||
- even the playing field
|
||||
- every dog has its day
|
||||
- every fiber of my being
|
||||
- everything but the kitchen sink
|
||||
- eye for an eye
|
||||
- eyes peeled
|
||||
- face the music
|
||||
- facts of life
|
||||
- fair weather friend
|
||||
- fall by the wayside
|
||||
- fan the flames
|
||||
- far be it from me
|
||||
- fast and loose
|
||||
- feast or famine
|
||||
- feather your nest
|
||||
- feathered friends
|
||||
- few and far between
|
||||
- fifteen minutes of fame
|
||||
- fills the bill
|
||||
- filthy vermin
|
||||
- fine kettle of fish
|
||||
- first and foremost
|
||||
- fish out of water
|
||||
- fishing for a compliment
|
||||
- fit as a fiddle
|
||||
- fit the bill
|
||||
- fit to be tied
|
||||
- flash in the pan
|
||||
- flat as a pancake
|
||||
- flip your lid
|
||||
- flog a dead horse
|
||||
- fly by night
|
||||
- fly the coop
|
||||
- follow your heart
|
||||
- for all intents and purposes
|
||||
- for free
|
||||
- for the birds
|
||||
- for what it's worth
|
||||
- force of nature
|
||||
- force to be reckoned with
|
||||
- forgive and forget
|
||||
- fox in the henhouse
|
||||
- free and easy
|
||||
- free as a bird
|
||||
- fresh as a daisy
|
||||
- full steam ahead
|
||||
- fun in the sun
|
||||
- garbage in, garbage out
|
||||
- gentle as a lamb
|
||||
- get a kick out of
|
||||
- get a leg up
|
||||
- get down and dirty
|
||||
- get the lead out
|
||||
- get to the bottom of
|
||||
- get with the program
|
||||
- get your feet wet
|
||||
- gets my goat
|
||||
- gilding the lily
|
||||
- gilding the lily
|
||||
- give and take
|
||||
- go against the grain
|
||||
- go at it tooth and nail
|
||||
- go for broke
|
||||
- go him one better
|
||||
- go the extra mile
|
||||
- go with the flow
|
||||
- goes without saying
|
||||
- good as gold
|
||||
- good deed for the day
|
||||
- good things come to those who wait
|
||||
- good time was had by all
|
||||
- good times were had by all
|
||||
- greased lightning
|
||||
- greek to me
|
||||
- green thumb
|
||||
- green-eyed monster
|
||||
- grist for the mill
|
||||
- growing like a weed
|
||||
- hair of the dog
|
||||
- hand to mouth
|
||||
- happy as a clam
|
||||
- happy as a lark
|
||||
- hasn't a clue
|
||||
- have a nice day
|
||||
- have a short fuse
|
||||
- have high hopes
|
||||
- have the last laugh
|
||||
- haven't got a row to hoe
|
||||
- he's got his hands full
|
||||
- head honcho
|
||||
- head over heels
|
||||
- hear a pin drop
|
||||
- heard it through the grapevine
|
||||
- heart's content
|
||||
- heavy as lead
|
||||
- hem and haw
|
||||
- high and dry
|
||||
- high and mighty
|
||||
- high as a kite
|
||||
- his own worst enemy
|
||||
- his work cut out for him
|
||||
- hit paydirt
|
||||
- hither and yon
|
||||
- Hobson's choice
|
||||
- hold your head up high
|
||||
- hold your horses
|
||||
- hold your own
|
||||
- hold your tongue
|
||||
- honest as the day is long
|
||||
- horns of a dilemma
|
||||
- horns of a dilemma
|
||||
- horse of a different color
|
||||
- hot under the collar
|
||||
- hour of need
|
||||
- I beg to differ
|
||||
- icing on the cake
|
||||
- if the shoe fits
|
||||
- if the shoe were on the other foot
|
||||
- if you catch my drift
|
||||
- in a jam
|
||||
- in a jiffy
|
||||
- in a nutshell
|
||||
- in a pig's eye
|
||||
- in a pinch
|
||||
- in a word
|
||||
- in hot water
|
||||
- in light of
|
||||
- in the final analysis
|
||||
- in the gutter
|
||||
- in the last analysis
|
||||
- in the nick of time
|
||||
- in the thick of it
|
||||
- in your dreams
|
||||
- innocent bystander
|
||||
- it ain't over till the fat lady sings
|
||||
- it goes without saying
|
||||
- it takes all kinds
|
||||
- it takes one to know one
|
||||
- it's a small world
|
||||
- it's not what you know, it's who you know
|
||||
- it's only a matter of time
|
||||
- ivory tower
|
||||
- Jack of all trades
|
||||
- jockey for position
|
||||
- jog your memory
|
||||
- joined at the hip
|
||||
- judge a book by its cover
|
||||
- jump down your throat
|
||||
- jump in with both feet
|
||||
- jump on the bandwagon
|
||||
- jump the gun
|
||||
- jump to conclusions
|
||||
- just a hop, skip, and a jump
|
||||
- just the ticket
|
||||
- justice is blind
|
||||
- keep a stiff upper lip
|
||||
- keep an eye on
|
||||
- keep it simple, stupid
|
||||
- keep the home fires burning
|
||||
- keep up with the Joneses
|
||||
- keep your chin up
|
||||
- keep your fingers crossed
|
||||
- kick the bucket
|
||||
- kick up your heels
|
||||
- kick your feet up
|
||||
- kid in a candy store
|
||||
- kill two birds with one stone
|
||||
- kiss of death
|
||||
- knock it out of the park
|
||||
- knock on wood
|
||||
- knock your socks off
|
||||
- know him from Adam
|
||||
- know the ropes
|
||||
- know the score
|
||||
- knuckle down
|
||||
- knuckle sandwich
|
||||
- knuckle under
|
||||
- labor of love
|
||||
- ladder of success
|
||||
- land on your feet
|
||||
- lap of luxury
|
||||
- last but not least
|
||||
- last but not least
|
||||
- last hurrah
|
||||
- last-ditch effort
|
||||
- law of the jungle
|
||||
- law of the land
|
||||
- lay down the law
|
||||
- leaps and bounds
|
||||
- let sleeping dogs lie
|
||||
- let the cat out of the bag
|
||||
- let the good times roll
|
||||
- let your hair down
|
||||
- let's talk turkey
|
||||
- letter perfect
|
||||
- lick your wounds
|
||||
- lies like a rug
|
||||
- life's a bitch
|
||||
- life's a grind
|
||||
- light at the end of the tunnel
|
||||
- lighter than a feather
|
||||
- lighter than air
|
||||
- like clockwork
|
||||
- like father like son
|
||||
- like taking candy from a baby
|
||||
- like there's no tomorrow
|
||||
- lion's share
|
||||
- live and learn
|
||||
- live and let live
|
||||
- long and short of it
|
||||
- long lost love
|
||||
- look before you leap
|
||||
- look down your nose
|
||||
- look what the cat dragged in
|
||||
- looking a gift horse in the mouth
|
||||
- looks like death warmed over
|
||||
- loose cannon
|
||||
- lose your head
|
||||
- lose your temper
|
||||
- loud as a horn
|
||||
- lounge lizard
|
||||
- loved and lost
|
||||
- low man on the totem pole
|
||||
- luck of the draw
|
||||
- luck of the Irish
|
||||
- make a mockery of
|
||||
- make hay while the sun shines
|
||||
- make money hand over fist
|
||||
- make my day
|
||||
- make the best of a bad situation
|
||||
- make the best of it
|
||||
- make your blood boil
|
||||
- male chauvinism
|
||||
- man of few words
|
||||
- man's best friend
|
||||
- mark my words
|
||||
- meaningful dialogue
|
||||
- missed the boat on that one
|
||||
- moment in the sun
|
||||
- moment of glory
|
||||
- moment of truth
|
||||
- moment of truth
|
||||
- money to burn
|
||||
- more in sorrow than in anger
|
||||
- more power to you
|
||||
- more sinned against than sinning
|
||||
- more than one way to skin a cat
|
||||
- movers and shakers
|
||||
- moving experience
|
||||
- my better half
|
||||
- naked as a jaybird
|
||||
- naked truth
|
||||
- neat as a pin
|
||||
- needle in a haystack
|
||||
- needless to say
|
||||
- neither here nor there
|
||||
- never look back
|
||||
- never say never
|
||||
- nip and tuck
|
||||
- nip in the bud
|
||||
- nip it in the bud
|
||||
- no guts, no glory
|
||||
- no love lost
|
||||
- no pain, no gain
|
||||
- no skin off my back
|
||||
- no stone unturned
|
||||
- no time like the present
|
||||
- no use crying over spilled milk
|
||||
- nose to the grindstone
|
||||
- not a hope in hell
|
||||
- not a minute's peace
|
||||
- not in my backyard
|
||||
- not playing with a full deck
|
||||
- not the end of the world
|
||||
- not written in stone
|
||||
- nothing to sneeze at
|
||||
- nothing ventured nothing gained
|
||||
- now we're cooking
|
||||
- off the top of my head
|
||||
- off the wagon
|
||||
- off the wall
|
||||
- old hat
|
||||
- olden days
|
||||
- older and wiser
|
||||
- older than dirt
|
||||
- older than Methuselah
|
||||
- on a roll
|
||||
- on cloud nine
|
||||
- on pins and needles
|
||||
- on the bandwagon
|
||||
- on the money
|
||||
- on the nose
|
||||
- on the rocks
|
||||
- on the same page
|
||||
- on the spot
|
||||
- on the tip of my tongue
|
||||
- on the wagon
|
||||
- on thin ice
|
||||
- once bitten, twice shy
|
||||
- one bad apple doesn't spoil the bushel
|
||||
- one born every minute
|
||||
- one brick short
|
||||
- one foot in the grave
|
||||
- one in a million
|
||||
- one red cent
|
||||
- only game in town
|
||||
- open a can of worms
|
||||
- open and shut case
|
||||
- open the flood gates
|
||||
- opportunity doesn't knock twice
|
||||
- out of pocket
|
||||
- out of sight, out of mind
|
||||
- out of the frying pan into the fire
|
||||
- out of the woods
|
||||
- out on a limb
|
||||
- over a barrel
|
||||
- over the hump
|
||||
- pain and suffering
|
||||
- pain in the
|
||||
- panic button
|
||||
- par for the course
|
||||
- part and parcel
|
||||
- party pooper
|
||||
- pass the buck
|
||||
- patience is a virtue
|
||||
- pay through the nose
|
||||
- penny pincher
|
||||
- perfect storm
|
||||
- pig in a poke
|
||||
- pile it on
|
||||
- pillar of the community
|
||||
- pin your hopes on
|
||||
- pitter patter of little feet
|
||||
- plain as day
|
||||
- plain as the nose on your face
|
||||
- play by the rules
|
||||
- play your cards right
|
||||
- playing the field
|
||||
- playing with fire
|
||||
- pleased as punch
|
||||
- plenty of fish in the sea
|
||||
- point with pride
|
||||
- poor as a church mouse
|
||||
- pot calling the kettle black
|
||||
- presidential timber
|
||||
- pretty as a picture
|
||||
- pull a fast one
|
||||
- pull your punches
|
||||
- pulled no punches
|
||||
- pulling your leg
|
||||
- pure as the driven snow
|
||||
- put it in a nutshell
|
||||
- put one over on you
|
||||
- put the cart before the horse
|
||||
- put the pedal to the metal
|
||||
- put your best foot forward
|
||||
- put your foot down
|
||||
- quantum jump
|
||||
- quantum leap
|
||||
- quick as a bunny
|
||||
- quick as a lick
|
||||
- quick as a wink
|
||||
- quick as lightning
|
||||
- quiet as a dormouse
|
||||
- rags to riches
|
||||
- raining buckets
|
||||
- raining cats and dogs
|
||||
- rank and file
|
||||
- rat race
|
||||
- reap what you sow
|
||||
- red as a beet
|
||||
- red herring
|
||||
- redound to one's credit
|
||||
- redound to the benefit of
|
||||
- reinvent the wheel
|
||||
- rich and famous
|
||||
- rings a bell
|
||||
- ripe old age
|
||||
- ripped me off
|
||||
- rise and shine
|
||||
- road to hell is paved with good intentions
|
||||
- rob Peter to pay Paul
|
||||
- roll over in the grave
|
||||
- rub the wrong way
|
||||
- ruled the roost
|
||||
- running in circles
|
||||
- sad but true
|
||||
- sadder but wiser
|
||||
- salt of the earth
|
||||
- scared stiff
|
||||
- scared to death
|
||||
- sea change
|
||||
- sealed with a kiss
|
||||
- second to none
|
||||
- see eye to eye
|
||||
- seen the light
|
||||
- seize the day
|
||||
- set the record straight
|
||||
- set the world on fire
|
||||
- set your teeth on edge
|
||||
- sharp as a tack
|
||||
- shirked his duties
|
||||
- shoot for the moon
|
||||
- shoot the breeze
|
||||
- shot in the dark
|
||||
- shoulder to the wheel
|
||||
- sick as a dog
|
||||
- sigh of relief
|
||||
- signed, sealed, and delivered
|
||||
- sink or swim
|
||||
- six of one, half a dozen of another
|
||||
- six of one, half a dozen of the other
|
||||
- skating on thin ice
|
||||
- slept like a log
|
||||
- slinging mud
|
||||
- slippery as an eel
|
||||
- slow as molasses
|
||||
- smart as a whip
|
||||
- smooth as a baby's bottom
|
||||
- sneaking suspicion
|
||||
- snug as a bug in a rug
|
||||
- sow wild oats
|
||||
- spare the rod, spoil the child
|
||||
- speak of the devil
|
||||
- spilled the beans
|
||||
- spinning your wheels
|
||||
- spitting image of
|
||||
- spoke with relish
|
||||
- spread like wildfire
|
||||
- spring to life
|
||||
- squeaky wheel gets the grease
|
||||
- stands out like a sore thumb
|
||||
- start from scratch
|
||||
- stick in the mud
|
||||
- still waters run deep
|
||||
- stitch in time
|
||||
- stop and smell the roses
|
||||
- straight as an arrow
|
||||
- straw that broke the camel's back
|
||||
- stretched to the breaking point
|
||||
- strong as an ox
|
||||
- stubborn as a mule
|
||||
- stuff that dreams are made of
|
||||
- stuffed shirt
|
||||
- sweating blood
|
||||
- sweating bullets
|
||||
- take a load off
|
||||
- take one for the team
|
||||
- take the bait
|
||||
- take the bull by the horns
|
||||
- take the plunge
|
||||
- takes one to know one
|
||||
- takes two to tango
|
||||
- than you can shake a stick at
|
||||
- the cream of the crop
|
||||
- the cream rises to the top
|
||||
- the more the merrier
|
||||
- the real deal
|
||||
- the real McCoy
|
||||
- the red carpet treatment
|
||||
- the same old story
|
||||
- the straw that broke the camel's back
|
||||
- there is no accounting for taste
|
||||
- thick as a brick
|
||||
- thick as thieves
|
||||
- thick as thieves
|
||||
- thin as a rail
|
||||
- think outside of the box
|
||||
- thinking outside the box
|
||||
- third time's the charm
|
||||
- this day and age
|
||||
- this hurts me worse than it hurts you
|
||||
- this point in time
|
||||
- thought leaders?
|
||||
- three sheets to the wind
|
||||
- through thick and thin
|
||||
- throw in the towel
|
||||
- throw the baby out with the bathwater
|
||||
- tie one on
|
||||
- tighter than a drum
|
||||
- time and time again
|
||||
- time is of the essence
|
||||
- tip of the iceberg
|
||||
- tired but happy
|
||||
- to coin a phrase
|
||||
- to each his own
|
||||
- to make a long story short
|
||||
- to the best of my knowledge
|
||||
- toe the line
|
||||
- tongue in cheek
|
||||
- too good to be true
|
||||
- too hot to handle
|
||||
- too numerous to mention
|
||||
- touch with a ten foot pole
|
||||
- tough as nails
|
||||
- trial and error
|
||||
- trials and tribulations
|
||||
- tried and true
|
||||
- trip down memory lane
|
||||
- twist of fate
|
||||
- two cents worth
|
||||
- two peas in a pod
|
||||
- ugly as sin
|
||||
- under the counter
|
||||
- under the gun
|
||||
- under the same roof
|
||||
- under the weather
|
||||
- until the cows come home
|
||||
- unvarnished truth
|
||||
- up the creek
|
||||
- uphill battle
|
||||
- upper crust
|
||||
- upset the applecart
|
||||
- vain attempt
|
||||
- vain effort
|
||||
- vanquish the enemy
|
||||
- various and sundry
|
||||
- vested interest
|
||||
- viable alternative
|
||||
- waiting for the other shoe to drop
|
||||
- wakeup call
|
||||
- warm welcome
|
||||
- watch your p's and q's
|
||||
- watch your tongue
|
||||
- watching the clock
|
||||
- water under the bridge
|
||||
- wax eloquent
|
||||
- wax poetic
|
||||
- we've got a situation here
|
||||
- weather the storm
|
||||
- weed them out
|
||||
- week of Sundays
|
||||
- went belly up
|
||||
- wet behind the ears
|
||||
- what goes around comes around
|
||||
- what you see is what you get
|
||||
- when it rains, it pours
|
||||
- when push comes to shove
|
||||
- when the cat's away
|
||||
- when the going gets tough, the tough get going
|
||||
- whet (?:the|your) appetite
|
||||
- white as a sheet
|
||||
- whole ball of wax
|
||||
- whole hog
|
||||
- whole nine yards
|
||||
- wild goose chase
|
||||
- will wonders never cease?
|
||||
- wisdom of the ages
|
||||
- wise as an owl
|
||||
- wolf at the door
|
||||
- wool pulled over our eyes
|
||||
- words fail me
|
||||
- work like a dog
|
||||
- world weary
|
||||
- worst nightmare
|
||||
- worth its weight in gold
|
||||
- writ large
|
||||
- wrong side of the bed
|
||||
- yanking your chain
|
||||
- yappy as a dog
|
||||
- years young
|
||||
- you are what you eat
|
||||
- you can run but you can't hide
|
||||
- you only live once
|
||||
- you're the boss
|
||||
- young and foolish
|
||||
- young and vibrant
|
||||
30
aio/tools/doc-linter/styles/proselint/CorporateSpeak.yml
Normal file
30
aio/tools/doc-linter/styles/proselint/CorporateSpeak.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
extends: existence
|
||||
message: "'%s' is corporate speak."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- at the end of the day
|
||||
- back to the drawing board
|
||||
- hit the ground running
|
||||
- get the ball rolling
|
||||
- low-hanging fruit
|
||||
- thrown under the bus
|
||||
- think outside the box
|
||||
- let's touch base
|
||||
- get my manager's blessing
|
||||
- it's on my radar
|
||||
- ping me
|
||||
- i don't have the bandwidth
|
||||
- no brainer
|
||||
- par for the course
|
||||
- bang for your buck
|
||||
- synergy
|
||||
- move the goal post
|
||||
- apples to apples
|
||||
- win-win
|
||||
- circle back around
|
||||
- all hands on deck
|
||||
- take this offline
|
||||
- drill-down
|
||||
- elephant in the room
|
||||
- on my plate
|
||||
5
aio/tools/doc-linter/styles/proselint/Currency.yml
Normal file
5
aio/tools/doc-linter/styles/proselint/Currency.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends: existence
|
||||
message: "Incorrect use of symbols in '%s'."
|
||||
ignorecase: true
|
||||
raw:
|
||||
- \$[\d]* ?(?:dollars|usd|us dollars)
|
||||
15
aio/tools/doc-linter/styles/proselint/Cursing.yml
Normal file
15
aio/tools/doc-linter/styles/proselint/Cursing.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
extends: existence
|
||||
message: "Consider replacing '%s'."
|
||||
level: error
|
||||
ignorecase: true
|
||||
tokens:
|
||||
- shit
|
||||
- piss
|
||||
- fuck
|
||||
- cunt
|
||||
- cocksucker
|
||||
- motherfucker
|
||||
- tits
|
||||
- fart
|
||||
- turd
|
||||
- twat
|
||||
7
aio/tools/doc-linter/styles/proselint/DateCase.yml
Normal file
7
aio/tools/doc-linter/styles/proselint/DateCase.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends: existence
|
||||
message: With lowercase letters, the periods are standard.
|
||||
ignorecase: true
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\d{1,2} ?[ap]m'
|
||||
7
aio/tools/doc-linter/styles/proselint/DateMidnight.yml
Normal file
7
aio/tools/doc-linter/styles/proselint/DateMidnight.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends: existence
|
||||
message: "Use 'midnight' or 'noon'."
|
||||
ignorecase: true
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '12 ?[ap]\.?m\.?'
|
||||
10
aio/tools/doc-linter/styles/proselint/DateRedundancy.yml
Normal file
10
aio/tools/doc-linter/styles/proselint/DateRedundancy.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends: existence
|
||||
message: "'a.m.' is always morning; 'p.m.' is always night."
|
||||
ignorecase: true
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\d{1,2} ?a\.?m\.? in the morning'
|
||||
- '\d{1,2} ?p\.?m\.? in the evening'
|
||||
- '\d{1,2} ?p\.?m\.? at night'
|
||||
- '\d{1,2} ?p\.?m\.? in the afternoon'
|
||||
7
aio/tools/doc-linter/styles/proselint/DateSpacing.yml
Normal file
7
aio/tools/doc-linter/styles/proselint/DateSpacing.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends: existence
|
||||
message: "It's standard to put a space before '%s'"
|
||||
ignorecase: true
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\d{1,2}[ap]\.?m\.?'
|
||||
50
aio/tools/doc-linter/styles/proselint/DenizenLabels.yml
Normal file
50
aio/tools/doc-linter/styles/proselint/DenizenLabels.yml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
extends: substitution
|
||||
message: Did you mean '%s'?
|
||||
ignorecase: false
|
||||
swap:
|
||||
(?:Afrikaaner|Afrikander): Afrikaner
|
||||
(?:Hong Kongite|Hong Kongian): Hong Konger
|
||||
(?:Indianan|Indianian): Hoosier
|
||||
(?:Michiganite|Michiganian): Michigander
|
||||
(?:New Hampshireite|New Hampshireman): New Hampshirite
|
||||
(?:Newcastlite|Newcastleite): Novocastrian
|
||||
(?:Providencian|Providencer): Providentian
|
||||
(?:Trentian|Trentonian): Tridentine
|
||||
(?:Warsawer|Warsawian): Varsovian
|
||||
(?:Wolverhamptonite|Wolverhamptonian): Wulfrunian
|
||||
Alabaman: Alabamian
|
||||
Albuquerquian: Albuquerquean
|
||||
Anchoragite: Anchorageite
|
||||
Arizonian: Arizonan
|
||||
Arkansawyer: Arkansan
|
||||
Belarusan: Belarusian
|
||||
Cayman Islander: Caymanian
|
||||
Coloradoan: Coloradan
|
||||
Connecticuter: Nutmegger
|
||||
Fairbanksian: Fairbanksan
|
||||
Fort Worther: Fort Worthian
|
||||
Grenadian: Grenadan
|
||||
Halifaxer: Haligonian
|
||||
Hartlepoolian: Hartlepudlian
|
||||
Illinoisian: Illinoisan
|
||||
Iowegian: Iowan
|
||||
Leedsian: Leodenisian
|
||||
Liverpoolian: Liverpudlian
|
||||
Los Angelean: Angeleno
|
||||
Manchesterian: Mancunian
|
||||
Minneapolisian: Minneapolitan
|
||||
Missouran: Missourian
|
||||
Monacan: Monegasque
|
||||
Neopolitan: Neapolitan
|
||||
New Jerseyite: New Jerseyan
|
||||
New Orleansian: New Orleanian
|
||||
Oklahoma Citian: Oklahoma Cityan
|
||||
Oklahomian: Oklahoman
|
||||
Saudi Arabian: Saudi
|
||||
Seattlite: Seattleite
|
||||
Surinamer: Surinamese
|
||||
Tallahassean: Tallahasseean
|
||||
Tennesseean: Tennessean
|
||||
Trois-Rivièrester: Trifluvian
|
||||
Utahan: Utahn
|
||||
Valladolidian: Vallisoletano
|
||||
93
aio/tools/doc-linter/styles/proselint/Diacritical.yml
Normal file
93
aio/tools/doc-linter/styles/proselint/Diacritical.yml
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
extends: substitution
|
||||
message: Consider using '%s' instead of '%s'.
|
||||
ignorecase: true
|
||||
level: error
|
||||
swap:
|
||||
beau ideal: beau idéal
|
||||
boutonniere: boutonnière
|
||||
bric-a-brac: bric-à-brac
|
||||
cafe: café
|
||||
cause celebre: cause célèbre
|
||||
chevre: chèvre
|
||||
cliche: cliché
|
||||
consomme: consommé
|
||||
coup de grace: coup de grâce
|
||||
crudites: crudités
|
||||
creme brulee: crème brûlée
|
||||
creme de menthe: crème de menthe
|
||||
creme fraice: crème fraîche
|
||||
creme fresh: crème fraîche
|
||||
crepe: crêpe
|
||||
debutante: débutante
|
||||
decor: décor
|
||||
deja vu: déjà vu
|
||||
denouement: dénouement
|
||||
facade: façade
|
||||
fiance: fiancé
|
||||
fiancee: fiancée
|
||||
flambe: flambé
|
||||
garcon: garçon
|
||||
lycee: lycée
|
||||
maitre d: maître d
|
||||
menage a trois: ménage à trois
|
||||
negligee: négligée
|
||||
protege: protégé
|
||||
protegee: protégée
|
||||
puree: purée
|
||||
my resume: my résumé
|
||||
your resume: your résumé
|
||||
his resume: his résumé
|
||||
her resume: her résumé
|
||||
a resume: a résumé
|
||||
the resume: the résumé
|
||||
risque: risqué
|
||||
roue: roué
|
||||
soiree: soirée
|
||||
souffle: soufflé
|
||||
soupcon: soupçon
|
||||
touche: touché
|
||||
tete-a-tete: tête-à-tête
|
||||
voila: voilà
|
||||
a la carte: à la carte
|
||||
a la mode: à la mode
|
||||
emigre: émigré
|
||||
|
||||
# Spanish loanwords
|
||||
El Nino: El Niño
|
||||
jalapeno: jalapeño
|
||||
La Nina: La Niña
|
||||
pina colada: piña colada
|
||||
senor: señor
|
||||
senora: señora
|
||||
senorita: señorita
|
||||
|
||||
# Portuguese loanwords
|
||||
acai: açaí
|
||||
|
||||
# German loanwords
|
||||
doppelganger: doppelgänger
|
||||
Fuhrer: Führer
|
||||
Gewurztraminer: Gewürztraminer
|
||||
vis-a-vis: vis-à-vis
|
||||
Ubermensch: Übermensch
|
||||
|
||||
# Swedish loanwords
|
||||
filmjolk: filmjölk
|
||||
smorgasbord: smörgåsbord
|
||||
|
||||
# Names, places, and companies
|
||||
Beyonce: Beyoncé
|
||||
Bronte: Brontë
|
||||
Champs-Elysees: Champs-Élysées
|
||||
Citroen: Citroën
|
||||
Curacao: Curaçao
|
||||
Lowenbrau: Löwenbräu
|
||||
Monegasque: Monégasque
|
||||
Motley Crue: Mötley Crüe
|
||||
Nescafe: Nescafé
|
||||
Queensryche: Queensrÿche
|
||||
Quebec: Québec
|
||||
Quebecois: Québécois
|
||||
Angstrom: Ångström
|
||||
angstrom: ångström
|
||||
Skoda: Škoda
|
||||
43
aio/tools/doc-linter/styles/proselint/GenderBias.yml
Normal file
43
aio/tools/doc-linter/styles/proselint/GenderBias.yml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
extends: substitution
|
||||
message: Consider using '%s' instead of '%s'.
|
||||
ignorecase: true
|
||||
level: error
|
||||
swap:
|
||||
(?:alumnae|alumni): graduates
|
||||
(?:alumna|alumnus): graduate
|
||||
air(?:m[ae]n|wom[ae]n): pilot(s)
|
||||
anchor(?:m[ae]n|wom[ae]n): anchor(s)
|
||||
authoress: author
|
||||
camera(?:m[ae]n|wom[ae]n): camera operator(s)
|
||||
chair(?:m[ae]n|wom[ae]n): chair(s)
|
||||
congress(?:m[ae]n|wom[ae]n): member(s) of congress
|
||||
door(?:m[ae]|wom[ae]n): concierge(s)
|
||||
draft(?:m[ae]n|wom[ae]n): drafter(s)
|
||||
fire(?:m[ae]n|wom[ae]n): firefighter(s)
|
||||
fisher(?:m[ae]n|wom[ae]n): fisher(s)
|
||||
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
|
||||
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
|
||||
lady lawyer: lawyer
|
||||
ladylike: courteous
|
||||
landlord: building manager
|
||||
mail(?:m[ae]n|wom[ae]n): mail carriers
|
||||
man and wife: husband and wife
|
||||
man enough: strong enough
|
||||
mankind: human kind
|
||||
manmade: manufactured
|
||||
men and girls: men and women
|
||||
middle(?:m[ae]n|wom[ae]n): intermediary
|
||||
news(?:m[ae]n|wom[ae]n): journalist(s)
|
||||
ombuds(?:man|woman): ombuds
|
||||
oneupmanship: upstaging
|
||||
poetess: poet
|
||||
police(?:m[ae]n|wom[ae]n): police officer(s)
|
||||
repair(?:m[ae]n|wom[ae]n): technician(s)
|
||||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
|
||||
service(?:m[ae]n|wom[ae]n): soldier(s)
|
||||
steward(?:ess)?: flight attendant
|
||||
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
|
||||
waitress: waiter
|
||||
woman doctor: doctor
|
||||
woman scientist[s]?: scientist(s)
|
||||
work(?:m[ae]n|wom[ae]n): worker(s)
|
||||
37
aio/tools/doc-linter/styles/proselint/GroupTerms.yml
Normal file
37
aio/tools/doc-linter/styles/proselint/GroupTerms.yml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
extends: substitution
|
||||
message: Consider using '%s' instead of '%s'.
|
||||
ignorecase: true
|
||||
swap:
|
||||
(?:bunch|group|pack|flock) of chickens: brood of chickens
|
||||
(?:bunch|group|pack|flock) of crows: murder of crows
|
||||
(?:bunch|group|pack|flock) of hawks: cast of hawks
|
||||
(?:bunch|group|pack|flock) of parrots: pandemonium of parrots
|
||||
(?:bunch|group|pack|flock) of peacocks: muster of peacocks
|
||||
(?:bunch|group|pack|flock) of penguins: muster of penguins
|
||||
(?:bunch|group|pack|flock) of sparrows: host of sparrows
|
||||
(?:bunch|group|pack|flock) of turkeys: rafter of turkeys
|
||||
(?:bunch|group|pack|flock) of woodpeckers: descent of woodpeckers
|
||||
(?:bunch|group|pack|herd) of apes: shrewdness of apes
|
||||
(?:bunch|group|pack|herd) of baboons: troop of baboons
|
||||
(?:bunch|group|pack|herd) of badgers: cete of badgers
|
||||
(?:bunch|group|pack|herd) of bears: sloth of bears
|
||||
(?:bunch|group|pack|herd) of bullfinches: bellowing of bullfinches
|
||||
(?:bunch|group|pack|herd) of bullocks: drove of bullocks
|
||||
(?:bunch|group|pack|herd) of caterpillars: army of caterpillars
|
||||
(?:bunch|group|pack|herd) of cats: clowder of cats
|
||||
(?:bunch|group|pack|herd) of colts: rag of colts
|
||||
(?:bunch|group|pack|herd) of crocodiles: bask of crocodiles
|
||||
(?:bunch|group|pack|herd) of dolphins: school of dolphins
|
||||
(?:bunch|group|pack|herd) of foxes: skulk of foxes
|
||||
(?:bunch|group|pack|herd) of gorillas: band of gorillas
|
||||
(?:bunch|group|pack|herd) of hippopotami: bloat of hippopotami
|
||||
(?:bunch|group|pack|herd) of horses: drove of horses
|
||||
(?:bunch|group|pack|herd) of jellyfish: fluther of jellyfish
|
||||
(?:bunch|group|pack|herd) of kangeroos: mob of kangeroos
|
||||
(?:bunch|group|pack|herd) of monkeys: troop of monkeys
|
||||
(?:bunch|group|pack|herd) of oxen: yoke of oxen
|
||||
(?:bunch|group|pack|herd) of rhinoceros: crash of rhinoceros
|
||||
(?:bunch|group|pack|herd) of wild boar: sounder of wild boar
|
||||
(?:bunch|group|pack|herd) of wild pigs: drift of wild pigs
|
||||
(?:bunch|group|pack|herd) of zebras: zeal of wild pigs
|
||||
(?:bunch|group|pack|school) of trout: hover of trout
|
||||
8
aio/tools/doc-linter/styles/proselint/Hedging.yml
Normal file
8
aio/tools/doc-linter/styles/proselint/Hedging.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends: existence
|
||||
message: "'%s' is hedging."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- I would argue that
|
||||
- ', so to speak'
|
||||
- to a certain degree
|
||||
7
aio/tools/doc-linter/styles/proselint/Hyperbole.yml
Normal file
7
aio/tools/doc-linter/styles/proselint/Hyperbole.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends: existence
|
||||
message: "'%s' is hyperbolic."
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '[a-z]*[!]{2,}'
|
||||
- '[a-z]*\?{2,}'
|
||||
6
aio/tools/doc-linter/styles/proselint/Illusions.yml
Normal file
6
aio/tools/doc-linter/styles/proselint/Illusions.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "'%s' - There's a lexical illusion here."
|
||||
tokens:
|
||||
- the\sthe
|
||||
- am\sam
|
||||
- has\shas
|
||||
11
aio/tools/doc-linter/styles/proselint/Jargon.yml
Normal file
11
aio/tools/doc-linter/styles/proselint/Jargon.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends: existence
|
||||
message: "'%s' is jargon."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- in the affirmative
|
||||
- in the negative
|
||||
- agendize
|
||||
- per your order
|
||||
- per your request
|
||||
- disincentivize
|
||||
13
aio/tools/doc-linter/styles/proselint/LGBTOffensive.yml
Normal file
13
aio/tools/doc-linter/styles/proselint/LGBTOffensive.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends: existence
|
||||
message: "'%s' is offensive. Remove it or consider the context."
|
||||
ignorecase: true
|
||||
tokens:
|
||||
- fag
|
||||
- faggot
|
||||
- dyke
|
||||
- sodomite
|
||||
- homosexual agenda
|
||||
- gay agenda
|
||||
- transvestite
|
||||
- homosexual lifestyle
|
||||
- gay lifestyle
|
||||
13
aio/tools/doc-linter/styles/proselint/LGBTTerms.yml
Normal file
13
aio/tools/doc-linter/styles/proselint/LGBTTerms.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends: substitution
|
||||
message: "Consider using '%s' instead of '%s'."
|
||||
ignorecase: true
|
||||
swap:
|
||||
homosexual man: gay man
|
||||
homosexual men: gay men
|
||||
homosexual woman: lesbian
|
||||
homosexual women: lesbians
|
||||
homosexual people: gay people
|
||||
homosexual couple: gay couple
|
||||
sexual preference: sexual orientation
|
||||
(?:admitted homosexual|avowed homosexual): openly gay
|
||||
special rights: equal rights
|
||||
8
aio/tools/doc-linter/styles/proselint/Malapropisms.yml
Normal file
8
aio/tools/doc-linter/styles/proselint/Malapropisms.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends: existence
|
||||
message: "'%s' is a malapropism."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- the infinitesimal universe
|
||||
- a serial experience
|
||||
- attack my voracity
|
||||
359
aio/tools/doc-linter/styles/proselint/Needless.yml
Normal file
359
aio/tools/doc-linter/styles/proselint/Needless.yml
Normal file
|
|
@ -0,0 +1,359 @@
|
|||
# Modifications:
|
||||
#
|
||||
# removed "extensible" to allow Extensible Markup Language
|
||||
#
|
||||
extends: substitution
|
||||
message: Prefer '%s' over '%s'
|
||||
ignorecase: true
|
||||
swap:
|
||||
'(?:cell phone|cell-phone)': cellphone
|
||||
'(?:cliquey|cliquy)': cliquish
|
||||
'(?:pygmean|pygmaen)': pygmy
|
||||
'(?:retributional|retributionary)': retributive
|
||||
'(?:revokable|revokeable)': revocable
|
||||
abolishment: abolition
|
||||
accessary: accessory
|
||||
accreditate: accredit
|
||||
accruement: accrual
|
||||
accusee: accused
|
||||
acquaintanceship: acquaintance
|
||||
acquitment: acquittal
|
||||
administrate: administer
|
||||
administrated: administered
|
||||
administrating: administering
|
||||
adulterate: adulterous
|
||||
advisatory: advisory
|
||||
advocator: advocate
|
||||
aggrievance: grievance
|
||||
allegator: alleger
|
||||
allusory: allusive
|
||||
amative: amorous
|
||||
amortizement: amortization
|
||||
amphiboly: amphibology
|
||||
anecdotalist: anecdotist
|
||||
anilinctus: anilingus
|
||||
anticipative: anticipatory
|
||||
antithetic: antithetical
|
||||
applicative: applicable
|
||||
applicatory: applicable
|
||||
applier: applicator
|
||||
approbative: approbatory
|
||||
arbitrager: arbitrageur
|
||||
arsenous: arsenious
|
||||
ascendance: ascendancy
|
||||
ascendence: ascendancy
|
||||
ascendency: ascendancy
|
||||
auctorial: authorial
|
||||
averral: averment
|
||||
barbwire: barbed wire
|
||||
benefic: beneficent
|
||||
benignant: benign
|
||||
bestowment: bestowal
|
||||
betrothment: betrothal
|
||||
blamableness: blameworthiness
|
||||
butt naked: buck naked
|
||||
camarade: comrade
|
||||
carta blanca: carte blanche
|
||||
casualities: casualties
|
||||
casuality: casualty
|
||||
catch on fire: catch fire
|
||||
catholicly: catholically
|
||||
cease fire: ceasefire
|
||||
channelize: channel
|
||||
chaplainship: chaplaincy
|
||||
chrysalid: chrysalis
|
||||
chrysalids: chrysalises
|
||||
cigaret: cigarette
|
||||
coemployee: coworker
|
||||
cognitional: cognitive
|
||||
cohabitate: cohabit
|
||||
cohabitor: cohabitant
|
||||
collodium: collodion
|
||||
collusory: collusive
|
||||
commemoratory: commemorative
|
||||
commonty: commonage
|
||||
communicatory: communicative
|
||||
compensative: compensatory
|
||||
complacence: complacency
|
||||
complicitous: complicit
|
||||
computate: compute
|
||||
conciliative: conciliatory
|
||||
concomitancy: concomitance
|
||||
condonance: condonation
|
||||
confirmative: confirmatory
|
||||
congruency: congruence
|
||||
connotate: connote
|
||||
consanguineal: consanguine
|
||||
conspicuity: conspicuousness
|
||||
conspiratorialist: conspirator
|
||||
constitutionist: constitutionalist
|
||||
contingence: contigency
|
||||
contributary: contributory
|
||||
contumacity: contumacy
|
||||
conversible: convertible
|
||||
conveyal: conveyance
|
||||
copartner: partner
|
||||
copartnership: partnership
|
||||
corroboratory: corroborative
|
||||
cotemporaneous: contemporaneous
|
||||
cotemporary: contemporary
|
||||
criminate: incriminate
|
||||
culpatory: inculpatory
|
||||
cumbrance: encumbrance
|
||||
cumulate: accumulate
|
||||
curatory: curative
|
||||
daredeviltry: daredevilry
|
||||
deceptious: deceptive
|
||||
defamative: defamatory
|
||||
defraudulent: fraudulent
|
||||
degeneratory: degenerative
|
||||
delimitate: delimit
|
||||
delusory: delusive
|
||||
denouncement: denunciation
|
||||
depositee: depositary
|
||||
depreciative: depreciatory
|
||||
deprival: deprivation
|
||||
derogative: derogatory
|
||||
destroyable: destructible
|
||||
detoxicate: detoxify
|
||||
detractory: detractive
|
||||
deviancy: deviance
|
||||
deviationist: deviant
|
||||
digamy: deuterogamy
|
||||
digitalize: digitize
|
||||
diminishment: diminution
|
||||
diplomatist: diplomat
|
||||
disassociate: dissociate
|
||||
disciplinatory: disciplinary
|
||||
discriminant: discriminating
|
||||
disenthrone: dethrone
|
||||
disintegratory: disintegrative
|
||||
dismission: dismissal
|
||||
disorientate: disorient
|
||||
disorientated: disoriented
|
||||
disquieten: disquiet
|
||||
distraite: distrait
|
||||
divergency: divergence
|
||||
dividable: divisible
|
||||
doctrinary: doctrinaire
|
||||
documental: documentary
|
||||
domesticize: domesticate
|
||||
duplicatory: duplicative
|
||||
duteous: dutiful
|
||||
educationalist: educationist
|
||||
educatory: educative
|
||||
enigmatas: enigmas
|
||||
enlargen: enlarge
|
||||
enswathe: swathe
|
||||
epical: epic
|
||||
erotism: eroticism
|
||||
ethician: ethicist
|
||||
ex officiis: ex officio
|
||||
exculpative: exculpatory
|
||||
exigeant: exigent
|
||||
exigence: exigency
|
||||
exotism: exoticism
|
||||
expedience: expediency
|
||||
expediential: expedient
|
||||
eying: eyeing
|
||||
fiefdom: fief
|
||||
flagrance: flagrancy
|
||||
flatulency: flatulence
|
||||
fraudful: fraudulent
|
||||
funebrial: funereal
|
||||
geographical: geographic
|
||||
geometrical: geometric
|
||||
gerry-rigged: jury-rigged
|
||||
goatherder: goatherd
|
||||
gustatorial: gustatory
|
||||
habitude: habit
|
||||
henceforward: henceforth
|
||||
hesitance: hesitancy
|
||||
heterogenous: heterogeneous
|
||||
hierarchic: hierarchical
|
||||
hindermost: hindmost
|
||||
honorand: honoree
|
||||
hypostasize: hypostatize
|
||||
hysteric: hysterical
|
||||
idolatrize: idolize
|
||||
impanel: empanel
|
||||
imperviable: impervious
|
||||
importunacy: importunity
|
||||
impotency: impotence
|
||||
imprimatura: imprimatur
|
||||
improprietous: improper
|
||||
inalterable: unalterable
|
||||
incitation: incitement
|
||||
incommunicative: uncommunicative
|
||||
inconsistence: inconsistency
|
||||
incontrollable: uncontrollable
|
||||
incurment: incurrence
|
||||
indow: endow
|
||||
indue: endue
|
||||
inhibitive: inhibitory
|
||||
innavigable: unnavigable
|
||||
innovational: innovative
|
||||
inquisitional: inquisitorial
|
||||
insistment: insistence
|
||||
insolvable: unsolvable
|
||||
instillment: instillation
|
||||
instinctual: instinctive
|
||||
insuror: insurer
|
||||
insurrectional: insurrectionary
|
||||
interpretate: interpret
|
||||
intervenience: intervention
|
||||
ironical: ironic
|
||||
jerry-rigged: jury-rigged
|
||||
judgmatic: judgmental
|
||||
labyrinthian: labyrinthine
|
||||
laudative: laudatory
|
||||
legitimatization: legitimation
|
||||
legitimatize: legitimize
|
||||
legitimization: legitimation
|
||||
lengthways: lengthwise
|
||||
life-sized: life-size
|
||||
liquorice: licorice
|
||||
lithesome: lithe
|
||||
lollipop: lollypop
|
||||
loth: loath
|
||||
lubricous: lubricious
|
||||
maihem: mayhem
|
||||
medicinal marijuana: medical marijuana
|
||||
meliorate: ameliorate
|
||||
minimalize: minimize
|
||||
mirk: murk
|
||||
mirky: murky
|
||||
misdoubt: doubt
|
||||
monetarize: monetize
|
||||
moveable: movable
|
||||
narcism: narcissism
|
||||
neglective: neglectful
|
||||
negligency: negligence
|
||||
neologizer: neologist
|
||||
neurologic: neurological
|
||||
nicknack: knickknack
|
||||
nictate: nictitate
|
||||
nonenforceable: unenforceable
|
||||
normalcy: normality
|
||||
numbedness: numbness
|
||||
omittable: omissible
|
||||
onomatopoetic: onomatopoeic
|
||||
opinioned: opined
|
||||
optimum advantage: optimal advantage
|
||||
orientate: orient
|
||||
outsized: outsize
|
||||
oversized: oversize
|
||||
overthrowal: overthrow
|
||||
pacificist: pacifist
|
||||
paederast: pederast
|
||||
parachronism: anachronism
|
||||
parti-color: parti-colored
|
||||
participative: participatory
|
||||
party-colored: parti-colored
|
||||
pediatrist: pediatrician
|
||||
penumbrous: penumbral
|
||||
perjorative: pejorative
|
||||
permissory: permissive
|
||||
permutate: permute
|
||||
personation: impersonation
|
||||
pharmaceutic: pharmaceutical
|
||||
pleuritis: pleurisy
|
||||
policy holder: policyholder
|
||||
policyowner: policyholder
|
||||
politicalize: politicize
|
||||
precedency: precedence
|
||||
preceptoral: preceptorial
|
||||
precipitance: precipitancy
|
||||
precipitant: precipitate
|
||||
preclusory: preclusive
|
||||
precolumbian: pre-Columbian
|
||||
prefectoral: prefectorial
|
||||
preponderately: preponderantly
|
||||
preserval: preservation
|
||||
preventative: preventive
|
||||
proconsulship: proconsulate
|
||||
procreational: procreative
|
||||
procurance: procurement
|
||||
propelment: propulsion
|
||||
propulsory: propulsive
|
||||
prosecutive: prosecutory
|
||||
protectory: protective
|
||||
provocatory: provocative
|
||||
pruriency: prurience
|
||||
psychal: psychical
|
||||
punitory: punitive
|
||||
quantitate: quantify
|
||||
questionary: questionnaire
|
||||
quiescency: quiescence
|
||||
rabbin: rabbi
|
||||
reasonability: reasonableness
|
||||
recidivistic: recidivous
|
||||
recriminative: recriminatory
|
||||
recruital: recruitment
|
||||
recurrency: recurrence
|
||||
recusance: recusancy
|
||||
recusation: recusal
|
||||
recusement: recusal
|
||||
redemptory: redemptive
|
||||
referrable: referable
|
||||
referrible: referable
|
||||
refutatory: refutative
|
||||
remitment: remittance
|
||||
remittal: remission
|
||||
renouncement: renunciation
|
||||
renunciable: renounceable
|
||||
reparatory: reparative
|
||||
repudiative: repudiatory
|
||||
requitement: requital
|
||||
rescindment: rescission
|
||||
restoral: restoration
|
||||
reticency: reticence
|
||||
reviewal: review
|
||||
revisal: revision
|
||||
revisional: revisionary
|
||||
revolute: revolt
|
||||
saliency: salience
|
||||
salutiferous: salutary
|
||||
sensatory: sensory
|
||||
sessionary: sessional
|
||||
shareowner: shareholder
|
||||
sicklily: sickly
|
||||
signator: signatory
|
||||
slanderize: slander
|
||||
societary: societal
|
||||
sodomist: sodomite
|
||||
solicitate: solicit
|
||||
speculatory: speculative
|
||||
spiritous: spirituous
|
||||
statutorial: statutory
|
||||
submergeable: submersible
|
||||
submittal: submission
|
||||
subtile: subtle
|
||||
succuba: succubus
|
||||
sufficience: sufficiency
|
||||
suppliant: supplicant
|
||||
surmisal: surmise
|
||||
suspendible: suspendable
|
||||
synthetize: synthesize
|
||||
systemize: systematize
|
||||
tactual: tactile
|
||||
tangental: tangential
|
||||
tautologous: tautological
|
||||
tee-shirt: T-shirt
|
||||
thenceforward: thenceforth
|
||||
transiency: transience
|
||||
transposal: transposition
|
||||
unfrequent: infrequent
|
||||
unreasonability: unreasonableness
|
||||
unrevokable: irrevocable
|
||||
unsubstantial: insubstantial
|
||||
usurpature: usurpation
|
||||
variative: variational
|
||||
vegetive: vegetative
|
||||
vindicative: vindictive
|
||||
vituperous: vituperative
|
||||
vociferant: vociferous
|
||||
volitive: volitional
|
||||
wolverene: wolverine
|
||||
wolvish: wolfish
|
||||
Zoroastrism: Zoroastrianism
|
||||
36
aio/tools/doc-linter/styles/proselint/Nonwords.yml
Normal file
36
aio/tools/doc-linter/styles/proselint/Nonwords.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
extends: substitution
|
||||
message: "Consider using %s instead of '%s'."
|
||||
ignorecase: true
|
||||
level: error
|
||||
swap:
|
||||
affrontery: "'effrontery'"
|
||||
analyzation: "'analysis'"
|
||||
annoyment: "'annoyance'"
|
||||
confirmant: "'confirmand'"
|
||||
confirmants: "'confirmands'"
|
||||
conversate: "'converse'"
|
||||
crained: "'cranded'"
|
||||
discomforture: "'discomfort' or 'discomfiture'"
|
||||
dispersement: "'disbursement' or 'dispersal'"
|
||||
doubtlessly: "'doubtless' or 'undoubtedly'"
|
||||
forebearance: "'forbearance'"
|
||||
improprietous: "'improper'"
|
||||
inclimate: "'inclement'"
|
||||
inimicable: "'inimical'"
|
||||
irregardless: "'regardless'"
|
||||
minimalize: "'minimize'"
|
||||
minimalized: "'minimized'"
|
||||
minimalizes: "'minimizes'"
|
||||
minimalizing: "'minimizing'"
|
||||
optimalize: "'optimize'"
|
||||
paralyzation: "'paralysis'"
|
||||
pettifogger: "'pettifog'"
|
||||
proprietous: "'proper'"
|
||||
relative inexpense: "'relatively low price' or 'affordability'"
|
||||
seldomly: "'seldom'"
|
||||
thusly: "'thus'"
|
||||
uncategorically: "'categorically'"
|
||||
undoubtably: "'undoubtedly' or 'indubitably'"
|
||||
unequivocable: "'unequivocal'"
|
||||
unmercilessly: "'mercilessly'"
|
||||
unrelentlessly: "'unrelentingly' or 'relentlessly'"
|
||||
22
aio/tools/doc-linter/styles/proselint/Oxymorons.yml
Normal file
22
aio/tools/doc-linter/styles/proselint/Oxymorons.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
extends: existence
|
||||
message: "'%s' is an oxymoron."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- amateur expert
|
||||
- increasingly less
|
||||
- advancing backwards
|
||||
- alludes explicitly to
|
||||
- explicitly alludes to
|
||||
- totally obsolescent
|
||||
- completely obsolescent
|
||||
- generally always
|
||||
- usually always
|
||||
- increasingly less
|
||||
- build down
|
||||
- conspicuous absence
|
||||
- exact estimate
|
||||
- found missing
|
||||
- intense apathy
|
||||
- mandatory choice
|
||||
- organized mess
|
||||
6
aio/tools/doc-linter/styles/proselint/P-Value.yml
Normal file
6
aio/tools/doc-linter/styles/proselint/P-Value.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "You should use more decimal places, unless '%s' is really true."
|
||||
ignorecase: true
|
||||
level: suggestion
|
||||
tokens:
|
||||
- 'p = 0\.0{2,4}'
|
||||
24
aio/tools/doc-linter/styles/proselint/RASSyndrome.yml
Normal file
24
aio/tools/doc-linter/styles/proselint/RASSyndrome.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
extends: existence
|
||||
message: "'%s' is redundant."
|
||||
level: error
|
||||
tokens:
|
||||
- ABM missile
|
||||
- ACT test
|
||||
- ABM missiles
|
||||
- ABS braking system
|
||||
- ATM machine
|
||||
- CD disc
|
||||
- CPI Index
|
||||
- GPS system
|
||||
- GUI interface
|
||||
- HIV virus
|
||||
- ISBN number
|
||||
- LCD display
|
||||
- PDF format
|
||||
- PIN number
|
||||
- RAS syndrome
|
||||
- RIP in peace
|
||||
- please RSVP
|
||||
- SALT talks
|
||||
- SAT test
|
||||
- UPC codes
|
||||
12
aio/tools/doc-linter/styles/proselint/README.md
Normal file
12
aio/tools/doc-linter/styles/proselint/README.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Copyright © 2014–2015, Jordan Suchow, Michael Pacer, and Lara A. Ross
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
13
aio/tools/doc-linter/styles/proselint/Skunked.yml
Normal file
13
aio/tools/doc-linter/styles/proselint/Skunked.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends: existence
|
||||
message: "'%s' is a bit of a skunked term — impossible to use without issue."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- bona fides
|
||||
- deceptively
|
||||
- decimate
|
||||
- effete
|
||||
- fulsome
|
||||
- hopefully
|
||||
- impassionate
|
||||
- Thankfully
|
||||
17
aio/tools/doc-linter/styles/proselint/Spelling.yml
Normal file
17
aio/tools/doc-linter/styles/proselint/Spelling.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
extends: consistency
|
||||
message: "Inconsistent spelling of '%s'."
|
||||
level: error
|
||||
ignorecase: true
|
||||
either:
|
||||
advisor: adviser
|
||||
centre: center
|
||||
colour: color
|
||||
emphasise: emphasize
|
||||
finalise: finalize
|
||||
focussed: focused
|
||||
labour: labor
|
||||
learnt: learned
|
||||
organise: organize
|
||||
organised: organized
|
||||
organising: organizing
|
||||
recognise: recognize
|
||||
11
aio/tools/doc-linter/styles/proselint/Typography.yml
Normal file
11
aio/tools/doc-linter/styles/proselint/Typography.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends: substitution
|
||||
message: Consider using the '%s' symbol instead of '%s'.
|
||||
level: error
|
||||
nonword: true
|
||||
swap:
|
||||
'\.\.\.': …
|
||||
'\([cC]\)': ©
|
||||
'\(TM\)': ™
|
||||
'\(tm\)': ™
|
||||
'\([rR]\)': ®
|
||||
'[0-9]+ ?x ?[0-9]+': ×
|
||||
44
aio/tools/doc-linter/styles/proselint/Uncomparables.yml
Normal file
44
aio/tools/doc-linter/styles/proselint/Uncomparables.yml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
extends: existence
|
||||
message: "'%s' is not comparable"
|
||||
ignorecase: true
|
||||
level: error
|
||||
raw:
|
||||
- \b(?:absolutely|most|more|less|least|very|quite|largely|extremely|increasingly|kind of|mildy|hardly|greatly|sort of)\b\s*
|
||||
tokens:
|
||||
- absolute
|
||||
- adequate
|
||||
- complete
|
||||
- correct
|
||||
- certain
|
||||
- devoid
|
||||
- entire
|
||||
- 'false'
|
||||
- fatal
|
||||
- favorite
|
||||
- final
|
||||
- ideal
|
||||
- impossible
|
||||
- inevitable
|
||||
- infinite
|
||||
- irrevocable
|
||||
- main
|
||||
- manifest
|
||||
- only
|
||||
- paramount
|
||||
- perfect
|
||||
- perpetual
|
||||
- possible
|
||||
- preferable
|
||||
- principal
|
||||
- singular
|
||||
- stationary
|
||||
- sufficient
|
||||
- 'true'
|
||||
- unanimous
|
||||
- unavoidable
|
||||
- unbroken
|
||||
- uniform
|
||||
- unique
|
||||
- universal
|
||||
- void
|
||||
- whole
|
||||
6
aio/tools/doc-linter/styles/proselint/Very.yml
Normal file
6
aio/tools/doc-linter/styles/proselint/Very.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends: existence
|
||||
message: "Remove '%s'."
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- very
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue