node-red/.jshintrc
Yaroslav Halchenko 08fcbd46af Fix 22 typos found by codespell
Here are typos with their counts and introduced fix:

      1 autmatically ==> automatically
      1 commited ==> committed
      1 currenlty ==> currently
      1 dependecies ==> dependencies
      1 referrenced ==> referenced
      1 signleton ==> singleton
      1 somwhere ==> somewhere
      1 specied ==> specified
      1 specifiy ==> specify
      1 statment ==> statement
      1 successfuly ==> successfully
      1 unavaiable ==> unavailable
      2 ellapsed ==> elapsed
      3 arrray ==> array
      3 compatability ==> compatibility
      3 defintion ==> definition
      4 compability ==> compatibility
      4 mesage ==> message
      4 notifiction ==> notification
      5 re-use ==> reuse
      6 doesnt ==> does not
      6 non-existant ==> non-existent
2024-01-15 17:12:06 -05:00

20 lines
1.0 KiB
Plaintext

{
"asi": true, // allow missing semicolons
"curly": true, // require braces
"eqnull": true, // ignore ==null
//"eqeqeq": true, // enforce ===
"freeze": true, // don't allow override
"indent": 4, // default indent of 4
"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...
"shadow": true, // allow variable shadowing (reuse of names...)
"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": 11 // allow es11(ES2020)
}