aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-28 15:59:15 +0100
committerVendicated <vendicated@riseup.net>2022-11-28 15:59:15 +0100
commitd0a40bc0edb1f7c97c1953a860bc8ee90600ed01 (patch)
tree895ab9fd89789b42c554f2413b99905b077538ba /.eslintrc.json
parent3b4879f9d9466c346385e983898efb826072ec6f (diff)
downloadVencord-d0a40bc0edb1f7c97c1953a860bc8ee90600ed01.tar.gz
Vencord-d0a40bc0edb1f7c97c1953a860bc8ee90600ed01.tar.bz2
Vencord-d0a40bc0edb1f7c97c1953a860bc8ee90600ed01.zip
chore: update deps
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json42
1 files changed, 1 insertions, 41 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 0eb6689..9bbe4f5 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -109,46 +109,6 @@
"unused-imports/no-unused-imports": "error",
- "path-alias/no-relative": "error",
-
- "@typescript-eslint/no-restricted-imports": [
- "error",
- {
- "paths": [
- // shrug, couldn't find a better way since the pattern one doesn't work:
- // ["utils", "!utils/*"]
- {
- "name": "./utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- },
- {
- "name": "../utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- },
- {
- "name": "../../utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- },
- {
- "name": "../../../utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- },
- {
- "name": "../../../../utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- },
- {
- "name": "../../../../../utils",
- "message": "Do not import from index. This might cause issues. Import from the specific file instead.",
- "allowTypeImports": true
- }
- ]
- }
- ]
+ "path-alias/no-relative": "error"
}
}