Files
blockly/tests/mocha/.eslintrc.json
alschmiedt 5b1586ee1b test: update mocha tests to use goog_module (#5440)
* Use goog.module in mocha tests

* Fix compiler warnings

* Make test helpers a module

* Name test modules Blockly.test.*

This is to be more consistent with how non-test modules are named.

Also remove top-level goog.require of TestHelpers (now
Blockly.test.helpers) since requiring a side-effect-less module does
nothing.

* Convert block_test.js and comment_test.js to goog.module syntax

* Address PR comments

* Goog modulify tests

* Goog modulify toolbox helpers

* Fixes imports and moves common tests from workspace_test.js to a helper file.

* Update test deps after rebase

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2021-09-16 13:00:38 -07:00

37 lines
1.1 KiB
JSON

{
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true
},
"globals": {
"chai": false,
"sinon": false,
"testHelpers": true
},
"rules": {
"no-unused-vars": ["off"],
"es5/no-arrow-functions": ["off"],
"es5/no-binary-and-octal-literals": ["off"],
"es5/no-block-scoping": ["off"],
"es5/no-classes": ["off"],
"es5/no-computed-properties": ["off"],
"es5/no-default-parameters": ["off"],
"es5/no-destructuring": ["off"],
"es5/no-es6-methods": ["off"],
"es5/no-es6-static-methods": ["off"],
"es5/no-for-of": ["off"],
"es5/no-generators": ["off"],
"es5/no-modules": ["off"],
"es5/no-object-super": ["off"],
"es5/no-rest-parameters": ["off"],
"es5/no-shorthand-properties": ["off"],
"es5/no-spread": ["off"],
"es5/no-template-literals": ["off"],
"es5/no-typeof-symbol": ["off"],
"es5/no-unicode-code-point-escape": ["off"],
"es5/no-unicode-regex": ["off"]
},
"extends": "../../.eslintrc.json"
}