Skip to content

Commit 3897b5b

Browse files
authored
Merge pull request #25 from aligent/feature/TCS-5_array-type-rule
TCS-5 Add array type rule
2 parents 57ff0cb + 7feabae commit 3897b5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ const core = [
3232
'error',
3333
{ argsIgnorePattern: '^_', ignoreRestSiblings: true },
3434
],
35+
'@typescript-eslint/array-type': [
36+
'error',
37+
{
38+
default: 'array-simple',
39+
},
40+
],
3541
},
3642
},
3743
];

0 commit comments

Comments
 (0)