aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-22 18:18:41 +0200
committerVendicated <vendicated@riseup.net>2022-10-22 18:18:41 +0200
commit61fd38d6d9170a9583c62366a2d4afa40507ce01 (patch)
tree50132ae08fb39b453bca0dbeeae311e12b2528ed /.eslintrc.json
parenta7dbd73547104540218d4699fcf643fca727d2fc (diff)
downloadVencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.gz
Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.bz2
Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.zip
style: Sort imports
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 7de658b..43e4cef 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -2,7 +2,7 @@
"root": true,
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["dist", "browser"],
- "plugins": ["header"],
+ "plugins": ["header", "simple-import-sort"],
"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
@@ -83,6 +83,9 @@
"no-useless-backreference": "error",
"use-isnan": "error",
"prefer-const": "error",
- "prefer-spread": "error"
+ "prefer-spread": "error",
+
+ "simple-import-sort/imports": "error",
+ "simple-import-sort/exports": "error"
}
}