I want to fix this in the code file not in jslint setting options. The JS file is in PHP project. How can I remove the warning from here?
Open PhpStorm Settings -> Languages & Framework -> Javascript and in "JavaScript language version" dropdown select EcmaScript 5