From 860b511e0339df6c5baffa9671c84ef5f0c26abd Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 26 Mar 2020 17:49:45 +0200 Subject: [PATCH] Update eslint-plugin-unicorn to v18.0.0 (#30461) --- .eslintrc.json | 2 ++ package-lock.json | 10 +++++----- package.json | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b3f1688768..7ccce3214c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -45,7 +45,9 @@ "unicorn/prefer-includes": "off", "unicorn/prefer-node-append": "off", "unicorn/prefer-node-remove": "off", + "unicorn/prefer-number-properties": "off", "unicorn/prefer-query-selector": "off", + "unicorn/prefer-set-has": "off", "unicorn/prefer-text-content": "off", "unicorn/prevent-abbreviations": "off" } diff --git a/package-lock.json b/package-lock.json index d8453d737f..e5381dca82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4096,9 +4096,9 @@ } }, "eslint-plugin-unicorn": { - "version": "17.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-17.2.0.tgz", - "integrity": "sha512-0kYjrywf0kQxevFz571KrDfYMIRZ5Kq6dDgPU1EEBFeC181r+fAaPatBScWX+/hisKJ4+eCRFebxTeVylsSYmw==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-18.0.0.tgz", + "integrity": "sha512-2mk3Cz6H2LCsKSEmJ7Wmqm/XbMAQ55+PjSBFM2Yh1/A7uk2gryNNhdfbFDycsjs/ylqk0m7LJ4qPpK9OlP8f9A==", "dev": true, "requires": { "ci-info": "^2.0.0", @@ -4108,10 +4108,10 @@ "import-modules": "^2.0.0", "lodash": "^4.17.15", "read-pkg-up": "^7.0.1", - "regexp-tree": "^0.1.20", + "regexp-tree": "^0.1.21", "reserved-words": "^0.1.2", "safe-regex": "^2.1.1", - "semver": "^7.1.2" + "semver": "^7.1.3" }, "dependencies": { "find-up": { diff --git a/package.json b/package.json index 001ba5e734..000d783d92 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "eslint": "^6.8.0", "eslint-config-xo": "^0.29.1", "eslint-plugin-import": "^2.20.1", - "eslint-plugin-unicorn": "^17.2.0", + "eslint-plugin-unicorn": "^18.0.0", "find-unused-sass-variables": "^1.0.5", "glob": "^7.1.6", "hammer-simulator": "0.0.1",