diff --git a/.eslintrc.js b/.eslintrc.js index 016ceb1dded4ee..91692099fa7ad9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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"]', diff --git a/eslint/config.js b/eslint/config.js index 16c60464eb639c..726f626f78642f 100644 --- a/eslint/config.js +++ b/eslint/config.js @@ -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', {