소스 검색

Fix formatting

Loris Leiva 1 년 전
부모
커밋
3afe0c42d2
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 3
      template/clients/js/scripts/client/lint-js.mjs
  2. 3 3
      template/clients/rust/scripts/client/lint-rust.mjs

+ 3 - 3
template/clients/js/scripts/client/lint-js.mjs

@@ -1,9 +1,9 @@
 #!/usr/bin/env zx
-import "zx/globals";
-import { workingDirectory } from "../utils.mjs";
+import 'zx/globals';
+import { workingDirectory } from '../utils.mjs';
 
 // Check the client using ESLint and Prettier.
-cd(path.join(workingDirectory, "clients", "js"));
+cd(path.join(workingDirectory, 'clients', 'js'));
 await $`pnpm install`;
 await $`pnpm lint`;
 await $`pnpm format`;

+ 3 - 3
template/clients/rust/scripts/client/lint-rust.mjs

@@ -1,7 +1,7 @@
 #!/usr/bin/env zx
-import "zx/globals";
-import { workingDirectory } from "../utils.mjs";
+import 'zx/globals';
+import { workingDirectory } from '../utils.mjs';
 
 // Check the client using Clippy.
-cd(path.join(workingDirectory, "clients", "rust"));
+cd(path.join(workingDirectory, 'clients', 'rust'));
 await $`cargo clippy ${argv._}`;