build: enable consistent type imports eslint rule (#7992)
* build: enable consistent type imports eslint rule * change to warn * fix the warning in example and excalidraw-app * fix packages * enable type annotations and throw error for the rule
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { PrimitiveAtom, unstable_createStore, useAtom } from "jotai";
|
||||
import type { PrimitiveAtom } from "jotai";
|
||||
import { unstable_createStore, useAtom } from "jotai";
|
||||
import { useLayoutEffect } from "react";
|
||||
|
||||
export const jotaiScope = Symbol();
|
||||
|
||||
Reference in New Issue
Block a user