Skip to content

Commit a70dcfb

Browse files
fix: allowIndexSignaturePropertyAccess for dot-notation
1 parent 42a637b commit a70dcfb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/plugins/typescript.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ export const settings: Linter.Config = {
4545
"@typescript-eslint/consistent-indexed-object-style": "error",
4646
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
4747
"@typescript-eslint/consistent-type-imports": "error",
48-
"@typescript-eslint/dot-notation": "error",
48+
"@typescript-eslint/dot-notation": [
49+
"error",
50+
{
51+
allowIndexSignaturePropertyAccess: true,
52+
},
53+
],
4954
"@typescript-eslint/explicit-function-return-type": [
5055
"off",
5156
{

0 commit comments

Comments
 (0)