Skip to content

Commit

Permalink
Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoltman committed Jan 15, 2018
1 parent c57ff05 commit 7501062
Show file tree
Hide file tree
Showing 11 changed files with 1,892 additions and 0 deletions.
97 changes: 97 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"root": true,
"env": {
"es6": true,
"node": true
},
"rules": {
"array-bracket-spacing": 2,
"arrow-parens": [2, "as-needed", {"requireForBlockBody": true}],
"block-scoped-var": 2,
"block-spacing": 2,
"brace-style": 2,
"camelcase": 2,
"class-methods-use-this": 1,
"comma-dangle": [2, "always-multiline"],
"comma-spacing": 2,
"comma-style": 2,
"computed-property-spacing": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": 2,
"keyword-spacing": 2,
"max-len": [2, 100, 2, {"ignoreUrls": true}],
"no-array-constructor": 2,
"no-console": 2,
"no-constant-condition": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-else-return": 2,
"no-empty": 2,
"no-extra-semi": 2,
"no-irregular-whitespace": 2,
"no-loop-func": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-negated-condition": 1,
"no-negated-in-lhs": 2,
"no-nested-ternary": 2,
"no-octal-escape": 2,
"no-spaced-func": 2,
"no-sparse-arrays": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-undef-init": 2,
"no-unexpected-multiline": 2,
"no-unneeded-ternary": [2, {"defaultAssignment": true}],
"no-unreachable": 2,
"no-unused-expressions": [2, {"allowShortCircuit": true}],
"no-unused-vars": 2,
"no-use-before-define": [2, {"functions": false, "classes": false}],
"no-useless-call": 2,
"no-useless-concat": 2,
"no-void": 2,
"no-warning-comments": 1,
"object-curly-spacing": 2,
"one-var": [2, "never"],
"operator-linebreak": 2,
"prefer-arrow-callback": [2, {"allowNamedFunctions": true}],
"prefer-const": 2,
"prefer-destructuring": [2, {
"VariableDeclarator": {"array": false, "object": true},
"AssignmentExpression": {"array": false, "object": false}
}],
"quote-props": [2, "as-needed"],
"quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"semi": 2,
"semi-spacing": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": 2,
"space-infix-ops": 2,
"space-unary-ops": 2,
"spaced-comment": 2,
"strict": [2, "global"],
"use-isnan": 2,
"valid-typeof": 2
},
"overrides": [
{
"files": ["test/*.js"],
"env": {
"mocha": true
},
"rules": {
"curly": [2, "multi-line", "consistent"],
"max-nested-callbacks": 0,
"max-len": 0
}
}
]
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ yarn-error.log*
# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Dependency directory
node_modules/

# Lock files
package-lock.json
yarn.lock

# Sublime Text
*.sublime-*

Expand Down
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: node_js
node_js:
- '6'
- '8'
- '9'
after_success: npm run coveralls
deploy:
provider: npm
email: nwoltman@outlook.com
on:
tags: true

0 comments on commit 7501062

Please sign in to comment.