Need help with eslint-plugin-flowtype-errors?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

amilajack
404 Stars 28 Forks MIT License 299 Commits 5 Opened issues

Description

Run Flow as an ESLint plugin

Services available

!
?

Need anything else?

Contributors list

# 1,028
Babel
garbage...
type-sy...
Electro...
218 commits
# 90
netlify
TypeScr...
GraphQL
vue-cli...
40 commits
# 526,431
JavaScr...
ESLint
12 commits
# 25,417
webfram...
Markdow...
ESLint
ecmascr...
10 commits
# 202,038
HTML
TypeScr...
postgre...
Postgre...
2 commits
# 5,002
OCaml
React
reasonm...
node-js
2 commits
# 420,729
Shell
JavaScr...
TypeScr...
reactjs
1 commit
# 63,625
Shell
ESLint
ramda
Perl
1 commit
# 722,304
JavaScr...
ESLint
1 commit
# 118,831
reactjs
Shell
TypeScr...
React N...
1 commit
# 3,028
ESLint
Markdow...
eslint-...
GraphQL
1 commit
# 83,157
Objecti...
React N...
React
chromiu...
1 commit
# 176
nextjs
postman...
graphql...
angular...
1 commit
# 716,310
JavaScr...
ESLint
1 commit
# 21,127
angular...
ionic-f...
ionic3
yarn
1 commit
# 89,050
HTML
mac
TypeScr...
Angular
1 commit

eslint-plugin-flowtype-errors

Test NPM version Dependency Status npm

Demo

ESLint Flow 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: Its 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:

jsonc
{
  "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:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.