Skip to content

Commit

Permalink
Merge pull request ColorlibHQ#3356 from ColorlibHQ/dependabot/npm_and…
Browse files Browse the repository at this point in the history
…_yarn/eslint-plugin-unicorn-27.0.0

Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0
  • Loading branch information
REJack authored Jan 27, 2021
2 parents 7498e2c + 35d7bb4 commit ff904dc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 27 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"unicorn/filename-case": "off",
"unicorn/consistent-destructuring": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/no-unused-properties": "error",
Expand Down
4 changes: 2 additions & 2 deletions build/js/ControlSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ class ControlSidebar {
collapse() {
const $body = $('body')
const $html = $('html')
const that = this
const { target } = this._config

// Show the control sidebar
if (this._config.controlsidebarSlide) {
$html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
$body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
$(that._config.target).hide()
$(target).hide()
$html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)
$(this).dequeue()
})
Expand Down
2 changes: 2 additions & 0 deletions dist/js/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@
"never"
],
"strict": "error",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/prefer-dataset": "off",
"unicorn/prefer-includes": "off",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off"
}
}
31 changes: 7 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"eslint-config-xo": "^0.34.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-unicorn": "^26.0.1",
"eslint-plugin-unicorn": "^27.0.0",
"lockfile-lint": "^4.3.7",
"node-sass": "^5.0.0",
"node-sass-package-importer": "^5.3.2",
Expand Down

0 comments on commit ff904dc

Please sign in to comment.