eslint-plugin-flowtype-errors

4.5.0last stable release 3 years ago
Complexity Score
Medium
Open Issues
N/A
Dependent Projects
361
Weekly Downloadsglobal
7,936

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

eslint-plugin-flowtype-errors

Demo

Why?

  • Lower barrier: Any editor that has ESLint support now supports Flow 🎉
  • Less editor configuration: No need to change your entire workflow to incorporate flow. No multiple-linters-per-file nonsense.
  • Simple: It’s literally just an ESLint rule! Just install the dependency, add a flowconfig, and you’re good to go!

Getting Started

This guide assumes that you have installed eslint, babel, babel-plugin-transform-flow-strip-types and configured flow. Check out the from-scratch guide for the full guide on getting started.

⚠️ Make sure the 64-bit version of your text editor or IDE. For atom, see this comment

1. Install

npm install --save-dev eslint-plugin-flowtype-errors

2. Configure

Extend the recommended config:

{
  "extends": ["plugin:flowtype-errors/recommended"]
}

Support

If this project is saving you (or your team) time, please consider supporting it on Patreon 👍 thank you!

CI Configuration

Flow is supported on all OS’s except Windows 32bit. Add this line to appveyor to make tests run properly.

Related:

  • flow-runtime
  • eslint-plugin-flowtype
  • eslint-plugin-flowtype-errors-demo

Dependencies

CVE IssuesActive
0
Scorecards Score
2.70
Test Coverage
No Data
Follows Semver
Yes
Github Stars
402
Dependenciestotal
30
DependenciesOutdated
17
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute eslint-plugin-flowtype-errors in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install eslint-plugin-flowtype-errors
Processing...
Done

83 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.