TOOL » LINTER
Jshint
Install
bash
yarn global add jshint
Usage
Naming / path
Home | Parent |
---|---|
- | .jshintrc |
Command
There is no command to generate a configuration file.
Sample
json
{
"curly": true,
"eqeqeq": true,
"esversion": 6,
"forin": true,
"freeze": true,
"latedef": true,
"leanswitch": true,
"maxcomplexity": 10,
"maxdepth": 5,
"maxparams": 5,
"maxstatements": 50,
"noarg": true,
"nocomma": true,
"nonbsp": true,
"nonew": true,
"noreturnawait": true,
"regexpu": true,
"shadow": "outer",
"singleGroups": true,
"trailingcomma": true,
"undef": true,
"unused": true,
"browser": true
}