mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
fe3165faff
Also adds the corrections made to various js files when jscs was run, and removes an old version of .jshintrc. Only VisualEditor files are checked by csshint due to clashes with an upstream bug in the csslint parser. This could be looked into in the future. Bug: T112576 Change-Id: I611901040d3b38ae3ef707deb8d25771f043b1d8
22 lines
398 B
Plaintext
22 lines
398 B
Plaintext
{
|
|
"preset": "wikimedia",
|
|
|
|
"jsDoc": {
|
|
"checkAnnotations": {
|
|
"preset": "jsduck5",
|
|
"extra": {
|
|
"this": true,
|
|
"source": true,
|
|
"see": true
|
|
}
|
|
},
|
|
"checkTypes": "strictNativeCase",
|
|
"checkParamNames": true,
|
|
"checkRedundantAccess": true,
|
|
"checkRedundantReturns": true,
|
|
"requireNewlineAfterDescription": true,
|
|
"requireParamTypes": true,
|
|
"requireReturnTypes": true
|
|
}
|
|
}
|