chore: improve prettier config #278
lint-typescript.yml
on: pull_request
Compile TypeScript (tsc)
11s
Lint TypeScript (eslint, prettier)
12s
Annotations
8 errors
|
Compile TypeScript (tsc)
Process completed with exit code 1.
|
|
Compile TypeScript (tsc):
example/src/tests/typeorm.spec.ts#L4
[tsc] reported by reviewdog 🐶
Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
Raw Output:
src/tests/typeorm.spec.ts(4,31): error TS2307: Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
|
|
Compile TypeScript (tsc):
example/src/screens/HomeScreen.tsx#L5
[tsc] reported by reviewdog 🐶
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native")' call instead.
Raw Output:
src/screens/HomeScreen.tsx(5,31): error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native")' call instead.
|
|
Compile TypeScript (tsc):
example/src/navigation.ts#L2
[tsc] reported by reviewdog 🐶
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native-stack")' call instead.
Raw Output:
src/navigation.ts(2,44): error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native-stack")' call instead.
|
|
Compile TypeScript (tsc):
example/src/navigation.ts#L1
[tsc] reported by reviewdog 🐶
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native")' call instead.
Raw Output:
src/navigation.ts(1,33): error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@react-navigation/native")' call instead.
|
|
Compile TypeScript (tsc):
example/src/Database.ts#L3
[tsc] reported by reviewdog 🐶
Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
Raw Output:
src/Database.ts(3,31): error TS2307: Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
|
|
Compile TypeScript (tsc):
example/src/Database.ts#L2
[tsc] reported by reviewdog 🐶
Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
Raw Output:
src/Database.ts(2,34): error TS2307: Cannot find module 'react-native-nitro-sqlite' or its corresponding type declarations.
|
|
Lint TypeScript (eslint, prettier)
Process completed with exit code 1.
|