const é avagiable para es versão 6

Add a file named .jshintrc to your project and inside this file type this.

{
    "esversion": 6
}
Adventurous Armadillo