eslint-plugin-zillow
Version:
Zillow's ESLint config bundled into a "zero-conf" plugin
100 lines • 2.19 kB
JSON
{
"overrides": [
{
"files": [
"**/*-test.[jt]s?(x)",
"**/test/**/*.[jt]s?(x)"
],
"env": {
"mocha": true
},
"globals": {},
"parser": null,
"plugins": [
"zillow"
],
"rules": {
"prefer-arrow-callback": [
"off"
],
"func-names": [
"off"
],
"zillow/react/prop-types": [
"off"
],
"zillow/mocha/handle-done-callback": [
"error"
],
"zillow/mocha/max-top-level-suites": [
"off"
],
"zillow/mocha/no-async-describe": [
"error"
],
"zillow/mocha/no-exclusive-tests": [
"error"
],
"zillow/mocha/no-exports": [
"error"
],
"zillow/mocha/no-global-tests": [
"off"
],
"zillow/mocha/no-hooks-for-single-case": [
"off"
],
"zillow/mocha/no-hooks": [
"off"
],
"zillow/mocha/no-identical-title": [
"error"
],
"zillow/mocha/no-mocha-arrows": [
"error"
],
"zillow/mocha/no-nested-tests": [
"error"
],
"zillow/mocha/no-pending-tests": [
"warn"
],
"zillow/mocha/no-return-and-callback": [
"error"
],
"zillow/mocha/no-return-from-async": [
"error"
],
"zillow/mocha/no-setup-in-describe": [
"off"
],
"zillow/mocha/no-sibling-hooks": [
"off"
],
"zillow/mocha/no-skipped-tests": [
"warn"
],
"zillow/mocha/no-synchronous-tests": [
"off"
],
"zillow/mocha/no-top-level-hooks": [
"off"
],
"zillow/mocha/prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": false,
"allowUnboundThis": true
}
],
"zillow/mocha/valid-suite-description": [
"off"
],
"zillow/mocha/valid-test-description": [
"off"
]
},
"settings": {}
}
]
}