Browse Source

enhance(eslint-jest): Use the recommended eslint-plugin-jest config

Adds a few handy practices that we are currently in line with.
https://www.npmjs.com/package/eslint-plugin-jest#rules
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
4278fbacda
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 6
      test/.eslintrc

6
test/.eslintrc

@ -5,9 +5,5 @@
"plugins": [
"jest"
],
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error"
}
"extends": ["plugin:jest/recommended"]
}

Loading…
Cancel
Save