mediawiki-extensions-Visual.../.jshintrc
Trevor Parscal a564f81aa7 JSHint: Added dotfiles and fixed tons of linting warnings.
* "onevar" warning sometimes solved by just merging var statements
  other times solved by making it a function declaration instead
  of a function expression.
* Also fixed several '_this' variable names in ve.es.Surface to
  more descriptive names, and enabled warnings for dangling _
  in identifiers.

Change-Id: I7d411881e3e06cf9a7fe56d689c29375881a81de
2012-07-19 10:01:00 -07:00

44 lines
535 B
Plaintext

{
"predef": [
"ve",
"Node",
"QUnit",
"test",
"raises",
"expect",
"ok",
"equal",
"notEqual",
"strictEqual",
"strictNotEqual",
"deepEqual",
"deepNotEqual"
],
"bitwise": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"regexp": true,
"undef": true,
"strict": false,
"trailing": true,
"smarttabs": true,
"multistr": true,
"browser": true,
"node": true,
"jquery": true,
"nomen": true,
"onevar": true
}