| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "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",
- {
- "checksVoidReturn": false
- }
- ],
- "@typescript-eslint/no-floating-promises": [
- "error",
- {
- "ignoreVoid": true
- }
- ],
- "@typescript-eslint/prefer-nullish-coalescing": [
- "error",
- {
- "ignoreConditionalTests": true,
- "ignoreMixedLogicalExpressions": true
- }
- ]
- }
- }
|