This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge f651e40 as of 2017-07-06. This is an automatically created merge. For any problems please contact @kunalspathak.
- Loading branch information
Showing
24 changed files
with
575 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
## Docs-specific linter rules | ||
|
||
rules: | ||
object-curly-spacing: [2, always] | ||
object-curly-spacing: [error, always] | ||
|
||
# ease some restrictions in doc examples | ||
no-restricted-properties: 0 | ||
no-undef: 0 | ||
no-unused-vars: 0 | ||
strict: 0 | ||
no-restricted-properties: off | ||
no-undef: off | ||
no-unused-vars: off | ||
strict: off | ||
|
||
# add new ECMAScript features gradually | ||
no-var: 2 | ||
prefer-const: 2 | ||
prefer-rest-params: 2 | ||
no-var: error | ||
prefer-const: error | ||
prefer-rest-params: error | ||
|
||
# use stricter indent over indent-legacy | ||
indent-legacy: 0 | ||
indent: [2, 2, {ArrayExpression: first, | ||
CallExpression: {arguments: first}, | ||
FunctionDeclaration: {parameters: first}, | ||
FunctionExpression: {parameters: first}, | ||
MemberExpression: off, | ||
ObjectExpression: first, | ||
SwitchCase: 1}] | ||
indent-legacy: off | ||
indent: [error, 2, {ArrayExpression: first, | ||
CallExpression: {arguments: first}, | ||
FunctionDeclaration: {parameters: first}, | ||
FunctionExpression: {parameters: first}, | ||
MemberExpression: off, | ||
ObjectExpression: first, | ||
SwitchCase: 1}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.