diff --git a/eslint.config.mjs b/eslint.config.mjs
index 069e292f4c999c399ebfac52ef0e8bace19a17c2..d20881f087f87ad0c9dddb98393ffaf73becdc36 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,16 +1,37 @@
 import globals from "globals";
-import pluginJs from "@eslint/js";
+import js from "@eslint/js";
+import airbnbBase from "eslint-config-airbnb-base";
+import importPlugin from "eslint-plugin-import";
 
+const airbnbRules = airbnbBase.rules;
 
-/** @type {import('eslint').Linter.Config[]} */
+/** @type {import('eslint').Linter.FlatConfig[]} */
 export default [
   {
-    languageOptions: { globals: globals.browser },
-    "rules": {
+    languageOptions: {
+      globals: {
+        ...globals.browser
+      },
+      parserOptions: {
+        ecmaVersion: 2022,
+        sourceType: "module"
+      }
+    },
+    plugins: {
+      import: importPlugin
+    },
+    rules: {
+      ...airbnbRules,
+      // Your custom rules (these will override Airbnb rules)
       "max-len": ["error", { "code": 80 }],
       "indent": ["error", 2]
     }
   },
-  pluginJs.configs.recommended,
-
+  js.configs.recommended,
+  {
+    rules: {
+      "max-len": ["error", { "code": 80 }],
+      "indent": ["error", 2]  // Any additional rules or overrides
+    }
+  }
 ];
\ No newline at end of file
diff --git a/index.html b/index.html
index 2a74331fd46ebd8412ce9a60f5cafe8d2572351b..71e02d5cd7903ed26854a0c16e9aaf0c64284260 100644
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
 </head>
 
 <body>
-  <button class="main-button" type="button">Click</button>
+      <button class="main-button" type="button">Click</button>
   <script type="module" src="index.js"></script>
 </body>
 
diff --git a/package.json b/package.json
index 3a8bf377c64849a4bfbb0fde130228b1ee5f7c8a..7f88562d1a116ab63c65a337a0cd557b3a67186d 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "main": "index.html",
   "scripts": {
     "test": "npm run dev",
-    "lint": "eslint",
+    "lint": "eslint .",
     "lint:fix": "npm run lint -- --fix"
   },
   "author": "subliminalguy",
@@ -14,6 +14,8 @@
     "@eslint/js": "^9.19.0",
     "eslint": "^8.57.1",
     "eslint-config-airbnb": "^19.0.4",
+    "eslint-config-airbnb-base": "^15.0.0",
+    "eslint-plugin-import": "^2.31.0",
     "globals": "^15.14.0"
   }
 }