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: #18831
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • 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.