Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Fix string quotes on docs rule array-type (palantir#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabooth authored and adidahiya committed Dec 16, 2016
1 parent 4ab7691 commit e635955
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/rules/array-type/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
- generic
- array-simple
optionExamples:
- '[true, array]'
- '[true, generic]'
- '[true, array-simple]'
- '[true, "array"]'
- '[true, "generic"]'
- '[true, "array-simple"]'
type: style
typescriptOnly: true
layout: rule
Expand All @@ -31,4 +31,4 @@
"array-simple"
]
}
---
---
2 changes: 1 addition & 1 deletion src/rules/arrayTypeRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class Rule extends Lint.Rules.AbstractRule {
type: "string",
enum: [OPTION_ARRAY, OPTION_GENERIC, OPTION_ARRAY_SIMPLE],
},
optionExamples: [`[true, ${OPTION_ARRAY}]`, `[true, ${OPTION_GENERIC}]`, `[true, ${OPTION_ARRAY_SIMPLE}]`],
optionExamples: [`[true, "${OPTION_ARRAY}"]`, `[true, "${OPTION_GENERIC}"]`, `[true, "${OPTION_ARRAY_SIMPLE}"]`],
type: "style",
typescriptOnly: true,
};
Expand Down

0 comments on commit e635955

Please sign in to comment.