diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-18 20:11:53 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-18 20:11:53 -0500 |
commit | a3103b629250de3fb97a40a4f9ff7e7ba28f4d16 (patch) | |
tree | 47ddd56470899e0987c0522cd1146e6120601e30 /.eslintrc.json | |
parent | 2922120c9b6e35226b9e03ac30dcf39b88849962 (diff) | |
download | tanzanite-a3103b629250de3fb97a40a4f9ff7e7ba28f4d16.tar.gz tanzanite-a3103b629250de3fb97a40a4f9ff7e7ba28f4d16.tar.bz2 tanzanite-a3103b629250de3fb97a40a4f9ff7e7ba28f4d16.zip |
test: prevent using DOM globals
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 5209b65..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "env": { - "es2021": true, - "node": true - }, - "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 12, - "sourceType": "module", - "project": "./tsconfig.json" - }, - "plugins": ["@typescript-eslint", "deprecation", "import"], - "ignorePatterns": ["dist"], - "rules": { - "no-return-await": "off", - "@typescript-eslint/no-empty-interface": "warn", - "no-mixed-spaces-and-tabs": "off", - "no-duplicate-imports": "warn", - "no-empty-function": "off", - "@typescript-eslint/no-empty-function": "off", - "no-empty": "off", - "@typescript-eslint/ban-ts-comment": [ - "error", - { - "ts-expect-error": "allow-with-description", - "ts-ignore": "allow-with-description", - "ts-nocheck": "allow-with-description", - "ts-check": "allow-with-description", - "minimumDescriptionLength": 5 - } - ], - "@typescript-eslint/no-floating-promises": "warn", - "prefer-promise-reject-errors": "warn", - "@typescript-eslint/no-misused-promises": "error", - "@typescript-eslint/no-base-to-string": "error", - "no-loss-of-precision": "off", - "@typescript-eslint/no-loss-of-precision": "error", - "no-throw-literal": "off", - "@typescript-eslint/no-throw-literal": "warn", - "@typescript-eslint/prefer-nullish-coalescing": "warn", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/explicit-module-boundary-types": "off", - "prefer-template": "warn", - "@typescript-eslint/no-this-alias": [ - "error", - { - "allowDestructuring": true, - "allowedNames": ["that"] - } - ], - "@typescript-eslint/no-unused-vars": [ - "warn", - { - "argsIgnorePattern": "^_" - } - ], - "no-implied-eval": "off", - "@typescript-eslint/no-implied-eval": ["error"], - "deprecation/deprecation": "warn", - "@typescript-eslint/explicit-member-accessibility": ["warn", { "accessibility": "explicit" }], - "@typescript-eslint/switch-exhaustiveness-check": "warn", - "import/no-commonjs": "error", - "import/extensions": ["error", "ignorePackages"], - "@typescript-eslint/no-restricted-imports": [ - "error", - { - "paths": [ - { - "name": "discord-api-types", - "message": "Please use discord-api-types/v9 instead.", - "allowTypeImports": true - }, - { - "name": "discord-api-types-next", - "message": "Please use discord-api-types-next/v9 instead.", - "allowTypeImports": true - } - ] - } - ] - } -} |