diff --git a/.eslint.yml b/.eslint.yml
new file mode 100644
index 0000000000000000000000000000000000000000..978d0faf9cedfef9d137c02d5673b694a6ebef3a
--- /dev/null
+++ b/.eslint.yml
@@ -0,0 +1,11 @@
+# Usage: `eslint --config .eslint.yml .`
+extends: "eslint:recommended"
+env:
+  browser: true
+rules:
+  indent:
+    - error
+    - 4
+  no-undef: 1 # warn
+  no-unused-vars: 1
+  no-console: 1
\ No newline at end of file
diff --git a/audit/run.js b/audit/run.js
index b20a4280a98084a830686c7e93dc0ce6f788ad3d..add84d97baa6276fd5c04dc9298443f46f392858 100644
--- a/audit/run.js
+++ b/audit/run.js
@@ -1,3 +1,4 @@
+/* eslint-env node */
 /**
  * Resource Audit Script
  * Belongs to Decentraleyes.
@@ -15,12 +16,11 @@
  * Imports
  */
 
-var fileSystem, crypto, http, path, sourceMappingURL;
+var fileSystem, crypto, https, sourceMappingURL;
 
 fileSystem = require('fs');
 crypto = require('crypto');
 https = require('https');
-path = require('path');
 
 sourceMappingURL = require('source-map-url');
 
diff --git a/pages/popup/popup.js b/pages/popup/popup.js
index 1b92f9e823e0863a7382c9c2c62ca1dc576a89f7..fc7c623435a43cca6b20ee46922b1d8a66897abc 100644
--- a/pages/popup/popup.js
+++ b/pages/popup/popup.js
@@ -207,7 +207,7 @@ document.addEventListener('DOMContentLoaded', function () {
                     case 'ajax.microsoft.com':
                         cdnName = 'Microsoft Ajax CDN [Deprecated]';
                         break;
-                        case 'cdnjs.cloudflare.com':
+                    case 'cdnjs.cloudflare.com':
                         cdnName = 'CDNJS (Cloudflare)';
                         break;
                     case 'code.jquery.com':