aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 43e4cef..d10b872 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -2,7 +2,7 @@
"root": true,
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["dist", "browser"],
- "plugins": ["header", "simple-import-sort"],
+ "plugins": ["header", "simple-import-sort", "unused-imports"],
"rules": {
// Since it's only been a month and Vencord has already been stolen
// by random skids who rebranded it to "AlphaCord" and erased all license
@@ -86,6 +86,8 @@
"prefer-spread": "error",
"simple-import-sort/imports": "error",
- "simple-import-sort/exports": "error"
+ "simple-import-sort/exports": "error",
+
+ "unused-imports/no-unused-imports": "error"
}
}