Add prettier
This commit is contained in:
parent
002ac7902d
commit
160590658b
4
.dir-locals.el
Normal file
4
.dir-locals.el
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
((nil
|
||||||
|
.
|
||||||
|
((lsp-pylsp-server-command . ("poetry" "run" "pylsp"))
|
||||||
|
(apheleia-inhibit . nil))))
|
12
App.tsx
12
App.tsx
@ -1,14 +1,12 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { SafeAreaView, Text } from "react-native";
|
import { SafeAreaView, Text } from "react-native";
|
||||||
|
|
||||||
|
|
||||||
const App: React.FC = () => {
|
const App: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<SafeAreaView>
|
<SafeAreaView>
|
||||||
<Text>Hello, World!</Text>
|
<Text>Hello, World!</Text>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
in with pkgs; {
|
in with pkgs; {
|
||||||
defaultPackage = appBuild;
|
defaultPackage = appBuild;
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
buildInputs = [ nodejs yarn watchman gradle_7 alejandra ];
|
buildInputs = [ nodejs yarn watchman gradle_7 alejandra nodePackages.prettier ];
|
||||||
ANDROID_SDK_BIN = android-sdk;
|
ANDROID_SDK_BIN = android-sdk;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export JAVA_HOME=${pkgs.jdk17.home}
|
export JAVA_HOME=${pkgs.jdk17.home}
|
||||||
|
Loading…
Reference in New Issue
Block a user