diff --git a/index.js b/index.js index ae43cc0..51fc3f4 100644 --- a/index.js +++ b/index.js @@ -7,6 +7,7 @@ module.exports = { ], plugins: [ 'node', + 'mocha', 'unicorn', ], rules: { diff --git a/package.json b/package.json index d4e7bfb..e8b1f14 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "bugs": "https://github.com/anycli/eslint-config-anycli/issues", "dependencies": { "eslint-config-xo-space": "^0.17.0", + "eslint-plugin-mocha": "^4.11.0", "eslint-plugin-node": "^5.2.1", "eslint-plugin-unicorn": "^3.0.1" }, @@ -13,7 +14,7 @@ "@commitlint/cli": "^6.0.2", "@commitlint/config-conventional": "^6.0.2", "eslint": "^4.16.0", - "eslint-config-anycli": "^1.2.1", + "eslint-config-anycli": "^1.2.2", "husky": "^0.14.3", "nps": "^5.7.1", "nps-utils": "^1.5.0" diff --git a/yarn.lock b/yarn.lock index c1fcbcf..ba88cf7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -549,9 +549,9 @@ eslint-ast-utils@^1.0.0: lodash.get "^4.4.2" lodash.zip "^4.2.0" -eslint-config-anycli@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/eslint-config-anycli/-/eslint-config-anycli-1.2.1.tgz#57e618f7035277fa34a65061bc2c0727b92ddc15" +eslint-config-anycli@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/eslint-config-anycli/-/eslint-config-anycli-1.2.2.tgz#8d52cf3594056944918806b6e3003ba3228a800b" dependencies: eslint-config-xo-space "^0.17.0" eslint-plugin-node "^5.2.1" @@ -567,6 +567,12 @@ eslint-config-xo@^0.18.0: version "0.18.2" resolved "https://registry.yarnpkg.com/eslint-config-xo/-/eslint-config-xo-0.18.2.tgz#0a157120875619929e735ffd6b185c41e8a187af" +eslint-plugin-mocha@^4.11.0: + version "4.11.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-4.11.0.tgz#91193a2f55e20a5e35974054a0089d30198ee578" + dependencies: + ramda "^0.24.1" + eslint-plugin-node@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz#80df3253c4d7901045ec87fa660a284e32bdca29" @@ -1501,6 +1507,10 @@ q@^1.4.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" +ramda@^0.24.1: + version "0.24.1" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857" + read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"