-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(update): add eslintrc and format the codebase
- Loading branch information
tunnckoCore
committed
Jul 16, 2017
1 parent
f3f75a8
commit c7162ce
Showing
9 changed files
with
5,369 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"extends": "standard", | ||
"rules": { | ||
"computed-property-spacing": ["error", "never"], | ||
"object-curly-spacing": ["error", "always"], | ||
"space-before-function-paren": ["error", "always"], | ||
"arrow-parens": ["error", "always"], | ||
"max-params": "error", | ||
"max-nested-callbacks": [ | ||
"error", | ||
{ | ||
"max": 5 | ||
} | ||
], | ||
"max-depth": [ | ||
"error", | ||
{ | ||
"max": 5 | ||
} | ||
], | ||
"no-empty": [ | ||
"error", | ||
{ | ||
"allowEmptyCatch": true | ||
} | ||
] | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.