Skip to content

Commit

Permalink
Add quotes around example option (palantir#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrigoriu authored and nchen63 committed Jan 1, 2017
1 parent d25842e commit 4c6c08c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/rules/arrow-parens/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- ban-single-arg-parens
optionExamples:
- 'true'
- '[true, ban-single-arg-parens]'
- '[true, "ban-single-arg-parens"]'
type: style
typescriptOnly: false
layout: rule
Expand All @@ -24,4 +24,4 @@
"ban-single-arg-parens"
]
}
---
---
2 changes: 1 addition & 1 deletion src/rules/arrowParensRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Rule extends Lint.Rules.AbstractRule {
type: "string",
enum: [BAN_SINGLE_ARG_PARENS],
},
optionExamples: [`true`, `[true, ${BAN_SINGLE_ARG_PARENS}]`],
optionExamples: [`true`, `[true, "${BAN_SINGLE_ARG_PARENS}]"`],
type: "style",
typescriptOnly: false,
};
Expand Down

0 comments on commit 4c6c08c

Please sign in to comment.