Skip to content

Commit

Permalink
chore(deps): update dependency eslint-plugin-sonarjs to v0.24.0 (#5311)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency eslint-plugin-sonarjs to v0.24.0

* Ignore lint error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stephanie Roy <[email protected]>
  • Loading branch information
renovate[bot] and Stephanie Roy authored Feb 19, 2024
1 parent 7aa4275 commit 16ff824
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extension/src/test/cli/expShow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {
import { ExperimentFlag } from '../../cli/dvc/constants'

suite('exp show --show-json', () => {
// eslint-disable-next-line sonarjs/cognitive-complexity
describe('Demo Repository', () => {
// eslint-disable-next-line sonarjs/cognitive-complexity
it('should return the expected output', async () => {
await initializeDemoRepo()
const output = await dvcReader.expShow(
Expand Down
2 changes: 1 addition & 1 deletion extension/src/test/cli/plotsDiff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {
import { isDvcError } from '../../cli/dvc/reader'

suite('plots diff -o <TEMP_DIR> --split --show-json', () => {
// eslint-disable-next-line sonarjs/cognitive-complexity
describe('Demo Repository', () => {
// eslint-disable-next-line sonarjs/cognitive-complexity
it('should return the expected output', async () => {
await initializeDemoRepo()
const revisionsRequiredForSubmodule = [EXPERIMENT_WORKSPACE_ID, 'HEAD']
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sonarjs": "0.23.0",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-testing-library": "6.2.0",
"eslint-plugin-unicorn": "51.0.1",
Expand Down
1 change: 1 addition & 0 deletions webview/src/shared/hooks/useDragAndDrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const useDragAndDrop = ({
dispatch(changeRef(undefined))
}, [immediateDragLeave, dispatch])

// eslint-disable-next-line sonarjs/cognitive-complexity
const handleDragStart = (e: DragEvent<HTMLElement>) => {
const defaultDragEnterDirection = vertical
? DragEnterDirection.TOP
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9061,10 +9061,10 @@ [email protected]:
semver "^6.3.1"
string.prototype.matchall "^4.0.8"

eslint-plugin-sonarjs@0.23.0:
version "0.23.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.23.0.tgz#0265bad801ea210951672ee3cafbcf5d456ada96"
integrity sha512-z44T3PBf9W7qQ/aR+NmofOTyg6HLhSEZOPD4zhStqBpLoMp8GYhFksuUBnCxbnf1nfISpKBVkQhiBLFI/F4Wlg==
eslint-plugin-sonarjs@0.24.0:
version "0.24.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.24.0.tgz#b594ccb9b1d6123edd3c3fe3a45b4392e14932d7"
integrity sha512-87zp50mbbNrSTuoEOebdRQBPa0mdejA5UEjyuScyIw8hEpEjfWP89Qhkq5xVZfVyVSRQKZc9alVm7yRKQvvUmg==

[email protected]:
version "1.1.2"
Expand Down

0 comments on commit 16ff824

Please sign in to comment.