Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Fix rule meta description inconsistencies (refs #5417) #6422

Merged
merged 1 commit into from Jun 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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