como eu faço para tirar esse jslint problem ! eu linko o js externo pro html, dps eu escrevo o cogido no app,js, mas quando eu vou executar aparece esse problema JSLINT ! como faco pra tirar esse problema JSLINT? ou sera que nao da?
('.collection-item').on('click', function () {
'use strict';
var $badge;
$badge = ('<span class="badge">0</span>');
});
6 JSLint Problems
×
1 '$' was used before it was defined. $('.collection').on('click', function(){
1 Expected exactly one space between 'function' and '('. $('.collection').on('click', function(){
1 Expected exactly one space between ')' and '{'. $('.collection').on('click', function(){
1 Missing space between ')' and '{'. $('.collection').on('click', function(){
2 Missing 'use strict' statement. var $badge = $('.badge', this);
4 Expected '}' at column 1, not column 5. });