wiki.techinc.nl/.jscsrc
Ricordisamoa 80fdfa0ea0 build: Remove redundant jscs rule 'disallowQuotedKeysInObjects'
{ "allExcept": [ "reserved" ] } found in the wikimedia preset is
the same as the customized "allButReserved" present in MediaWiki,
except that the latter is deprecated as stated at:
http://jscs.info/rule/disallowQuotedKeysInObjects

Change-Id: I5de2a8f7ad42857ccdc793551d08c77e2aae8156
2016-03-18 10:54:44 +01:00

37 lines
754 B
Text

{
"preset": "wikimedia",
"es3": true,
"requireVarDeclFirst": null,
"requireDotNotation": { "allExcept": [ "keywords" ] },
"jsDoc": {
"checkAnnotations": {
"preset": "jsduck5",
"extra": {
"context": "some",
"source": "some",
"see": "some"
}
},
"checkParamNames": true,
"checkRedundantAccess": true,
"checkRedundantReturns": true,
"checkTypes": "strictNativeCase",
"requireNewlineAfterDescription": true,
"requireParamTypes": true,
"requireReturnTypes": true
},
"excludeFiles": [
"docs/**",
"extensions/**",
"node_modules/**",
"resources/lib/**",
"resources/src/jquery.tipsy/**",
"resources/src/jquery/jquery.farbtastic.js",
"resources/src/mediawiki.libs/**",
"skins/**",
"vendor/**"
]
}