mediawiki-extensions-Popups/.jscsrc
jhobs 046d12f51b Update linting and enable command line QUnit
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
2016-11-08 13:56:17 -05:00

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"
}
}