Browse Source

fix(eslint-flowtype-errors): Enable flowtype-errors linters

Including enforce-min-coverage set to the current lowest flow coverage.
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
38d9a97513
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 4
      .eslintrc

4
.eslintrc

@ -36,7 +36,9 @@
"max-len": ["error", 150], "max-len": ["error", 150],
"import/no-extraneous-dependencies": 0, "import/no-extraneous-dependencies": 0,
"no-new": 0, "no-new": 0,
"compat/compat": "error" "compat/compat": "error",
"flowtype-errors/show-errors": "error",
"flowtype-errors/enforce-min-coverage": ["error", 20]
}, },
"plugins": [ "plugins": [
"flowtype", "flowtype",

Loading…
Cancel
Save