| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {
- "env": {
- "browser": true,
- "es2021": true
- },
- "root": true,
- "extends": [
- "standard-with-typescript",
- "plugin:react/recommended",
- "plugin:@typescript-eslint/recommended",
- "prettier"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": "latest",
- "sourceType": "module"
- },
- "plugins": ["react"],
- "rules": {
- "no-console": "error",
- "@typescript-eslint/no-explicit-any": "error",
- "@typescript-eslint/consistent-type-definitions": ["error", "type"],
- "no-unused-expressions": "off",
- "@typescript-eslint/no-unused-expressions": "error",
- "no-unused-vars": "off",
- "@typescript-eslint/no-unused-vars": [
- "error",
- {
- "varsIgnorePattern": "^_",
- "argsIgnorePattern": "^_",
- "caughtErrorsIgnorePattern": "^_"
- }
- ],
- "@typesecript-eslint/consistent-type-imports": "off",
- "@typescript-eslint/strict-boolean-expressions": "off",
- "@typescript-eslint/no-misused-promises": "error",
- "@typescript-eslint/no-floating-promises": [
- "error",
- {
- "ignoreVoid": true
- }
- ],
- "@typescript-eslint/prefer-nullish-coalescing": "off"
- }
- }
|