Skip to content

Commit

Permalink
Docs: Link JSCS rules to their corresponding page. (#6334)
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto authored and nzakas committed Jun 8, 2016
1 parent 1cc4356 commit dfe05bf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/rules/indent.md
Expand Up @@ -212,4 +212,4 @@ const a = 1,
## Compatibility

* **JSHint**: `indent`
* **JSCS**: `validateIndentation`
* **JSCS**: [validateIndentation](http://jscs.info/rule/validateIndentation)
2 changes: 1 addition & 1 deletion docs/rules/linebreak-style.md
Expand Up @@ -75,4 +75,4 @@ If you aren't concerned about having different line endings within you code, the

## Compatibility

* **JSCS**: `validateLineBreaks`
* **JSCS**: [validateLineBreaks](http://jscs.info/rule/validateLineBreaks)
2 changes: 1 addition & 1 deletion docs/rules/object-curly-newline.md
Expand Up @@ -464,7 +464,7 @@ let [k = function() {

## Compatibility

* **JSCS:** `requirePaddingNewLinesInObjects` and `disallowPaddingNewLinesInObjects`
* **JSCS**: [requirePaddingNewLinesInObjects](http://jscs.info/rule/requirePaddingNewLinesInObjects) and [disallowPaddingNewLinesInObjects](http://jscs.info/rule/disallowPaddingNewLinesInObjects)

## When Not To Use It

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/object-property-newline.md
Expand Up @@ -79,7 +79,7 @@ You can turn this rule off if you are not concerned with the consistency of newl

## Compatibility

* **JSCS**: `requireObjectKeysOnNewLine`
* **JSCS**: [requireObjectKeysOnNewLine](http://jscs.info/rule/requireObjectKeysOnNewLine)

## Related Rules

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/one-var.md
Expand Up @@ -265,8 +265,8 @@ function foo() {

## Compatibility

* **JSHint** - This rule maps to the `onevar` JSHint rule, but allows `let` and `const` to be configured separately.
* **JSCS** - This rule roughly maps to `"disallowMultipleVarDecl"`
* **JSHint**: This rule maps to the `onevar` JSHint rule, but allows `let` and `const` to be configured separately.
* **JSCS**: This rule roughly maps to [disallowMultipleVarDecl](http://jscs.info/rule/disallowMultipleVarDecl)

## Further Reading

Expand Down

0 comments on commit dfe05bf

Please sign in to comment.