Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

yarn lint

Manav Rathibc3bb1714ee7
diff --git a/packages/build-config/.eslintrc.js b/packages/build-config/.eslintrc.js
new file mode 100644
index 0000000000..ef82ed7187
--- /dev/null
+++ b/packages/build-config/.eslintrc.js
@@ -0,0 +1,6 @@
+/* eslint-env node */
+module.exports = {
+ extends: ["eslint:recommended"],
+ ignorePatterns: [".eslintrc.js"],
+ root: true,
+};
diff --git a/packages/build-config/eslintrc-typescript.js b/packages/build-config/eslintrc-typescript.js
index 066f24da13..783330cad8 100644
--- a/packages/build-config/eslintrc-typescript.js
+++ b/packages/build-config/eslintrc-typescript.js
@@ -1,3 +1,4 @@
+/* eslint-env node */
module.exports = {
extends: [
"eslint:recommended",
diff --git a/packages/ui/src/hello.ts b/packages/ui/src/hello.ts
index 5c500a8581..6e26a0ea88 100644
--- a/packages/ui/src/hello.ts
+++ b/packages/ui/src/hello.ts
@@ -1,2 +1,4 @@
/** Howdy! */
-export const sayNamaste = () => console.log("Namaste, world");
+export const sayNamaste = () => {
+ console.log("Namaste, world");
+};
diff --git a/packages/utils/src/hello.ts b/packages/utils/src/hello.ts
index 8035018161..7ee682bcc6 100644
--- a/packages/utils/src/hello.ts
+++ b/packages/utils/src/hello.ts
@@ -1,2 +1,4 @@
/** Howdy! */
-export const sayHello = () => console.log("Hello, world");
+export const sayHello = () => {
+ console.log("Hello, world");
+};