Skip to content

armgit / ente

Public Imported from GitHub
0

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

Swap

Manav Rathi938679922c76
diff --git a/web/packages/new/.eslintrc.js b/web/packages/new/.eslintrc.js
deleted file mode 100644
index 37111028d5..0000000000
--- a/web/packages/new/.eslintrc.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- extends: ["@/build-config/eslintrc-react"],
- // TODO: These can be removed when we start using ffmpeg upstream. For an reason
- // I haven't investigated much, when we run eslint on our CI, it seems to behave
- // differently than locally and give a lot of warnings that possibly arise from
- // it not being able to locate ffmpeg-wasm.
- ignorePatterns: ["**/ffmpeg/worker.ts"],
-};
diff --git a/web/packages/new/eslint.config.mjs b/web/packages/new/eslint.config.mjs
new file mode 100644
index 0000000000..0679b564ea
--- /dev/null
+++ b/web/packages/new/eslint.config.mjs
@@ -0,0 +1,12 @@
+import config from "@/build-config/eslintrc-react.mjs";
+
+export default [
+ ...config,
+ {
+ // TODO: These can be removed when we start using ffmpeg upstream. For
+ // reasons I haven't investigated much, when we run eslint on our CI, it
+ // seems to behave differently than locally and give a lot of warnings
+ // that possibly arise from it not being able to locate ffmpeg-wasm.
+ ignores: ["**/ffmpeg/worker.ts"],
+ },
+];