mirror of https://github.com/ColorlibHQ/AdminLTE
Merge pull request #3356 from ColorlibHQ/dependabot/npm_and_yarn/eslint-plugin-unicorn-27.0.0
Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0pull/3351/head
commit
ff904dcf31
|
@ -48,6 +48,7 @@
|
||||||
"unicorn/filename-case": "off",
|
"unicorn/filename-case": "off",
|
||||||
"unicorn/consistent-destructuring": "off",
|
"unicorn/consistent-destructuring": "off",
|
||||||
"unicorn/no-array-callback-reference": "off",
|
"unicorn/no-array-callback-reference": "off",
|
||||||
|
"unicorn/no-array-for-each": "off",
|
||||||
"unicorn/no-for-loop": "off",
|
"unicorn/no-for-loop": "off",
|
||||||
"unicorn/no-null": "off",
|
"unicorn/no-null": "off",
|
||||||
"unicorn/no-unused-properties": "error",
|
"unicorn/no-unused-properties": "error",
|
||||||
|
|
|
@ -64,13 +64,13 @@ class ControlSidebar {
|
||||||
collapse() {
|
collapse() {
|
||||||
const $body = $('body')
|
const $body = $('body')
|
||||||
const $html = $('html')
|
const $html = $('html')
|
||||||
const that = this
|
const { target } = this._config
|
||||||
|
|
||||||
// Show the control sidebar
|
// Show the control sidebar
|
||||||
if (this._config.controlsidebarSlide) {
|
if (this._config.controlsidebarSlide) {
|
||||||
$html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
|
$html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
|
||||||
$body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
|
$body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
|
||||||
$(that._config.target).hide()
|
$(target).hide()
|
||||||
$html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
|
$html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
|
||||||
$(this).dequeue()
|
$(this).dequeue()
|
||||||
})
|
})
|
||||||
|
|
|
@ -35,12 +35,14 @@
|
||||||
"never"
|
"never"
|
||||||
],
|
],
|
||||||
"strict": "error",
|
"strict": "error",
|
||||||
|
"unicorn/no-array-for-each": "off",
|
||||||
"unicorn/no-for-loop": "off",
|
"unicorn/no-for-loop": "off",
|
||||||
"unicorn/no-null": "off",
|
"unicorn/no-null": "off",
|
||||||
"unicorn/prefer-dataset": "off",
|
"unicorn/prefer-dataset": "off",
|
||||||
"unicorn/prefer-includes": "off",
|
"unicorn/prefer-includes": "off",
|
||||||
"unicorn/prefer-node-append": "off",
|
"unicorn/prefer-node-append": "off",
|
||||||
"unicorn/prefer-query-selector": "off",
|
"unicorn/prefer-query-selector": "off",
|
||||||
|
"unicorn/prefer-spread": "off",
|
||||||
"unicorn/prevent-abbreviations": "off"
|
"unicorn/prevent-abbreviations": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4085,16 +4085,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-ast-utils": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-ast-utils/-/eslint-ast-utils-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"lodash.get": "^4.4.2",
|
|
||||||
"lodash.zip": "^4.2.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eslint-config-xo": {
|
"eslint-config-xo": {
|
||||||
"version": "0.34.0",
|
"version": "0.34.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.34.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.34.0.tgz",
|
||||||
|
@ -4307,21 +4297,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-unicorn": {
|
"eslint-plugin-unicorn": {
|
||||||
"version": "26.0.1",
|
"version": "27.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-26.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-27.0.0.tgz",
|
||||||
"integrity": "sha512-SWgF9sIVY74zqkkSN2dclSCqRfocWSUGD0haC0NX2oRfmdp9p8dQvJYkYSQePaCyssPUE/pqpsIEEZNTh8crUA==",
|
"integrity": "sha512-uUvlueTa4SpkvLjbkqx08JbB0tY6XxOAa8vlfwbTzITfVNy3go3QzPCus49fO5M/mfooOuraIDVkaqan/pLAHg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ci-info": "^2.0.0",
|
"ci-info": "^2.0.0",
|
||||||
"clean-regexp": "^1.0.0",
|
"clean-regexp": "^1.0.0",
|
||||||
"eslint-ast-utils": "^1.1.0",
|
|
||||||
"eslint-template-visitor": "^2.2.2",
|
"eslint-template-visitor": "^2.2.2",
|
||||||
"eslint-utils": "^2.1.0",
|
"eslint-utils": "^2.1.0",
|
||||||
"import-modules": "^2.1.0",
|
"import-modules": "^2.1.0",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
"pluralize": "^8.0.0",
|
"pluralize": "^8.0.0",
|
||||||
"read-pkg-up": "^7.0.1",
|
"read-pkg-up": "^7.0.1",
|
||||||
"regexp-tree": "^0.1.21",
|
"regexp-tree": "^0.1.22",
|
||||||
"reserved-words": "^0.1.2",
|
"reserved-words": "^0.1.2",
|
||||||
"safe-regex": "^2.1.1",
|
"safe-regex": "^2.1.1",
|
||||||
"semver": "^7.3.4"
|
"semver": "^7.3.4"
|
||||||
|
@ -6490,12 +6479,6 @@
|
||||||
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
|
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"lodash.zip": {
|
|
||||||
"version": "4.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/lodash.zip/-/lodash.zip-4.2.0.tgz",
|
|
||||||
"integrity": "sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"log-symbols": {
|
"log-symbols": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",
|
||||||
|
@ -8503,9 +8486,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"regexp-tree": {
|
"regexp-tree": {
|
||||||
"version": "0.1.21",
|
"version": "0.1.23",
|
||||||
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.21.tgz",
|
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.23.tgz",
|
||||||
"integrity": "sha512-kUUXjX4AnqnR8KRTCrayAo9PzYMRKmVoGgaz2tBuz0MF3g1ZbGebmtW0yFHfFK9CmBjQKeYIgoL22pFLBJY7sw==",
|
"integrity": "sha512-+7HWfb4Bvu8Rs2eQTUIpX9I/PlQkYOuTNbRpKLJlQpSgwSkzFYh+pUj0gtvglnOZLKB6YgnIgRuJ2/IlpL48qw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"regexp.prototype.flags": {
|
"regexp.prototype.flags": {
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
"eslint-config-xo": "^0.34.0",
|
"eslint-config-xo": "^0.34.0",
|
||||||
"eslint-plugin-compat": "^3.9.0",
|
"eslint-plugin-compat": "^3.9.0",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-unicorn": "^26.0.1",
|
"eslint-plugin-unicorn": "^27.0.0",
|
||||||
"lockfile-lint": "^4.3.7",
|
"lockfile-lint": "^4.3.7",
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
"node-sass-package-importer": "^5.3.2",
|
"node-sass-package-importer": "^5.3.2",
|
||||||
|
|
Loading…
Reference in New Issue