-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some refactoring and cleanup, but no changes to functionality; jshint…
…->eslint; retest - all tests pass.
- Loading branch information
1 parent
67d99e7
commit fc86eb2
Showing
9 changed files
with
1,197 additions
and
1,910 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,240 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": false, | ||
"commonjs": true, | ||
"es6": true, | ||
"mocha": false, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"accessor-pairs": "error", | ||
"array-bracket-spacing": "error", | ||
"array-callback-return": "error", | ||
"arrow-body-style": "error", | ||
"arrow-parens": "error", | ||
"arrow-spacing": "off", | ||
"block-scoped-var": "error", | ||
"block-spacing": "off", | ||
"brace-style": [ | ||
"error", | ||
"1tbs", | ||
{ | ||
"allowSingleLine": true | ||
} | ||
], | ||
"callback-return": "error", | ||
"camelcase": "error", | ||
"comma-dangle": "error", | ||
"comma-spacing": "off", | ||
"comma-style": "error", | ||
"complexity": "error", | ||
"computed-property-spacing": [ | ||
"error", | ||
"never" | ||
], | ||
"consistent-return": "off", | ||
"consistent-this": "error", | ||
"curly": "off", | ||
"default-case": "error", | ||
"dot-location": "off", | ||
"dot-notation": "error", | ||
"eol-last": "error", | ||
"eqeqeq": "error", | ||
"func-names": [ | ||
"error", | ||
"never" | ||
], | ||
"func-style": [ | ||
"error", | ||
"declaration" | ||
], | ||
"generator-star-spacing": "error", | ||
"global-require": "error", | ||
"guard-for-in": "error", | ||
"handle-callback-err": "error", | ||
"id-blacklist": "error", | ||
"id-length": "off", | ||
"id-match": "error", | ||
"indent": "off", | ||
"init-declarations": "off", | ||
"jsx-quotes": "error", | ||
"key-spacing": "off", | ||
"keyword-spacing": "off", | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"lines-around-comment": "error", | ||
"max-depth": "error", | ||
"max-len": "off", | ||
"max-lines": "off", | ||
"max-nested-callbacks": "error", | ||
"max-params": "error", | ||
"max-statements": "off", | ||
"max-statements-per-line": "off", | ||
"new-cap": "error", | ||
"new-parens": "error", | ||
"newline-after-var": "off", | ||
"newline-before-return": "off", | ||
"newline-per-chained-call": "off", | ||
"no-alert": "error", | ||
"no-array-constructor": "error", | ||
"no-bitwise": "error", | ||
"no-caller": "error", | ||
"no-catch-shadow": "error", | ||
"no-confusing-arrow": "off", | ||
"no-continue": "error", | ||
"no-div-regex": "error", | ||
"no-duplicate-imports": "error", | ||
"no-else-return": "error", | ||
"no-empty-function": "error", | ||
"no-eq-null": "error", | ||
"no-eval": "error", | ||
"no-extend-native": "error", | ||
"no-extra-bind": "error", | ||
"no-extra-label": "error", | ||
"no-extra-parens": "off", | ||
"no-floating-decimal": "error", | ||
"no-implicit-coercion": "off", | ||
"no-implicit-globals": "error", | ||
"no-implied-eval": "error", | ||
"no-inline-comments": "off", | ||
"no-invalid-this": "off", | ||
"no-iterator": "error", | ||
"no-label-var": "error", | ||
"no-labels": "error", | ||
"no-lone-blocks": "error", | ||
"no-lonely-if": "error", | ||
"no-loop-func": "error", | ||
"no-magic-numbers": "off", | ||
"no-mixed-operators": "off", | ||
"no-mixed-requires": "error", | ||
"no-multi-spaces": "off", | ||
"no-multi-str": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-negated-condition": "error", | ||
"no-nested-ternary": "error", | ||
"no-new": "error", | ||
"no-new-func": "error", | ||
"no-new-object": "error", | ||
"no-new-require": "error", | ||
"no-new-wrappers": "error", | ||
"no-octal-escape": "error", | ||
"no-param-reassign": [ | ||
"error", | ||
{ | ||
"props": false | ||
} | ||
], | ||
"no-path-concat": "error", | ||
"no-plusplus": "off", | ||
"no-process-env": "error", | ||
"no-process-exit": "error", | ||
"no-proto": "error", | ||
"no-prototype-builtins": "error", | ||
"no-restricted-globals": "error", | ||
"no-restricted-imports": "error", | ||
"no-restricted-modules": "error", | ||
"no-restricted-syntax": "error", | ||
"no-return-assign": "error", | ||
"no-script-url": "error", | ||
"no-self-compare": "error", | ||
"no-sequences": "error", | ||
"no-shadow": "error", | ||
"no-shadow-restricted-names": "error", | ||
"no-spaced-func": "error", | ||
"no-sync": "error", | ||
"no-ternary": "off", | ||
"no-throw-literal": "error", | ||
"no-trailing-spaces": "off", | ||
"no-undef-init": "error", | ||
"no-undefined": "off", | ||
"no-underscore-dangle": "error", | ||
"no-unmodified-loop-condition": "error", | ||
"no-unneeded-ternary": "error", | ||
"no-unused-expressions": "error", | ||
"no-use-before-define": "error", | ||
"no-useless-call": "error", | ||
"no-useless-computed-key": "error", | ||
"no-useless-concat": "error", | ||
"no-useless-constructor": "error", | ||
"no-useless-escape": "error", | ||
"no-useless-rename": "error", | ||
"no-var": "error", | ||
"no-void": "error", | ||
"no-warning-comments": "error", | ||
"no-whitespace-before-property": "error", | ||
"no-with": "error", | ||
"object-curly-newline": "off", | ||
"object-curly-spacing": "off", | ||
"object-property-newline": "off", | ||
"object-shorthand": "error", | ||
"one-var": "off", | ||
"one-var-declaration-per-line": "off", | ||
"operator-assignment": [ | ||
"error", | ||
"always" | ||
], | ||
"operator-linebreak": "error", | ||
"padded-blocks": "off", | ||
"prefer-arrow-callback": "off", | ||
"prefer-const": "off", | ||
"prefer-reflect": "off", | ||
"prefer-rest-params": "error", | ||
"prefer-spread": "error", | ||
"prefer-template": "off", | ||
"quote-props": "off", | ||
"quotes": "off", | ||
"radix": "error", | ||
"require-jsdoc": "off", | ||
"rest-spread-spacing": "error", | ||
"semi": "error", | ||
"semi-spacing": [ | ||
"error", | ||
{ | ||
"after": false, | ||
"before": false | ||
} | ||
], | ||
"sort-imports": "off", | ||
"sort-vars": "off", | ||
"space-before-blocks": "off", | ||
"space-before-function-paren": "off", | ||
"space-in-parens": "off", | ||
"space-infix-ops": "off", | ||
"space-unary-ops": [ | ||
"error", | ||
{ | ||
"nonwords": false, | ||
"words": false | ||
} | ||
], | ||
"spaced-comment": [ | ||
"error", | ||
"always" | ||
], | ||
"strict": [ | ||
"error", | ||
"never" | ||
], | ||
"template-curly-spacing": "error", | ||
"unicode-bom": [ | ||
"error", | ||
"never" | ||
], | ||
"valid-jsdoc": "error", | ||
"vars-on-top": "error", | ||
"wrap-iife": "error", | ||
"wrap-regex": "error", | ||
"yield-star-spacing": "error", | ||
"yoda": [ | ||
"error", | ||
"never" | ||
] | ||
} | ||
}; |
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,3 +1,4 @@ | ||
package-lock.json | ||
node_modules | ||
coverage | ||
*.log | ||
|
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.