Skip to content

Commit

Permalink
Disable @typescript-eslint/no-empty-object-type
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Sep 10, 2024
1 parent 12f5411 commit 8d7dd5e
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"useJSXTextNode": true,
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "./tsconfig.json",
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/eslint-plugin",
"prettier",
"simple-import-sort",
"no-autofix"
"no-autofix",
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
],
"rules": {
"prettier/prettier": [
Expand All @@ -29,19 +29,19 @@
"printWidth": 120,
"tabWidth": 4,
"useTabs": true,
"arrowParens": "avoid"
}
"arrowParens": "avoid",
},
],
"@typescript-eslint/array-type": [
"warn",
{
"default": "generic",
"readonly": "generic"
}
"readonly": "generic",
},
],
"@typescript-eslint/no-floating-promises": [
"error",
{ "ignoreVoid": true }
{ "ignoreVoid": true },
],
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
Expand All @@ -54,6 +54,7 @@
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/no-empty-object-type": "off",
"curly": ["warn", "multi-line", "consistent"],
"no-autofix/prefer-const": "warn",
"no-constant-condition": ["error", { "checkLoops": false }],
Expand All @@ -63,6 +64,6 @@
"no-undef-init": "error",
"prefer-const": "off",
"simple-import-sort/exports": "warn",
"simple-import-sort/imports": "warn"
}
"simple-import-sort/imports": "warn",
},
}

0 comments on commit 8d7dd5e

Please sign in to comment.