fix: full rewrite of ScopeProvider to address known issues #345
Annotations
10 errors and 11 warnings
test:
__tests__/ScopeProvider2/03_nested.test.tsx#L6
`src/ScopeProvider2/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider2/04_derived.test.tsx#L4
`src/ScopeProvider2/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider2/05_derived_self.test.tsx#L5
`src/ScopeProvider2/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider2/06_implicit_parent.test.tsx#L6
`src/ScopeProvider2/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider2/07_writable.test.tsx#L4
`src/ScopeProvider2/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider3/01_basic_spec.test.tsx#L2
Replace `·useAtom,·useSetAtom,·useAtomValue,·atom,·type·WritableAtom,·type·SetStateAction·` with `⏎··useAtom,⏎··useSetAtom,⏎··useAtomValue,⏎··atom,⏎··type·WritableAtom,⏎··type·SetStateAction,⏎`
|
test:
__tests__/ScopeProvider3/03_nested.test.tsx#L6
`src/ScopeProvider3/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider3/04_derived.test.tsx#L4
`src/ScopeProvider3/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider3/05_derived_self.test.tsx#L5
`src/ScopeProvider3/ScopeProvider` import should occur before import of `./utils`
|
test:
__tests__/ScopeProvider3/06_implicit_parent.test.tsx#L6
`src/ScopeProvider3/ScopeProvider` import should occur before import of `./utils`
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test:
__tests__/ScopeProvider3/01_basic_spec.test.tsx#L2
'useSetAtom' is defined but never used
|
test:
__tests__/ScopeProvider3/01_basic_spec.test.tsx#L2
'WritableAtom' is defined but never used
|
test:
__tests__/ScopeProvider3/01_basic_spec.test.tsx#L2
'SetStateAction' is defined but never used
|
test:
__tests__/ScopeProvider3/01_basic_spec.test.tsx#L3
'atomWithReducer' is defined but never used
|
test:
__tests__/derive/trials/getAtomState-caller.ts#L1
'AnyWritableAtom' is defined but never used
|
test:
__tests__/derive/understanding/atomState.test.ts#L15
'atomCState' is assigned a value but never used
|
test:
__tests__/derive/understanding/derive.test.ts#L81
'get' is defined but never used. Allowed unused args must match /^_/u
|
test:
__tests__/derive/understanding/derive.test.ts#L81
'set' is defined but never used. Allowed unused args must match /^_/u
|
test:
__tests__/derive/understanding/deriveStack.test.ts#L27
Unexpected console statement
|
test:
__tests__/derive/understanding/deriveStack.test.ts#L80
'atomAState' is assigned a value but never used
|