Skip to content

Commit

Permalink
Build(deps): bump eslint-plugin-unicorn from 55.0.0 to 56.0.1 (#795)
Browse files Browse the repository at this point in the history
* Build(deps): bump eslint-plugin-unicorn from 55.0.0 to 56.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 55.0.0 to 56.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v55.0.0...v56.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: linting issue

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthijs Smets <[email protected]>
  • Loading branch information
dependabot[bot] and MatthijsSmets authored Dec 3, 2024
1 parent dac8823 commit 05b1ae4
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 19 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"diff-match-patch": "1.0.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"font-awesome": "^4.7.0",
"monaco-editor": "0.48.0",
"ng-simple-file-tree": "^0.1.28",
Expand Down
69 changes: 53 additions & 16 deletions pnpm-lock.yaml

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

3 changes: 1 addition & 2 deletions src/app/shared/services/settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export class SettingsService {
this.setShowMultipleAtATime(localStorage.getItem(this.showMultipleAtATimeKey) === 'true');
const MAX_ALLOWED_DROPDOWN_VALUE: number = 8;
const tempTableSpacing: number = +(localStorage.getItem(this.tableSpacingKey) ?? 1);
const cappedTableSpacing: number =
tempTableSpacing < MAX_ALLOWED_DROPDOWN_VALUE ? tempTableSpacing : MAX_ALLOWED_DROPDOWN_VALUE;
const cappedTableSpacing: number = Math.min(tempTableSpacing, MAX_ALLOWED_DROPDOWN_VALUE);
this.setTableSpacing(cappedTableSpacing);
this.setShowSearchWindowOnLoad(localStorage.getItem(this.showSearchWindowOnLoadKey) === 'true');
this.setPrettifyOnLoad(localStorage.getItem(this.prettifyOnLoadKey) === 'true');
Expand Down

0 comments on commit 05b1ae4

Please sign in to comment.