How to set the jslint ES6 directive in Brackets?
问题 I get this error: "expected an identifier and instead saw 'const'", I'm using brackets text editor. I found this answer: "You need to specify the es6 directive. See JSLint Help". But I can't figure it out how to specity the es6 directive in brackets. Here's my code: const singleQuotes = '<p>Single quotes</p>'; const doubleQuotes = "<p>Double quotes</p>"; const stringLiterals = `<p>String literlas</p>`; const result = singleQuotes + doubleQuotes + stringLiterals; document.querySelector('.basic