Skip to content

Commit e5efe2d

Browse files
committed
fix(eslint-typescript): fix array-type rule options
1 parent 0f401c6 commit e5efe2d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • packages/eslint-config-typescript

packages/eslint-config-typescript/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ module.exports = {
6767

6868
// Requires using either T[] or Array<T> for arrays
6969
// This rule aims to standardise usage of array types within your codebase.
70-
'@typescript-eslint/array-type': ['warn', {
71-
default: 'array-simple',
72-
readonly: 'array-simple',
73-
}],
70+
'@typescript-eslint/array-type': ['warn', 'array-simple'],
7471

7572
// Disallows awaiting a value that is not a Promise
7673
// This rule disallows awaiting a value that is not a "Thenable" (an object which has then

0 commit comments

Comments
 (0)