mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
f415b8d747
Per I43ace21208 and https://www.mediawiki.org/wiki/CC/JS#Linting Change-Id: I280d377071ca1244130cd976aeba11d2152ef923
45 lines
603 B
Plaintext
45 lines
603 B
Plaintext
{
|
|
/* Common */
|
|
|
|
// Enforcing
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
// Legacy
|
|
"onevar": true,
|
|
|
|
/* Local */
|
|
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"forin": false,
|
|
"plusplus": false,
|
|
"regexp": true,
|
|
"strict": false,
|
|
// Relaxing
|
|
"es5": true,
|
|
"multistr": true,
|
|
"smarttabs": true,
|
|
// Environment
|
|
"browser": true,
|
|
"jquery": true,
|
|
// Legacy
|
|
"nomen": true,
|
|
|
|
"predef": [
|
|
"ve",
|
|
"unicodeJS",
|
|
"QUnit"
|
|
]
|
|
}
|