diff --git a/.eslintrc.js b/.eslintrc.js
index 18429c2b38f136e36d78c169b8f0869c9cb6df2d_LmVzbGludHJjLmpz..322afba09314c1f66790cce7d33447bb220d005b_LmVzbGludHJjLmpz 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -20,4 +20,13 @@
       },
     ],
   },
+  overrides: [
+    {
+      files: ["**/webpack.config.js", "**/.eslintrc.js"],
+      rules: {
+        "@typescript-eslint/no-var-requires": 0,
+      },
+    },
+  ],
+  ignorePatterns: ["packages/*/dist/"],
 };
diff --git a/package.json b/package.json
index 18429c2b38f136e36d78c169b8f0869c9cb6df2d_cGFja2FnZS5qc29u..322afba09314c1f66790cce7d33447bb220d005b_cGFja2FnZS5qc29u 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,9 @@
   "version": "0.0.1",
   "main": "index.js",
   "license": "MIT",
+  "scripts": {
+      "lint": "eslint packages"
+  },
   "workspaces": [
     "packages/demo",
     "packages/ra-cubicweb"