mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
push opinionated .jshintrc - matches Grunt build. for starters.
This commit is contained in:
parent
78ab4217be
commit
8f744794e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,7 +1,6 @@
|
||||
.config.json
|
||||
.dist
|
||||
.jshintignore
|
||||
.jshintrc
|
||||
.npm
|
||||
.project
|
||||
.sessions.json
|
||||
|
13
.jshintrc
Normal file
13
.jshintrc
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"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
|
||||
}
|
Loading…
Reference in New Issue
Block a user