浏览代码

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._}`;