mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
a564f81aa7
* "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
44 lines
535 B
Plaintext
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
|
|
}
|