My recommended JSHint options
JavaScript:
{
node: true,
browser: true,
es5: true,
esnext: true,
bitwise: true,
curly: true,
camelcase: true,
eqeqeq: true,
immed: true,
indent: 4,
latedef: true,
newcap: true,
noarg: true,
quotmark: 'single',
regexp: true,
undef: true,
unused: true,
strict: true,
trailing: true,
smarttabs: true
}
JSON:
{
"node": true,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true
}
Thank you so much