Skip to content

Commit

Permalink
Update lint dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and buberdds committed Jul 14, 2023
1 parent 16c15f2 commit 2a20788
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 186 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
"@types/valid-url": "1.0.4",
"@types/w3c-web-usb": "1.0.6",
"@types/webextension-polyfill": "0.10.1",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/parser": "5.60.1",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"babel-plugin-istanbul": "6.1.1",
"cypress": "12.17.1",
"eslint": "8.44.0",
Expand All @@ -139,7 +139,7 @@
"serve-handler": "6.1.5",
"stream-browserify": "3.0.0",
"string_decoder": "1.3.0",
"stylelint": "15.9.0",
"stylelint": "15.10.1",
"stylelint-config-recommended": "13.0.0",
"ts-jest": "29.1.1",
"typescript": "5.1.6",
Expand All @@ -149,7 +149,7 @@
"resolutions": {
"@ledgerhq/hw-transport": "^6.27.6",
"@testing-library/dom": "9.3.1",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/eslint-plugin": "5.62.0",
"bip39": "3.1.0",
"eslint-plugin-react": "7.32.2",
"grommet-icons": "4.11.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/state/persist/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RootState } from 'types'

// eslint-disable-next-line @typescript-eslint/ban-types
interface PreserveAliasName extends String {}

export interface KeyWithSalt {
Expand Down
1 change: 1 addition & 0 deletions src/types/StringifiedBigInt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** Redux can't serialize bigint fields, so we stringify them, and mark them. */
export type StringifiedBigInt = string & PreserveAliasName
// eslint-disable-next-line @typescript-eslint/ban-types
interface PreserveAliasName extends String {}

// Hover to check if inferred variable type is StringifiedBigInt (not string)
Expand Down
Loading

0 comments on commit 2a20788

Please sign in to comment.