mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
847a09be11
Moved the scripts and the CSS into the modules folder directly (like almost all other extensions do), added a .jshintrc to not have jenkins shout at this change and minor stuff. After this change Cite will no longer work with anything older than PHP 5.3! Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
35 lines
638 B
Plaintext
35 lines
638 B
Plaintext
{
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"supernew": true,
|
|
"shadow": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": false, // sometimes double quotes make sense, e.g. "foo's" is better readable than 'foo\'s'
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": "vars", // we want to allow unused function parameters
|
|
"laxbreak": true,
|
|
"laxcomma": false,
|
|
"onevar": false,
|
|
"bitwise": false,
|
|
"forin": false,
|
|
"regexp": false,
|
|
"strict": true,
|
|
"scripturl": true,
|
|
|
|
// Environment
|
|
"browser": true,
|
|
|
|
// Globals
|
|
"predef": [
|
|
"jQuery",
|
|
"mediaWiki"
|
|
]
|
|
}
|