mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 23:46:21 +00:00
83dbf746ba
Also, fix a bug introduced in Ib7168217 wherein the non-existent Redux.thunk was referenced rather than ReduxThunk.default. Change-Id: Ia4cc28b16b17442de69ed84bb8e8c88a6a9f201d
26 lines
696 B
Plaintext
26 lines
696 B
Plaintext
{
|
|
"preset": "wikimedia",
|
|
|
|
"requireObjectKeysOnNewLine": true,
|
|
"requireSpacesInsideBrackets": null,
|
|
"disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"],
|
|
"excludeFiles": [
|
|
"vendor/**",
|
|
"node_modules/**"
|
|
],
|
|
"disallowDanglingUnderscores": {
|
|
"allExcept": ["__REDUX_DEVTOOLS_EXTENSION_COMPOSE__"]
|
|
},
|
|
"jsDoc": {
|
|
"checkParamExistence": true,
|
|
"checkParamNames": true,
|
|
"checkRedundantParams": true,
|
|
"enforceExistence": true,
|
|
"checkReturnTypes": true,
|
|
"checkRedundantReturns": true,
|
|
"requireReturnTypes": true,
|
|
"checkTypes": "capitalizedNativeCase",
|
|
"@fixme": "https://github.com/jscs-dev/jscs-jsdoc/pull/138"
|
|
}
|
|
}
|