Skip to content

Commit 4407aef

Browse files
fix(dot-notation): use typescript version of rule
1 parent 25e66d8 commit 4407aef

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/configs/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const baseConfig: Linter.Config = {
88

99
rules: {
1010
"camelcase": "off",
11+
"dot-notation": "off",
1112
"indent": "off",
1213
"no-constant-condition": "off",
1314
"no-unused-expressions": "off",

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const settings: Linter.Config = {
1212

1313
rules: {
1414
"@typescript-eslint/array-type": ["error", { default: "generic", readonly: "generic" }],
15+
"@typescript-eslint/dot-notation": "error",
1516
"@typescript-eslint/indent": ["error", 2],
1617
"@typescript-eslint/no-non-null-assertion": "off",
1718
// "node" plugin will handle this.

0 commit comments

Comments
 (0)