eslint-plugin-zillow
Version:
Zillow's ESLint config bundled into a "zero-conf" plugin
174 lines • 3.98 kB
JSON
{
"overrides": [
{
"files": [
"**/*{-,.}test.[jt]s?(x)",
"**/*.stories.[jt]s?(x)",
"**/__tests__/**/*.[jt]s?(x)",
"**/__mocks__/**/*.[jt]s?(x)",
"**/test/**/*.[jt]s?(x)"
],
"env": {
"zillow/jest/globals": true
},
"globals": {},
"parser": null,
"plugins": [
"zillow"
],
"rules": {
"zillow/@typescript-eslint/no-invalid-void-type": [
"off"
],
"zillow/react/prop-types": [
"off"
],
"zillow/jest/consistent-test-it": [
"error",
{
"fn": "test",
"withinDescribe": "it"
}
],
"zillow/jest/expect-expect": [
"error",
{
"assertFunctionNames": [
"expect"
]
}
],
"zillow/jest/lowercase-name": [
"off"
],
"zillow/jest/no-alias-methods": [
"off"
],
"zillow/jest/no-commented-out-tests": [
"off"
],
"zillow/jest/no-conditional-expect": [
"error"
],
"zillow/jest/no-deprecated-functions": [
"error"
],
"zillow/jest/no-disabled-tests": [
"warn"
],
"zillow/jest/no-done-callback": [
"error"
],
"zillow/jest/no-duplicate-hooks": [
"off"
],
"zillow/jest/no-expect-resolves": [
"off"
],
"zillow/jest/no-export": [
"error"
],
"zillow/jest/no-focused-tests": [
"error"
],
"zillow/jest/no-hooks": [
"off"
],
"zillow/jest/no-identical-title": [
"error"
],
"zillow/jest/no-if": [
"off"
],
"zillow/jest/no-interpolation-in-snapshots": [
"error"
],
"zillow/jest/no-jasmine-globals": [
"error"
],
"zillow/jest/no-jest-import": [
"error"
],
"zillow/jest/no-large-snapshots": [
"warn",
{
"maxSize": 50
}
],
"zillow/jest/no-mocks-import": [
"error"
],
"zillow/jest/no-restricted-matchers": [
"off"
],
"zillow/jest/no-standalone-expect": [
"error"
],
"zillow/jest/no-test-prefixes": [
"error"
],
"zillow/jest/no-test-return-statement": [
"error"
],
"zillow/jest/no-truthy-falsy": [
"error"
],
"zillow/jest/no-try-expect": [
"off"
],
"zillow/jest/prefer-called-with": [
"off"
],
"zillow/jest/prefer-expect-assertions": [
"off"
],
"zillow/jest/prefer-hooks-on-top": [
"error"
],
"zillow/jest/prefer-inline-snapshots": [
"off"
],
"zillow/jest/prefer-spy-on": [
"off"
],
"zillow/jest/prefer-strict-equal": [
"error"
],
"zillow/jest/prefer-to-be-null": [
"error"
],
"zillow/jest/prefer-to-be-undefined": [
"error"
],
"zillow/jest/prefer-to-contain": [
"error"
],
"zillow/jest/prefer-to-have-length": [
"error"
],
"zillow/jest/prefer-todo": [
"error"
],
"zillow/jest/require-top-level-describe": [
"off"
],
"zillow/jest/require-to-throw-message": [
"warn"
],
"zillow/jest/valid-describe": [
"error"
],
"zillow/jest/valid-expect": [
"error"
],
"zillow/jest/valid-title": [
"error"
],
"zillow/jest/valid-expect-in-promise": [
"error"
]
},
"settings": {}
}
]
}