diff --git a/lib/check_category_mapping.json b/lib/check_category_mapping.json new file mode 100644 index 000000000..a684ed300 --- /dev/null +++ b/lib/check_category_mapping.json @@ -0,0 +1,208 @@ +{ + "accessor-pairs": "Bug Risk", + "block-scoped-var": "Bug Risk", + "callback-return": "Bug Risk", + "comma-dangle": "Bug Risk", + "complexity": "Complexity", + "consistent-return": "Bug Risk", + "curly": "Clarity", + "default-case": "Bug Risk", + "dot-location": "Clarity", + "dot-notation": "Clarity", + "eqeqeq": "Bug Risk", + "global-require": "Clarity", + "guard-for-in": "Bug Risk", + "handle-callback-err": "Bug Risk", + "init-declarations": "Clarity", + "max-statements": "Complexity", + "no-alert": "Bug Risk", + "no-caller": "Compatibility", + "no-case-declarations": "Bug Risk", + "no-catch-shadow": "Bug Risk", + "no-cond-assign": "Bug Risk", + "no-console": "Bug Risk", + "no-constant-condition": "Bug Risk", + "no-control-regex": "Bug Risk", + "no-debugger": "Bug Risk", + "no-delete-var": "Bug Risk", + "no-div-regex": "Bug Risk", + "no-dupe-args": "Bug Risk", + "no-dupe-keys": "Bug Risk", + "no-duplicate-case": "Bug Risk", + "no-else-return": "Clarity", + "no-empty": "Bug Risk", + "no-empty-character-class": "Bug Risk", + "no-empty-label": "Bug Risk", + "no-empty-pattern": "Bug Risk", + "no-eq-null": "Bug Risk", + "no-eval": "Security", + "no-ex-assign": "Bug Risk", + "no-extend-native": "Bug Risk", + "no-extra-bind": "Bug Risk", + "no-extra-boolean-cast": "Bug Risk", + "no-extra-parens": "Bug Risk", + "no-extra-semi": "Bug Risk", + "no-fallthrough": "Bug Risk", + "no-floating-decimal": "Clarity", + "no-func-assign": "Bug Risk", + "no-implicit-coercion": "Bug Risk", + "no-implied-eval": "Security", + "no-inner-declarations": "Compatibility", + "no-invalid-regexp": "Bug Risk", + "no-invalid-this": "Bug Risk", + "no-irregular-whitespace": "Compatibility", + "no-iterator": "Compatibility", + "no-label-var": "Bug Risk", + "no-labels": "Bug Risk", + "no-lone-blocks": "Bug Risk", + "no-loop-func": "Bug Risk", + "no-magic-numbers": "Clarity", + "no-mixed-requires": "Clarity", + "no-multi-spaces": "Bug Risk", + "no-multi-str": "Compatibility", + "no-native-reassign": "Bug Risk", + "no-negated-in-lhs": "Bug Risk", + "no-new": "Bug Risk", + "no-new-func": "Clarity", + "no-new-require": "Clarity", + "no-new-wrappers": "Bug Risk", + "no-obj-calls": "Bug Risk", + "no-octal": "Compatibility", + "no-octal-escape": "Compatibility", + "no-param-reassign": "Bug Risk", + "no-path-concat": "Bug Risk", + "no-process-env": "Bug Risk", + "no-process-exit": "Bug Risk", + "no-proto": "Compatibility", + "no-redeclare": "Bug Risk", + "no-regex-spaces": "Bug Risk", + "no-restricted-modules": "Security", + "no-return-assign": "Bug Risk", + "no-script-url": "Security", + "no-self-compare": "Bug Risk", + "no-sequences": "Bug Risk", + "no-shadow": "Bug Risk", + "no-shadow-restricted-names": "Bug Risk", + "no-sparse-arrays": "Bug Risk", + "no-sync": "Bug Risk", + "no-throw-literal": "Clarity", + "no-undef": "Bug Risk", + "no-undef-init": "Bug Risk", + "no-undefined": "Compatibility", + "no-unexpected-multiline": "Bug Risk", + "no-unreachable": "Bug Risk", + "no-unused-expressions": "Bug Risk", + "no-unused-vars": "Bug Risk", + "no-use-before-define": "Compatibility", + "no-useless-call": "Bug Risk", + "no-useless-concat": "Bug Risk", + "no-void": "Compatibility", + "no-warning-comments": "Bug Risk", + "no-with": "Compatibility", + "np-dupe-keys": "Bug Risk", + "radix": "Bug Risk", + "use-isnan": "Bug Risk", + "use-strict": "Bug Risk", + "valid-jsdoc": "Clarity", + "valid-typeof": "Bug Risk", + "vars-on-top": "Clarity", + "wrap-iife": "Clarity", + "yoda": "Clarity", + + "jsdoc/check-param-names": "Clarity", + "jsdoc/check-tag-names": "Clarity", + "jsdoc/check-types": "Clarity", + "jsdoc/newline-after-description": "Clarity", + "jsdoc/require-description-complete-sentence": "Clarity", + "jsdoc/require-hyphen-before-param-description": "Clarity", + "jsdoc/require-param": "Clarity", + "jsdoc/require-param-description": "Clarity", + "jsdoc/require-param-type": "Clarity", + "jsdoc/require-returns-description": "Clarity", + "jsdoc/require-returns-type": "Clarity", + + "lodash/callback-binding": "Compatibility", + "lodash/chain-style": "Clarity", + "lodash/collection-method-value": "Bug Risk", + "lodash/collection-return": "Bug Risk", + "lodash/consistent-compose": "Clarity", + "lodash/identity-shorthand": "Clarity", + "lodash/matches-prop-shorthand": "Clarity", + "lodash/matches-shorthand": "Clarity", + "lodash/no-commit": "Bug Risk", + "lodash/no-double-unwrap": "Bug Risk", + "lodash/no-extra-args": "Clarity", + "lodash/no-single-chain": "Clarity", + "lodash/path-style": "Clarity", + "lodash/prefer-chain": "Bug Risk", + "lodash/prefer-compact": "Bug Risk", + "lodash/prefer-constant": "Bug Risk", + "lodash/prefer-filter": "Bug Risk", + "lodash/prefer-flat-map": "Bug Risk", + "lodash/prefer-get": "Bug Risk", + "lodash/prefer-includes": "Clarity", + "lodash/prefer-invoke-map": "Bug Risk", + "lodash/prefer-is-nil": "Bug Risk", + "lodash/prefer-lodash-chain": "Clarity", + "lodash/prefer-lodash-method": "Clarity", + "lodash/prefer-lodash-typecheck": "Bug Risk", + "lodash/prefer-map": "Bug Risk", + "lodash/prefer-matches": "Clarity", + "lodash/prefer-noop": "Clarity", + "lodash/prefer-over-quantifer": "Bug Risk", + "lodash/prefer-reject": "Bug Risk", + "lodash/prefer-startswith": "Bug Risk", + "lodash/prefer-thru": "Bug Risk", + "lodash/prefer-times": "Clarity", + "lodash/prefer-wrapper-method": "Bug Risk", + "lodash/preferred-alias": "Clarity", + "lodash/prop-shorthand": "Clarity", + "lodash/unwrap": "Bug Risk", + + "mocha/handle-done-callback": "Clarity", + "mocha/no-exclusive-tests": "Bug Risk", + "mocha/no-global-tests": "Clarity", + "mocha/no-hooks": "Clarity", + "mocha/no-hooks-for-single-case": "Clarity", + "mocha/no-identical-title": "Clarity", + "mocha/no-mocha-arrows": "Bug Risk", + "mocha/no-pending-tests": "Bug Risk", + "mocha/no-return-and-callback": "Clarity", + "mocha/no-sibling-hooks": "Clarity", + "mocha/no-skipped-tests": "Bug Risk", + "mocha/no-synchronous-tests": "Bug Risk", + "mocha/no-top-level-hooks": "Clarity", + "mocha/valid-test-description": "Clarity", + "mocha/valid-suite-description": "Clarity", + + "mongodb/check-addtoset-updates": "Bug Risk", + "mongodb/check-current-date-updates": "Bug Risk", + "mongodb/check-deprecated-calls": "Bug Risk", + "mongodb/check-deprecated-updates": "Bug Risk", + "mongodb/check-insert-calls": "Bug Risk", + "mongodb/check-minmax-updates": "Bug Risk", + "mongodb/check-numeric-updates": "Bug Risk", + "mongodb/check-pop-updates": "Bug Risk", + "mongodb/check-pull-updates": "Bug Risk", + "mongodb/check-push-updates": "Bug Risk", + "mongodb/check-query-calls": "Bug Risk", + "mongodb/check-remove-calls": "Bug Risk", + "mongodb/check-rename-updates": "Bug Risk", + "mongodb/check-set-updates": "Bug Risk", + "mongodb/check-unset-updates": "Bug Risk", + "mongodb/check-update-calls": "Bug Risk", + "mongodb/no-replace": "Bug Risk", + + "security/detect-buffer-noassert": "Security", + "security/detect-child-process": "Security", + "security/detect-disable-mustache-escape": "Security", + "security/detect-eval-with-expression": "Security", + "security/detect-no-csrf-before-method-override": "Security", + "security/detect-non-literal-fs-filename": "Security", + "security/detect-non-literal-regexp": "Security", + "security/detect-non-literal-require": "Security", + "security/detect-object-injection": "Security", + "security/detect-possible-timing-attacks": "Security", + "security/detect-psuedoRandomBytes": "Security", + "security/detect-unsafe-regex": "Security" +} diff --git a/lib/checks.js b/lib/checks.js index f7a960686..e7d4c6256 100644 --- a/lib/checks.js +++ b/lib/checks.js @@ -1,114 +1,4 @@ -var checkCategoryMapping = { - "accessor-pairs": "Bug Risk", - "block-scoped-var": "Bug Risk", - "callback-return": "Bug Risk", - "comma-dangle": "Bug Risk", - "complexity": "Complexity", - "consistent-return": "Bug Risk", - "curly": "Clarity", - "default-case": "Bug Risk", - "dot-location": "Clarity", - "dot-notation": "Clarity", - "eqeqeq": "Bug Risk", - "global-require": "Clarity", - "guard-for-in": "Bug Risk", - "handle-callback-err": "Bug Risk", - "init-declarations": "Clarity", - "max-statements": "Complexity", - "no-alert": "Bug Risk", - "no-caller": "Compatibility", - "no-case-declarations": "Bug Risk", - "no-catch-shadow": "Bug Risk", - "no-cond-assign": "Bug Risk", - "no-console": "Bug Risk", - "no-constant-condition": "Bug Risk", - "no-control-regex": "Bug Risk", - "no-debugger": "Bug Risk", - "no-delete-var": "Bug Risk", - "no-div-regex": "Bug Risk", - "no-dupe-args": "Bug Risk", - "no-dupe-keys": "Bug Risk", - "no-duplicate-case": "Bug Risk", - "no-else-return": "Clarity", - "no-empty": "Bug Risk", - "no-empty-character-class": "Bug Risk", - "no-empty-label": "Bug Risk", - "no-empty-pattern": "Bug Risk", - "no-eq-null": "Bug Risk", - "no-eval": "Security", - "no-ex-assign": "Bug Risk", - "no-extend-native": "Bug Risk", - "no-extra-bind": "Bug Risk", - "no-extra-boolean-cast": "Bug Risk", - "no-extra-parens": "Bug Risk", - "no-extra-semi": "Bug Risk", - "no-fallthrough": "Bug Risk", - "no-floating-decimal": "Clarity", - "no-func-assign": "Bug Risk", - "no-implicit-coercion": "Bug Risk", - "no-implied-eval": "Security", - "no-inner-declarations": "Compatibility", - "no-invalid-regexp": "Bug Risk", - "no-invalid-this": "Bug Risk", - "no-irregular-whitespace": "Compatibility", - "no-iterator": "Compatibility", - "no-label-var": "Bug Risk", - "no-labels": "Bug Risk", - "no-lone-blocks": "Bug Risk", - "no-loop-func": "Bug Risk", - "no-magic-numbers": "Clarity", - "no-mixed-requires": "Clarity", - "no-multi-spaces": "Bug Risk", - "no-multi-str": "Compatibility", - "no-native-reassign": "Bug Risk", - "no-negated-in-lhs": "Bug Risk", - "no-new": "Bug Risk", - "no-new-func": "Clarity", - "no-new-require": "Clarity", - "no-new-wrappers": "Bug Risk", - "no-obj-calls": "Bug Risk", - "no-octal": "Compatibility", - "no-octal-escape": "Compatibility", - "no-param-reassign": "Bug Risk", - "no-path-concat": "Bug Risk", - "no-process-env": "Bug Risk", - "no-process-exit": "Bug Risk", - "no-proto": "Compatibility", - "no-redeclare": "Bug Risk", - "no-regex-spaces": "Bug Risk", - "no-restricted-modules": "Security", - "no-return-assign": "Bug Risk", - "no-script-url": "Security", - "no-self-compare": "Bug Risk", - "no-sequences": "Bug Risk", - "no-shadow": "Bug Risk", - "no-shadow-restricted-names": "Bug Risk", - "no-sparse-arrays": "Bug Risk", - "no-sync": "Bug Risk", - "no-throw-literal": "Clarity", - "no-undef": "Bug Risk", - "no-undef-init": "Bug Risk", - "no-undefined": "Compatibility", - "no-unexpected-multiline": "Bug Risk", - "no-unreachable": "Bug Risk", - "no-unused-expressions": "Bug Risk", - "no-unused-vars": "Bug Risk", - "no-use-before-define": "Compatibility", - "no-useless-call": "Bug Risk", - "no-useless-concat": "Bug Risk", - "no-void": "Compatibility", - "no-warning-comments": "Bug Risk", - "no-with": "Compatibility", - "np-dupe-keys": "Bug Risk", - "radix": "Bug Risk", - "use-isnan": "Bug Risk", - "use-strict": "Bug Risk", - "valid-jsdoc": "Clarity", - "valid-typeof": "Bug Risk", - "vars-on-top": "Clarity", - "wrap-iife": "Clarity", - "yoda": "Clarity" -}; +var checkCategoryMapping = require('./check_category_mapping'); var categories = function(checkName) { return [checkCategoryMapping[checkName] || "Style"]; diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 801fc207d..24cada146 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -47,6 +47,11 @@ "from": "arrify@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" }, + "assertion-error": { + "version": "1.0.2", + "from": "assertion-error@>=1.0.1 <2.0.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.0.2.tgz" + }, "babel-code-frame": { "version": "6.11.0", "from": "babel-code-frame@>=6.8.0 <7.0.0", @@ -119,6 +124,11 @@ "from": "callsites@>=0.2.0 <0.3.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz" }, + "chai": { + "version": "3.5.0", + "from": "chai@>=3.5.0 <4.0.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-3.5.0.tgz" + }, "chalk": { "version": "1.1.3", "from": "chalk@>=1.1.3 <2.0.0", @@ -144,6 +154,16 @@ "from": "code-point-at@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.0.0.tgz" }, + "commander": { + "version": "2.3.0", + "from": "commander@2.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz" + }, + "comment-parser": { + "version": "0.4.0", + "from": "comment-parser@>=0.4.0 <0.5.0", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.4.0.tgz" + }, "concat-map": { "version": "0.0.1", "from": "concat-map@0.0.1", @@ -184,6 +204,18 @@ "from": "debug@>=2.1.1 <3.0.0", "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz" }, + "deep-eql": { + "version": "0.1.3", + "from": "deep-eql@>=0.1.3 <0.2.0", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "dependencies": { + "type-detect": { + "version": "0.1.1", + "from": "type-detect@0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz" + } + } + }, "deep-is": { "version": "0.1.3", "from": "deep-is@>=0.1.3 <0.2.0", @@ -194,6 +226,11 @@ "from": "del@>=2.0.2 <3.0.0", "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz" }, + "diff": { + "version": "1.4.0", + "from": "diff@1.4.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz" + }, "doctrine": { "version": "1.3.0", "from": "doctrine@>=1.2.2 <2.0.0", @@ -343,11 +380,31 @@ } } }, + "eslint-plugin-jsdoc": { + "version": "2.3.1", + "from": "eslint-plugin-jsdoc@2.3.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-2.3.1.tgz" + }, "eslint-plugin-jsx-a11y": { "version": "2.2.1", "from": "eslint-plugin-jsx-a11y@latest", "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-2.2.1.tgz" }, + "eslint-plugin-lodash": { + "version": "1.10.3", + "from": "eslint-plugin-lodash@1.10.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-lodash/-/eslint-plugin-lodash-1.10.3.tgz" + }, + "eslint-plugin-mocha": { + "version": "4.5.1", + "from": "eslint-plugin-mocha@4.5.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-4.5.1.tgz" + }, + "eslint-plugin-mongodb": { + "version": "0.2.4", + "from": "eslint-plugin-mongodb@0.2.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-mongodb/-/eslint-plugin-mongodb-0.2.4.tgz" + }, "eslint-plugin-promise": { "version": "2.0.1", "from": "eslint-plugin-promise@latest", @@ -358,6 +415,11 @@ "from": "eslint-plugin-react@latest", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-6.2.0.tgz" }, + "eslint-plugin-security": { + "version": "1.2.0", + "from": "eslint-plugin-security@1.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-security/-/eslint-plugin-security-1.2.0.tgz" + }, "eslint-plugin-standard": { "version": "2.0.0", "from": "eslint-plugin-standard@latest", @@ -465,6 +527,11 @@ "from": "graceful-fs@>=4.1.2 <5.0.0", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.6.tgz" }, + "growl": { + "version": "1.9.2", + "from": "growl@1.9.2", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz" + }, "hapi-capitalize-modules": { "version": "1.1.6", "from": "hapi-capitalize-modules@>=1.0.0 <2.0.0", @@ -555,6 +622,23 @@ "from": "isarray@>=1.0.0 <1.1.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" }, + "jade": { + "version": "0.26.3", + "from": "jade@0.26.3", + "resolved": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz", + "dependencies": { + "commander": { + "version": "0.6.1", + "from": "commander@0.6.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz" + }, + "mkdirp": { + "version": "0.3.0", + "from": "mkdirp@0.3.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz" + } + } + }, "js-tokens": { "version": "2.0.0", "from": "js-tokens@>=2.0.0 <3.0.0", @@ -637,6 +721,11 @@ } } }, + "lru-cache": { + "version": "2.7.3", + "from": "lru-cache@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz" + }, "meld": { "version": "1.3.2", "from": "meld@latest", @@ -657,6 +746,33 @@ "from": "mkdirp@>=0.5.0 <0.6.0", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz" }, + "mocha": { + "version": "2.5.3", + "from": "mocha@>=2.5.3 <3.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz", + "dependencies": { + "escape-string-regexp": { + "version": "1.0.2", + "from": "escape-string-regexp@1.0.2", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz" + }, + "glob": { + "version": "3.2.11", + "from": "glob@3.2.11", + "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz" + }, + "minimatch": { + "version": "0.3.0", + "from": "minimatch@>=0.3.0 <0.4.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz" + }, + "supports-color": { + "version": "1.2.0", + "from": "supports-color@1.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz" + } + } + }, "ms": { "version": "0.7.1", "from": "ms@0.7.1", @@ -707,6 +823,11 @@ "from": "os-homedir@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.1.tgz" }, + "os-tmpdir": { + "version": "1.0.1", + "from": "os-tmpdir@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz" + }, "path-exists": { "version": "2.1.0", "from": "path-exists@>=2.0.0 <3.0.0", @@ -767,6 +888,11 @@ "from": "progress@>=1.1.8 <2.0.0", "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz" }, + "ramda": { + "version": "0.22.1", + "from": "ramda@>=0.22.1 <0.23.0", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.22.1.tgz" + }, "readable-stream": { "version": "2.0.6", "from": "readable-stream@>=2.0.0 <2.1.0", @@ -802,6 +928,11 @@ "from": "restore-cursor@>=1.0.1 <2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz" }, + "ret": { + "version": "0.1.12", + "from": "ret@>=0.1.10 <0.2.0", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.12.tgz" + }, "rimraf": { "version": "2.5.4", "from": "rimraf@>=2.2.8 <3.0.0", @@ -817,11 +948,21 @@ "from": "rx-lite@>=3.1.2 <4.0.0", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz" }, + "safe-regex": { + "version": "1.1.0", + "from": "safe-regex@>=1.1.0 <2.0.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz" + }, "shelljs": { "version": "0.6.1", "from": "shelljs@>=0.6.0 <0.7.0", "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz" }, + "sigmund": { + "version": "1.0.1", + "from": "sigmund@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz" + }, "slice-ansi": { "version": "0.0.4", "from": "slice-ansi@0.0.4", @@ -867,6 +1008,18 @@ "from": "table@>=3.7.8 <4.0.0", "resolved": "https://registry.npmjs.org/table/-/table-3.7.8.tgz" }, + "temp": { + "version": "0.8.3", + "from": "temp@>=0.8.3 <0.9.0", + "resolved": "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz", + "dependencies": { + "rimraf": { + "version": "2.2.8", + "from": "rimraf@>=2.2.6 <2.3.0", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz" + } + } + }, "text-table": { "version": "0.2.0", "from": "text-table@>=0.2.0 <0.3.0", @@ -882,6 +1035,11 @@ "from": "to-fast-properties@>=1.0.1 <2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.2.tgz" }, + "to-iso-string": { + "version": "0.0.2", + "from": "to-iso-string@0.0.2", + "resolved": "https://registry.npmjs.org/to-iso-string/-/to-iso-string-0.0.2.tgz" + }, "tryit": { "version": "1.0.2", "from": "tryit@>=1.0.1 <2.0.0", @@ -897,6 +1055,11 @@ "from": "type-check@>=0.3.2 <0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz" }, + "type-detect": { + "version": "1.0.0", + "from": "type-detect@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz" + }, "typedarray": { "version": "0.0.6", "from": "typedarray@>=0.0.5 <0.1.0", @@ -936,6 +1099,11 @@ "version": "4.0.1", "from": "xtend@>=4.0.0 <5.0.0", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz" + }, + "yerror": { + "version": "1.0.2", + "from": "yerror@>=1.0.1 <2.0.0", + "resolved": "https://registry.npmjs.org/yerror/-/yerror-1.0.2.tgz" } } } diff --git a/package.json b/package.json index 6f7e4b80f..08faf5eed 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,14 @@ "eslint-plugin-flowtype": "^2.16.0", "eslint-plugin-hapi": "^4.0.0", "eslint-plugin-import": "^1.14.0", + "eslint-plugin-jsdoc": "^2.3.1", "eslint-plugin-jsx-a11y": "^2.2.1", + "eslint-plugin-lodash": "^1.10.3", + "eslint-plugin-mocha": "^4.5.1", + "eslint-plugin-mongodb": "^0.2.4", "eslint-plugin-promise": "^2.0.1", "eslint-plugin-react": "^6.2.0", + "eslint-plugin-security": "^1.2.0", "eslint-plugin-standard": "^2.0.0", "glob": "^7.0.6", "meld": "^1.3.2"