smart-energy-monitor/software/flow/node_modules/node-red-dashboard/.jshintrc

17 lines
924 B
Plaintext
Raw Permalink Normal View History

2023-02-22 17:26:41 +01:00
{
//"undef": true, // require all non-globals to be declared
"asi": true, // allow missing semicolons
"curly": true, // require braces
"eqnull": true, // ignore ==null
"forin": true, // require property filtering in "for in" loops
"immed": true, // require immediate functions to be wrapped in ( )
"nonbsp": true, // warn on unexpected whitespace breaking chars
//"strict": true, // commented out for now as it causes 100s of warnings, but want to get there eventually
//"unused": true, // Check for unused functions and variables
"loopfunc": true, // allow functions to be defined in loops
//"expr": true, // allow ternery operator syntax...
"sub": true, // don't warn that foo['bar'] should be written as foo.bar
"proto": true, // allow setting of __proto__ in node < v0.12
"esversion": 6 // allow es6
}