0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Update eslint-plugin-unicorn to v35.0.0

This commit is contained in:
XhmikosR 2021-08-26 19:32:29 +03:00
parent 10fc1fec6a
commit 4a4b61f082
3 changed files with 6 additions and 13 deletions

View File

@ -113,7 +113,6 @@ function bootstrapDelegationHandler(element, selector, fn) {
event.delegateTarget = target event.delegateTarget = target
if (handler.oneOff) { if (handler.oneOff) {
// eslint-disable-next-line unicorn/consistent-destructuring
EventHandler.off(element, event.type, selector, fn) EventHandler.off(element, event.type, selector, fn)
} }

14
package-lock.json generated
View File

@ -3988,11 +3988,12 @@
} }
}, },
"eslint-plugin-unicorn": { "eslint-plugin-unicorn": {
"version": "34.0.1", "version": "35.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-34.0.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-35.0.0.tgz",
"integrity": "sha512-GUBtRYRhPVOW/GDu6QtOjrneSZxY/MulOT8puJU+47VKCzNmMgS/iHO2gZqoQ7KPMrpNYlebUlvCWy3IR1USVQ==", "integrity": "sha512-FHsaO68tDPQILfs/mGF8eSISJp8RswR4FpUuBDnueK2wyEHC6zmsc9WxjYyldXoIsBuVmru6jQyFCbCWPoW/KQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/helper-validator-identifier": "^7.14.9",
"ci-info": "^3.2.0", "ci-info": "^3.2.0",
"clean-regexp": "^1.0.0", "clean-regexp": "^1.0.0",
"eslint-template-visitor": "^2.3.2", "eslint-template-visitor": "^2.3.2",
@ -4002,7 +4003,6 @@
"pluralize": "^8.0.0", "pluralize": "^8.0.0",
"read-pkg-up": "^7.0.1", "read-pkg-up": "^7.0.1",
"regexp-tree": "^0.1.23", "regexp-tree": "^0.1.23",
"reserved-words": "^0.1.2",
"safe-regex": "^2.1.1", "safe-regex": "^2.1.1",
"semver": "^7.3.5" "semver": "^7.3.5"
}, },
@ -8901,12 +8901,6 @@
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
"dev": true "dev": true
}, },
"reserved-words": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.2.tgz",
"integrity": "sha1-AKCUD5jNUBrqqsMWQR2a3FKzGrE=",
"dev": true
},
"resolve": { "resolve": {
"version": "1.20.0", "version": "1.20.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",

View File

@ -63,7 +63,7 @@
"docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve": "hugo server --port 9001 --disableFastRender",
"docs-serve-only": "npx sirv-cli _site --port 9001", "docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x eslint-plugin-unicorn,globby,karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor", "update-deps": "ncu -u -x globby,karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor",
"release": "npm-run-all dist release-sri docs-build release-zip*", "release": "npm-run-all dist release-sri docs-build release-zip*",
"release-sri": "node build/generate-sri.js", "release-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js", "release-version": "node build/change-version.js",
@ -115,7 +115,7 @@
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-xo": "^0.38.0", "eslint-config-xo": "^0.38.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.24.2",
"eslint-plugin-unicorn": "^34.0.1", "eslint-plugin-unicorn": "^35.0.0",
"find-unused-sass-variables": "^3.1.0", "find-unused-sass-variables": "^3.1.0",
"glob": "^7.1.7", "glob": "^7.1.7",
"globby": "^11.0.4", "globby": "^11.0.4",