mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
046d12f51b
You can use `grunt watch` now! Changes: * Re-enable QUnit (but ignore legacy tests) * Add a sample QUnit test * Add ability to run QUnit via `grunt watch` or `grunt test` * Move linting to `grunt lint` task * Add Redux to globals in linter Change-Id: Ie4a65a8a66773d6472b3d73257267d18027ff3c3
22 lines
597 B
Plaintext
22 lines
597 B
Plaintext
{
|
|
"preset": "wikimedia",
|
|
|
|
"requireObjectKeysOnNewLine": true,
|
|
"requireSpacesInsideBrackets": null,
|
|
"disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"],
|
|
"excludeFiles": [
|
|
"vendor/**",
|
|
"node_modules/**"
|
|
],
|
|
"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"
|
|
}
|
|
} |