Skip to content

Commit

Permalink
feat(quote-props): Add the keywords: true option
Browse files Browse the repository at this point in the history
Without it `{ 'boolean': 'xxx' }` fails. However, this is not valid JS.
  • Loading branch information
Jerska committed Jan 27, 2016
1 parent d9da630 commit da5deec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/base.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
rules: {
'quote-props': [2, 'as-needed'],
'quote-props': [2, 'as-needed', {keywords: true}],
'array-bracket-spacing': [2, 'never'],
'vars-on-top': 0,
'no-param-reassign': 0,
Expand Down

0 comments on commit da5deec

Please sign in to comment.