I'm using 02_jshint.js to code lint my Ionic project, everything goes well until I receive this error:
35:4 -> Missing semicolon. -> })
and it's pointing to the last constant's bracket of my code:
angular.module('myApp.constants',['ionic'])
.constant('A','2.1.4')
.constant('B','1.1.3')
.constant("c", {
"d": "cost1",
"e": "cost2",
"f": "cost3"
})
I would like to know if there is a way to avoid this warning or to correct the error, it's clear that the code is correct but I would like to build my project (it doesn't allow to do that if there are any errors). Any advice?