mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
* chore(test): release strictness of jsdoc parsing in browser tests * chore(tests): add jsdoc to browser test helper functions * Update tests/browser/test/test_setup.js Co-authored-by: Beka Westberg <bwestberg@google.com> --------- Co-authored-by: Beka Westberg <bwestberg@google.com>
30 lines
548 B
JSON
30 lines
548 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"mocha": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"chai": false,
|
|
"sinon": false
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": ["off"],
|
|
// Allow uncommented helper functions in tests.
|
|
"require-jsdoc": ["off"],
|
|
"prefer-rest-params": ["off"],
|
|
"no-invalid-this": ["off"],
|
|
"valid-jsdoc": [
|
|
"error",
|
|
{
|
|
"requireReturnType": false,
|
|
"requireParamType": false
|
|
}
|
|
]
|
|
},
|
|
"extends": "../../.eslintrc.js",
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
}
|
|
}
|