diff --git a/package.json b/package.json index c0f080c0da8b116413513b910e9540eb6893a83e..b6e61bd05c9c2f9663ff134c112c4dabb2e9b149 100644 --- a/package.json +++ b/package.json @@ -31,17 +31,11 @@ "js-yaml": "^4.0.0" }, "devDependencies": { + "@open-xchange/lint": "^0.0.1", "autocannon": "^7.10.0", "chai": "^4.3.6", - "eslint": "^8.25.0", - "eslint-config-standard": "^17.0.0", - "eslint-plugin-import": "^2.25.4", "eslint-plugin-mocha": "^10.1.0", - "eslint-plugin-n": "^15.3.0", - "eslint-plugin-promise": "^6.0.1", - "husky": ">=8", "ioredis-mock": "^8.1.1", - "lint-staged": ">=13.0.3", "mocha": "^10.0.0", "nodemon": "^2.0.20", "sinon": "^14.0.1", diff --git a/yarn.lock b/yarn.lock index 7b75cae9ee85d4e2298132efd8d5c7ddadada8bb..3a0d75dd778b0dc6aa5c36aa9192a85866cd204d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -187,6 +187,22 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@open-xchange/lint@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@open-xchange/lint/-/lint-0.0.1.tgz#d7e1ee8b64e9ae6fd77beb4cdafd9387db37fa30" + integrity sha512-W4iEXQpRawYZKqMtG4vtw/XU89KLa5OePXWihM9YGnsL51Lh3e/9CClRn4lZZUvEjv7QiLMfduNT/4rRAcRqPA== + dependencies: + eslint "^8.25.0" + eslint-config-standard "^17.0.0" + eslint-plugin-chai-friendly "^0.7.2" + eslint-plugin-codeceptjs "^1.3.0" + eslint-plugin-import "^2.26.0" + eslint-plugin-license-header "^0.6.0" + eslint-plugin-n "^15.3.0" + eslint-plugin-promise "^6.0.1" + husky ">=7" + lint-staged ">=10" + "@open-xchange/logging@^0.0.11": version "0.0.11" resolved "https://registry.yarnpkg.com/@open-xchange/logging/-/logging-0.0.11.tgz#5ab49042b1d69860980a0549ae0f9c6e6239d9be" @@ -1005,6 +1021,18 @@ eslint-module-utils@^2.7.3: dependencies: debug "^3.2.7" +eslint-plugin-chai-friendly@^0.7.2: + version "0.7.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-chai-friendly/-/eslint-plugin-chai-friendly-0.7.2.tgz#0ebfbb2c1244f5de2997f3963d155758234f2b0f" + integrity sha512-LOIfGx5sZZ5FwM1shr2GlYAWV9Omdi+1/3byuVagvQNoGUuU0iHhp7AfjA1uR+4dJ4Isfb4+FwBJgQajIw9iAg== + +eslint-plugin-codeceptjs@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-codeceptjs/-/eslint-plugin-codeceptjs-1.3.0.tgz#7bd12fc58b5a950fdcc62c6e2dcf82897d58a100" + integrity sha512-KdRRVJxzE1Ts9SNMKn1Zt3clA1D+hl49zugiq0rncuAp0SCUlkLEacxf0nR16q4KOI1t+5kF+J9goF4iN/m+GA== + dependencies: + requireindex "~1.1.0" + eslint-plugin-es@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9" @@ -1013,7 +1041,7 @@ eslint-plugin-es@^4.1.0: eslint-utils "^2.0.0" regexpp "^3.0.0" -eslint-plugin-import@^2.25.4: +eslint-plugin-import@^2.25.4, eslint-plugin-import@^2.26.0: version "2.26.0" resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== @@ -1032,6 +1060,13 @@ eslint-plugin-import@^2.25.4: resolve "^1.22.0" tsconfig-paths "^3.14.1" +eslint-plugin-license-header@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-license-header/-/eslint-plugin-license-header-0.6.0.tgz#81b0bab59da5a752d3a129f04bd0ca35bb6b07a2" + integrity sha512-IEywStBWaDBDMkogYoKUAdaOuomZ+YaQmdoSD2vHmXobekM+XuP6SWLlvwUUhIbdocn3MTlb5CUJ8E4VHz1c/w== + dependencies: + requireindex "^1.2.0" + eslint-plugin-mocha@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.1.0.tgz#69325414f875be87fb2cb00b2ef33168d4eb7c8d" @@ -1642,7 +1677,7 @@ human-signals@^3.0.1: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-3.0.1.tgz#c740920859dafa50e5a3222da9d3bf4bb0e5eef5" integrity sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ== -husky@>=8: +husky@>=7, husky@>=8: version "8.0.1" resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== @@ -1983,7 +2018,7 @@ lilconfig@2.0.5: resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.5.tgz#19e57fd06ccc3848fd1891655b5a447092225b25" integrity sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg== -lint-staged@>=13.0.3: +lint-staged@>=10, lint-staged@>=13.0.3: version "13.0.3" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.3.tgz#d7cdf03a3830b327a2b63c6aec953d71d9dc48c6" integrity sha512-9hmrwSCFroTSYLjflGI8Uk+GWAwMB4OlpU4bMJEAT5d/llQwtYKoim4bLOyLCuWFAhWEupE0vkIFqtw/WIsPug== @@ -2800,6 +2835,16 @@ require-from-string@^2.0.2: resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== +requireindex@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef" + integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww== + +requireindex@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.1.0.tgz#e5404b81557ef75db6e49c5a72004893fe03e162" + integrity sha512-LBnkqsDE7BZKvqylbmn7lTIVdpx4K/QCduRATpO5R+wtPmky/a8pN1bO2D6wXppn1497AJF9mNjqAXr6bdl9jg== + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"