Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Aug 13, 2019
1 parent ab9f6e8 commit 203b203
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/eslint-plugin/src/rules/ban-types.ts
Expand Up @@ -96,11 +96,13 @@ export default util.createRule<Options, MessageIds>({
fixWith: 'number',
},
Object: {
message: 'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead',
message:
'The Object type is mostly the same as unknown, you probably want Record<string, unknown> instead'
},
object: {
message: 'The object type is hard to use, use Record<string, unknown> instead',
fixWith: 'Record<string, unknown>',
message:
'The object type is hard to use, use Record<string, unknown> instead',
fixWith: 'Record<string, unknown>'
},
Symbol: {
message: 'Use symbol instead',
Expand Down

0 comments on commit 203b203

Please sign in to comment.