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

Docs: Link JSCS rules to their corresponding page. #6334

Merged
merged 1 commit into from Jun 8, 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 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