Commit Graph

9 Commits

Author SHA1 Message Date
Victor Woeltjen
e468080373 [Code Style] Disallow outer shadowing
031a46aa8e (commitcomment-17561082)
2016-05-20 11:38:36 -07:00
Victor Woeltjen
031a46aa8e [Code Style] Add JSHint rules
Add JSHint rules to complement allowing multiple var statements,
https://github.com/nasa/openmct/issues/142#issuecomment-212187972

[Code Style] Require one decl per var

[Code Style] Don't require separate var decls

...but allow them (for compatibility with existing code style)

[Code Style] Allow var decl after start of scope

[Code Style] Enforce codestyle during verify task
2016-05-12 16:32:17 -07:00
Victor Woeltjen
a224711dce [Build] Move JSHint config to .jshintrc
...to allow code editors etc to pick up on rules, per
https://github.com/nasa/openmct/pull/724#issuecomment-193542314
2016-04-08 16:37:37 -07:00
Victor Woeltjen
43176cfbb8 [Build] Move lint config to gulpfile 2016-03-04 11:56:31 -08:00
Victor Woeltjen
91bf98b38d [Build] Add Float32Array to predefs 2016-03-04 10:46:51 -08:00
Victor Woeltjen
bc8aafbb1f [Build] Define more common globals 2016-03-04 10:36:10 -08:00
Victor Woeltjen
91fb82d212 [Build] Remove esversion: 5 from lint cfg
...as this is apparently presumed.
2016-03-04 10:14:37 -08:00
Victor Woeltjen
4a609943f9 [Build] Configure JSHint
#671
2016-03-04 10:11:17 -08:00
Victor Woeltjen
814fb3b513 [Build] Add lint step 2016-01-28 13:44:18 -08:00