Skip to content

Commit

Permalink
Fixed typos in docs, comments and tests (#3822)
Browse files Browse the repository at this point in the history
* Fixed typos in docs

* Fixed typos in docs, comments and tests
  • Loading branch information
Maxim-Mazurok authored and ntwb committed Nov 25, 2018
1 parent 309644f commit c1ff79c
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/pull-requests.md
Expand Up @@ -5,7 +5,7 @@ Rules of thumb:
- Use the [GitHub review system](https://help.github.com/articles/about-pull-request-reviews/).
- Review against the [Developer Guide criteria](rules.md).
- Assign one or more of the appropriate [`PR: needs *` labels](https://github.com/stylelint/stylelint/labels) when requesting a change.
- Resolve conficts by [rebasing](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase), rather than merging the target branch into the pull request branch.
- Resolve conflicts by [rebasing](https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase), rather than merging the target branch into the pull request branch.

Merge process:

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/about-rules.md
Expand Up @@ -102,7 +102,7 @@ a {}

Additionally, some whitespace rule make use of another set of keywords:

- `comma`, `colon`, `semicolon`, `opening-brace`, `closing-brace`, `opening-parenthesis`, `closing-parenthesis`, `operator` or `range-operator` are used if a specific piece of punctuation in the *thing* is being targetted
- `comma`, `colon`, `semicolon`, `opening-brace`, `closing-brace`, `opening-parenthesis`, `closing-parenthesis`, `operator` or `range-operator` are used if a specific piece of punctuation in the *thing* is being targeted

For example, specifying if a single space or no space must come after a comma in a function:

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/complementary-tools.md
Expand Up @@ -25,7 +25,7 @@ A list of complementary tools built and maintained by the community.
- [Flycheck](https://github.com/flycheck/flycheck): An Emacs extension that supports stylelint.
- [linter-stylelint](https://github.com/AtomLinter/linter-stylelint): An Atom plugin for stylelint.
- [SublimeLinter-stylelint](https://github.com/SublimeLinter/SublimeLinter-stylelint): A Sublime Text plugin for stylelint.
- [SublimeLinter-contrib-stylelint_d](https://github.com/jo-sm/SublimeLinter-contrib-stylelint_d): A Sublime Text plugin for stylelint that run's on deamon.
- [SublimeLinter-contrib-stylelint_d](https://github.com/jo-sm/SublimeLinter-contrib-stylelint_d): A Sublime Text plugin for stylelint that run's on daemon.
- [vscode-stylelint](https://github.com/shinnn/vscode-stylelint): A Visual Studio Code extension for stylelint.

## Editors
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/at-rule-empty-line-before/index.js
Expand Up @@ -92,7 +92,7 @@ const rule = function(expectation, options, context) {
return;
}

// Optionally ignore the expection if the node is blockless
// Optionally ignore the expectation if the node is blockless
// and following another blockless at-rule with the same name
if (
optionsMatches(
Expand Down
4 changes: 2 additions & 2 deletions lib/rules/color-named/__tests__/index.js
Expand Up @@ -32,7 +32,7 @@ testRule(rule, {
},
{
code: 'a::before { content: "orange" }',
description: "ignore color names within doubl quotes"
description: "ignore color names within double quotes"
},
{
code: "a::before { content: 'orange' }",
Expand Down Expand Up @@ -165,7 +165,7 @@ testRule(rule, {
},
{
code: 'a::before { content: "#000" }',
description: "ignore representations within doubl quotes"
description: "ignore representations within double quotes"
},
{
code: "a::before { content: '#000' }",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/function-comma-space-after/README.md
Expand Up @@ -95,7 +95,7 @@ a {

### `"never-single-line"`

There *must never* be whitepace after the commas in single-line functions.
There *must never* be whitespace after the commas in single-line functions.

The following patterns are considered violations:

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/function-comma-space-before/README.md
Expand Up @@ -95,7 +95,7 @@ a {

### `"never-single-line"`

There *must never* be whitepace before the commas in single-line functions.
There *must never* be whitespace before the commas in single-line functions.

The following patterns are considered violations:

Expand Down
4 changes: 2 additions & 2 deletions lib/rules/media-query-list-comma-space-after/README.md
Expand Up @@ -42,7 +42,7 @@ The following patterns are *not* considered violations:

### `"never"`

There *must never* be whitepace after the commas.
There *must never* be whitespace after the commas.

The following patterns are considered violations:

Expand Down Expand Up @@ -94,7 +94,7 @@ The following patterns are *not* considered violations:

### `"never-single-line"`

There *must never* be whitepace after the commas in single-line media query lists.
There *must never* be whitespace after the commas in single-line media query lists.

The following patterns are considered violations:

Expand Down
4 changes: 2 additions & 2 deletions lib/rules/media-query-list-comma-space-before/README.md
Expand Up @@ -42,7 +42,7 @@ projection and (color) {}

### `"never"`

There *must never* be whitepace before the commas.
There *must never* be whitespace before the commas.

The following patterns are considered violations:

Expand Down Expand Up @@ -94,7 +94,7 @@ The following patterns are *not* considered violations:

### `"never-single-line"`

There *must never* be whitepace before the commas in single-line media query lists.
There *must never* be whitespace before the commas in single-line media query lists.

The following patterns are considered violations:

Expand Down
4 changes: 2 additions & 2 deletions lib/rules/property-no-unknown/__tests__/index.js
Expand Up @@ -108,11 +108,11 @@ testRule(rule, {
},
{
code: ".foo { transform+: rotate(15deg); }",
descritpion: "Append property value with space usign +"
description: "Append property value with space usign +"
},
{
code: ".foo { transform+_: rotate(15deg); }",
descritpion: "Append property value with space using +_"
description: "Append property value with space using +_"
}
]
});
Expand Down

0 comments on commit c1ff79c

Please sign in to comment.