Skip to content

Commit

Permalink
Chore: Fix rule meta description inconsistencies (refs #5417) (#6422)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrottimark authored and ilyavolodin committed Jun 17, 2016
1 parent d798b2c commit 2cd90eb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/rules/accessor-pairs.js
Expand Up @@ -73,7 +73,7 @@ function isPropertyDescriptor(node) {
module.exports = {
meta: {
docs: {
description: "Enforces getter/setter pairs in objects",
description: "enforce getter and setter pairs in objects",
category: "Best Practices",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/array-bracket-spacing.js
Expand Up @@ -13,7 +13,7 @@ var astUtils = require("../ast-utils");
module.exports = {
meta: {
docs: {
description: "Enforce spacing inside array brackets",
description: "enforce consistent spacing inside array brackets",
category: "Stylistic Issues",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/default-case.js
Expand Up @@ -13,7 +13,7 @@ var DEFAULT_COMMENT_PATTERN = /^no default$/;
module.exports = {
meta: {
docs: {
description: "require `default` cases in <code>switch</code> statements",
description: "require `default` cases in `switch` statements",
category: "Best Practices",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-mixed-operators.js
Expand Up @@ -74,7 +74,7 @@ function includesBothInAGroup(groups, left, right) {
module.exports = {
meta: {
docs: {
description: "Disallow mixed binary operators.",
description: "disallow mixed binary operators",
category: "Stylistic Issues",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-prototype-builtins.js
Expand Up @@ -11,7 +11,7 @@
module.exports = {
meta: {
docs: {
description: "disallow calling some Object.prototype methods directly on objects",
description: "disallow calling some `Object.prototype` methods directly on objects",
category: "Possible Errors",
recommended: false
}
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-script-url.js
Expand Up @@ -14,7 +14,7 @@
module.exports = {
meta: {
docs: {
description: "disallow `javascript",
description: "disallow `javascript:` urls",
category: "Best Practices",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-unsafe-finally.js
Expand Up @@ -21,7 +21,7 @@ var SENTINEL_NODE_TYPE_CONTINUE = /^(?:Program|(?:Function|Class)(?:Declaration|
module.exports = {
meta: {
docs: {
description: "disallow control flow statements in finally blocks",
description: "disallow control flow statements in `finally` blocks",
category: "Possible Errors",
recommended: false
}
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/object-curly-newline.js
Expand Up @@ -90,7 +90,7 @@ function normalizeOptions(options) {
module.exports = {
meta: {
docs: {
description: "require or disallow line breaks inside braces.",
description: "enforce consistent line breaks inside braces",
category: "Stylistic Issues",
recommended: false
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/unicode-bom.js
Expand Up @@ -11,7 +11,7 @@
module.exports = {
meta: {
docs: {
description: "require or disallow Unicode BOM",
description: "require or disallow Unicode byte order mark (BOM)",
category: "Stylistic Issues",
recommended: false
},
Expand Down

0 comments on commit 2cd90eb

Please sign in to comment.