8000 Add in two more rtk package allows too · typescript-eslint/examples@185fa5c · GitHub
[go: up one dir, main page]

Skip to content

Commit 185fa5c

Browse files
Add in two more rtk package allows too
1 parent fdb1d16 commit 185fa5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/redux-toolkit-floating-promises/eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ export default tseslint.config(
1818
"@typescript-eslint/no-floating-promises": [
1919
"error", {
2020
"allowForKnownSafePromises": [
21-
{ "from": "package", "name": "SafePromise", "package": "@reduxjs/toolkit" }
21+
{ from: "package", name: "SafePromise", package: "@reduxjs/toolkit" },
22+
{ from: 'package', name: 'SafePromise', package: '@reduxjs/toolkit/query' },
23+
{ from: 'package', name: 'SafePromise', package: '@reduxjs/toolkit/query/react' },
2224
]
2325
}
2426
]

0 commit comments

Comments
 (0)
0