Files
blockly/tests/mocha/.eslintrc.json
Rachel Fenichel d11cc047a4 chore: fix more lint (#5700)
* chore: fix 918 violations of comma-dangle rule

* chore: fix 2 violations of comma-spacing

* chore: fix 13 violations of padded-blocks

* chore: fix 50 violations of block-spacing

* chore: fix one violation of semi-spacing

* chore: fix 4 violations of space-before-blocks

* chore: fix 38 violations of object-curly-spacing

* chore: fix 30 violations of key-spacing

* chore: fix 3 violations of quote-props

* chore: fix 5 violations of arrow-parens

* chore: fix 8 violations of no-tabs

* chore: allow uncommented helper functions in mocha tests

* chore: fix several more lint errors

* chore: tweak eslint configuration in core and tests

* chore: rebuild for tests
2021-11-10 10:18:36 -08:00

41 lines
1.3 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"],
// Allow uncommented helper functions in tests.
"require-jsdoc": ["off"],
// In mocha tests in suites, `this` is meaningful and useful.
"no-invalid-this": ["off"]
},
"extends": "../../.eslintrc.json"
}