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 29 Forks MIT License 335 Commits 8 Opened issues

Description

Run Flow as an ESLint plugin

Services available

!
?

Need anything else?

Contributors list

# 1,044
TypeScr...
Babel
Electro...
ESLint
218 commits
# 26
netlify
TypeScr...
GraphQL
angular...
75 commits
# 539,321
JavaScr...
ESLint
12 commits
# 25,917
JavaScr...
Node.js
Markdow...
logger
10 commits
# 206,828
HTML
TypeScr...
postgre...
Postgre...
2 commits
# 5,082
OCaml
React
reasonm...
repl
2 commits
# 170,407
TypeScr...
Node.js
ESLint
compat
2 commits
# 422,569
JavaScr...
ESLint
TypeScr...
reactjs
1 commit
# 64,456
Shell
ESLint
ramda
Perl
1 commit
# 722,361
JavaScr...
ESLint
1 commit
# 125,975
reactjs
Shell
TypeScr...
React N...
1 commit
# 3,447
ESLint
Markdow...
eslint-...
GraphQL
1 commit
# 85,825
Objecti...
React N...
React
Babel
1 commit
# 198
nextjs
postman...
graphql...
angular...
1 commit
# 716,612
JavaScr...
ESLint
1 commit
# 23,289
angular...
ionic-f...
ionic3
ionic2
1 commit
# 109,108
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: 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:

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.