Skip to content

Commit

Permalink
Removed 'avoidEscape + allowTemplateLiterals from rules.quotes
Browse files Browse the repository at this point in the history
…options
  • Loading branch information
adamlui authored Feb 8, 2024
1 parent 10f5278 commit 622b906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
'ignorePatterns': ['!/.github'],
'rules': {
'indent': 'off', 'no-unexpected-multiline': 'off', // allow whitespace anywhere
'quotes': ['error', 'single', { 'avoidEscape': true, 'allowTemplateLiterals': true }], // enforce single quotes for string literals
'quotes': ['error', 'single'], // enforce single quotes for string literals
'key-spacing': ['error', { 'beforeColon': false, 'afterColon': true }], // enforce spacing in object properties
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
'no-async-promise-executor': 'off', // allow promise executor functions to be async (to accomodate await lines)
Expand Down

0 comments on commit 622b906

Please sign in to comment.