This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alister Scott
committed
May 4, 2016
0 parents
commit 76cceca
Showing
111 changed files
with
7,633 additions
and
0 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,10 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"stage-1" | ||
], | ||
"plugins": [ | ||
"add-module-exports", | ||
"syntax-export-extensions" | ||
] | ||
} |
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,12 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,74 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"env": { | ||
"es6": true, | ||
"mocha": true, | ||
"node": true | ||
}, | ||
"ecmaFeatures": { | ||
"modules": true | ||
}, | ||
"rules": { | ||
"brace-style": [ 1, "1tbs" ], | ||
// REST API objects include underscores | ||
"camelcase": 0, | ||
"comma-dangle": 0, | ||
"comma-spacing": 1, | ||
// Allows returning early as undefined | ||
"consistent-return": 0, | ||
"dot-notation": 1, | ||
"eqeqeq": [ 2, "allow-null" ], | ||
"eol-last": 1, | ||
"indent": [ 1, "tab", { "SwitchCase": 1 } ], | ||
"key-spacing": 1, | ||
"new-cap": [ 1, { "capIsNew": false, "newIsCap": true } ], | ||
"no-cond-assign": 2, | ||
"no-else-return": 1, | ||
"no-empty": 1, | ||
// Flux stores use switch case fallthrough | ||
"no-fallthrough": 0, | ||
"no-lonely-if": 1, | ||
"no-mixed-requires": 0, | ||
"no-mixed-spaces-and-tabs": 1, | ||
"no-multiple-empty-lines": [ 1, { max: 1 } ], | ||
"no-multi-spaces": 1, | ||
"no-nested-ternary": 1, | ||
"no-new": 1, | ||
"no-process-exit": 1, | ||
"no-shadow": 1, | ||
"no-spaced-func": 1, | ||
"no-trailing-spaces": 1, | ||
"no-undef": 2, | ||
"no-underscore-dangle": 0, | ||
// Allows Chai `expect` expressions | ||
"no-unused-expressions": 0, | ||
"no-unused-vars": 1, | ||
// Allows function use before declaration | ||
"no-use-before-define": [ 2, "nofunc" ], | ||
// We split external, internal, module variables | ||
"one-var": 0, | ||
"operator-linebreak": [ 1, "after", { "overrides": { | ||
"?": "before", | ||
":": "before" | ||
} } ], | ||
"padded-blocks": [ 1, "never" ], | ||
"quote-props": [ 1, "as-needed" ], | ||
"quotes": [ 1, "single", "avoid-escape" ], | ||
"semi-spacing": 1, | ||
"space-after-keywords": [ 1, "always" ], | ||
"space-before-blocks": [ 1, "always" ], | ||
"space-before-function-paren": [ 1, "never" ], | ||
// Our array literal index exception violates this rule | ||
"space-in-brackets": 0, | ||
"space-in-parens": [ 1, "always" ], | ||
"space-infix-ops": [ 1, { "int32Hint": false } ], | ||
// Ideal for "!" but not for "++" | ||
"space-unary-ops": 0, | ||
// Assumed by default with Babel | ||
"strict": [ 2, "never" ], | ||
"valid-jsdoc": [ 1, { "requireReturn": false } ], | ||
// Common top-of-file requires, expressions between external, interal | ||
"vars-on-top": 1, | ||
"yoda": 0 | ||
} | ||
} |
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,11 @@ | ||
screenshots/ | ||
node_modules/ | ||
.idea/ | ||
# image-uploads/ | ||
screenshots-i18n/ | ||
.*.swp | ||
spec-xunit-slack-reporter-0.0.1.tgz | ||
xunit.xml | ||
|
||
# Ignore all local config files, but keep the example there. | ||
config/local-* |
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,3 @@ | ||
[submodule "mocha"] | ||
path = mocha | ||
url = git@github.com:hoverduck/mocha.git |
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,74 @@ | ||
{ | ||
"preset": "default", | ||
"indent": { | ||
"value": "\t", | ||
"IfStatementConditional": 2, | ||
"SwitchStatement": 1, | ||
"TopLevelFunctionBlock": 1 | ||
}, | ||
"lineBreak": { | ||
"before": { | ||
"VariableDeclarationWithoutInit": 0, | ||
"ArrayExpressionClosing": 1 | ||
}, | ||
"after": { | ||
"AssignmentOperator": -1, | ||
"ArrayExpressionOpening": 1, | ||
"ArrayExpressionComma": 1 | ||
} | ||
}, | ||
"whiteSpace": { | ||
"before": { | ||
"ArgumentList": 1, | ||
"ArgumentListArrayExpression": 1, | ||
"ArgumentListFunctionExpression": 1, | ||
"ArgumentListObjectExpression": 1, | ||
"ArrayExpressionClosing": 1, | ||
"ExpressionClosingParentheses": 1, | ||
"ForInStatementExpressionClosing": 1, | ||
"ForStatementExpressionClosing": 1, | ||
"IfStatementConditionalClosing": 1, | ||
"MemberExpressionClosing": 1, | ||
"ParameterList": 1, | ||
"SwitchDiscriminantClosing": 1, | ||
"WhileStatementConditionalClosing": 1, | ||
"CallExpression": -1 | ||
}, | ||
"after": { | ||
"ArgumentList": 1, | ||
"ArgumentListArrayExpression": 1, | ||
"ArgumentListFunctionExpression": 1, | ||
"ArgumentListObjectExpression": 1, | ||
"ArrayExpressionOpening": 1, | ||
"ExpressionOpeningParentheses": 1, | ||
"ForInStatementExpressionOpening": 1, | ||
"ForStatementExpressionOpening": 1, | ||
"IfStatementConditionalOpening": 1, | ||
"MemberExpressionOpening": 1, | ||
"ParameterList": 1, | ||
"SwitchDiscriminantOpening": 1, | ||
"WhileStatementConditionalOpening": 1, | ||
"CallExpression": 0 | ||
} | ||
}, | ||
"collapseObjects": { | ||
"ObjectExpression": { | ||
"maxLineLength": 120, | ||
"maxKeys": 1, | ||
"forbidden": [ "FunctionExpression" ] | ||
}, | ||
"ArrayExpression": { | ||
"maxLineLength": 120, | ||
"maxKeys": 10, | ||
"forbidden": [ "FunctionExpression" ] | ||
} | ||
}, | ||
"plugins": [ | ||
"esformatter-quotes", | ||
"esformatter-semicolons", | ||
"esformatter-braces", | ||
"esformatter-dot-notation", | ||
"esformatter-special-bangs", | ||
"esformatter-collapse-objects-a8c" | ||
] | ||
} |
Oops, something went wrong.