Skip to content

Commit

Permalink
tools: update eslint rule
Browse files Browse the repository at this point in the history
The former notation was deprecated. This updates it as recommended.

PR-URL: nodejs#18831
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Matheus Marchini <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
BridgeAR committed Feb 22, 2018
1 parent 8be9657 commit 3a2e912
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 @@ -217,7 +217,7 @@ module.exports = {
'one-var': ['error', { initialized: 'never' }],
'one-var-declaration-per-line': 'error',
'operator-linebreak': ['error', 'after'],
quotes: ['error', 'single', 'avoid-escape'],
quotes: ['error', 'single', { avoidEscape: true }],
semi: 'error',
'semi-spacing': 'error',
'space-before-blocks': ['error', 'always'],
Expand Down

0 comments on commit 3a2e912

Please sign in to comment.