Fix lint: exempt storage test from no-restricted-globals, remove non-null assertion
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ export default [
|
||||
// window.localStorage / window.sessionStorage: only src/shared/storage.ts
|
||||
{
|
||||
files: ["src/**/*.{ts,tsx}"],
|
||||
ignores: ["src/shared/storage.ts"],
|
||||
ignores: ["src/shared/storage.ts", "src/shared/storage.test.ts"],
|
||||
rules: {
|
||||
"no-restricted-globals": [
|
||||
"error",
|
||||
|
||||
Reference in New Issue
Block a user