diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 42 |
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" } } |