Skip to content

Commit

Permalink
chore: Allow double quotes when strings contain single quotes
Browse files Browse the repository at this point in the history
Fixes #7366
  • Loading branch information
tofumatt committed Jun 26, 2018
1 parent 8fa8b64 commit c500c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = {
},
{
selector: 'ImportDeclaration[source.value="lodash"] Identifier.imported[name="memoize"]',
message: 'Use memize instead of Lodash\'s memoize',
message: "Use memize instead of Lodash's memoize",
},
{
selector: 'CallExpression[callee.object.name="page"][callee.property.name="waitFor"]',
Expand Down
1 change: 1 addition & 0 deletions eslint/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ module.exports = {
'no-whitespace-before-property': 'error',
'object-curly-spacing': [ 'error', 'always' ],
'padded-blocks': [ 'error', 'never' ],
quotes: [ 'error', 'single', { allowTemplateLiterals: true, avoidEscape: true } ],
'quote-props': [ 'error', 'as-needed' ],
'react/display-name': 'off',
'react/jsx-curly-spacing': [ 'error', {
Expand Down

0 comments on commit c500c09

Please sign in to comment.