warning
quotesEnforce the use of single quotes when using JavaScript
Examples
❌ Incorrect
const array = [ , , ];
const array = [ 'red', , 'green'];
✅ Correct
const array1 = [];
const array2 = [ 'red', 'green' ];
const array3 = new Array(23);
Enforce the use of single quotes when using JavaScript
❌ Incorrect
const array = [ , , ];
const array = [ 'red', , 'green'];
✅ Correct
const array1 = [];
const array2 = [ 'red', 'green' ];
const array3 = new Array(23);