Add prettier

This commit is contained in:
Ivan Malison 2024-01-06 19:25:17 -07:00
parent 002ac7902d
commit 160590658b
3 changed files with 10 additions and 8 deletions

4
.dir-locals.el Normal file
View File

@ -0,0 +1,4 @@
((nil
.
((lsp-pylsp-server-command . ("poetry" "run" "pylsp"))
(apheleia-inhibit . nil))))

View File

@ -1,7 +1,6 @@
import React from "react";
import { SafeAreaView, Text } from "react-native";
const App: React.FC = () => {
return (
<SafeAreaView>
@ -10,5 +9,4 @@ const App: React.FC = () => {
);
};
export default App;

View File

@ -53,7 +53,7 @@
in with pkgs; {
defaultPackage = appBuild;
devShell = mkShell {
buildInputs = [ nodejs yarn watchman gradle_7 alejandra ];
buildInputs = [ nodejs yarn watchman gradle_7 alejandra nodePackages.prettier ];
ANDROID_SDK_BIN = android-sdk;
shellHook = ''
export JAVA_HOME=${pkgs.jdk17.home}