Skip to content

Commit

Permalink
Docs: Change rule descriptions for consistent casing (#6915)
Browse files Browse the repository at this point in the history
Scrolling through eslint.org/docs/rules, I found two descriptions that
began with uppercase letters, while all the rest were lowercase. For the
curious, here's how I ran a quick check to be sure I didn't miss any:

```js
Array.from(document.querySelectorAll('tr td:last-child p'))
    .map(p => p.innerText)
    .filter(description =>
        description[0].toLowerCase() !== description[0]
    )
```
  • Loading branch information
btmills authored and ilyavolodin committed Aug 16, 2016
1 parent c676322 commit d8b770c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rules/no-tabs.js
Expand Up @@ -17,7 +17,7 @@ const regex = /\t/;
module.exports = {
meta: {
docs: {
description: "Disallow tabs in file",
description: "disallow tabs in file",
category: "Stylistic Issues",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-template-curly-in-string.js
Expand Up @@ -11,7 +11,7 @@
module.exports = {
meta: {
docs: {
description: "Disallow template literal placeholder syntax in regular strings",
description: "disallow template literal placeholder syntax in regular strings",
category: "Possible Errors",
recommended: false
},
Expand Down

0 comments on commit d8b770c

Please sign in to comment.