Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.

Commit dd16faf

Browse files
committed
format
1 parent 28a2133 commit dd16faf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/eslint-plugin/src/rules/ban-types.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,13 @@ export default util.createRule<Options, MessageIds>({
102102
fixWith: 'number',
103103
},
104104
Object: {
105-
message: 'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead',
105+
message:
106+
'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead'
106107
},
107108
object: {
108-
message: 'The object type is hard to use, use Record<string, unknown> instead',
109-
fixWith: 'Record<string, unknown>',
109+
message:
110+
'The object type is hard to use, use Record<string, unknown> instead',
111+
fixWith: 'Record<string, unknown>'
110112
},
111113
Symbol: {
112114
message: 'Use symbol instead',

0 commit comments

Comments
 (0)