diff --git a/eslint.config.mjs b/eslint.config.mjs index c8e9f41db8..c2561ea652 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -85,6 +85,7 @@ export default tseslint.config( 'react/no-is-mounted': 'off', 'react/prop-types': 'off', + 'unicorn/prefer-global-this': 'off', 'unicorn/prefer-structured-clone': 'off', 'unicorn/no-new-array': 'off', 'unicorn/no-empty-file': 'off', diff --git a/package.json b/package.json index dc1ff6478d..1b61fe42b3 100644 --- a/package.json +++ b/package.json @@ -105,10 +105,10 @@ "electron-mock-ipc": "^0.3.8", "eslint": "^9.0.0", "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^5.1.0-rc-d48603a5-20240813", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.3", "eslint-plugin-tsdoc": "^0.3.0", - "eslint-plugin-unicorn": "^55.0.0", + "eslint-plugin-unicorn": "^56.0.0", "express": "^4.0.0", "express-basic-auth": "^1.2.1", "find-yarn-workspace-root": "^2.0.0", diff --git a/packages/core/BaseFeatureWidget/__snapshots__/index.test.tsx.snap b/packages/core/BaseFeatureWidget/__snapshots__/index.test.tsx.snap index f7d07a66f5..d370ee75eb 100644 --- a/packages/core/BaseFeatureWidget/__snapshots__/index.test.tsx.snap +++ b/packages/core/BaseFeatureWidget/__snapshots__/index.test.tsx.snap @@ -3,31 +3,31 @@ exports[`open up a widget 1`] = `

Core details

@@ -92,10 +92,10 @@ exports[`open up a widget 1`] = `

Attributes

@@ -120,10 +120,10 @@ exports[`open up a widget 1`] = ` class="css-57ilie-container" >

fileLocationTest

@@ -201,47 +201,47 @@ exports[`renders all the different types of built-in slots 1`] = ` />

stringArrayTest

@@ -315,44 +315,44 @@ exports[`renders all the different types of built-in slots 1`] = ` />
key1

Values associated with entry key1

stringArrayMapTest

@@ -533,17 +533,17 @@ exports[`renders all the different types of built-in slots 1`] = ` />