mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 13:58:13 -05:00
[eslint config] [base] quotes: Use object option form rather than deprecated string form.
Per https://github.com/airbnb/javascript/pull/886
This commit is contained in:
@@ -209,7 +209,7 @@ module.exports = {
|
||||
'quote-props': [2, 'as-needed', { 'keywords': false, 'unnecessary': true, 'numbers': false }],
|
||||
|
||||
// specify whether double or single quotes should be used
|
||||
'quotes': [2, 'single', 'avoid-escape'],
|
||||
'quotes': [2, 'single', { 'avoidEscape': true }],
|
||||
|
||||
// do not require jsdoc
|
||||
// http://eslint.org/docs/rules/require-jsdoc
|
||||
|
||||
Reference in New Issue
Block a user