Logo
  • DB
  • About
  • Updates
eslint-plugin-flowtype

Flowtype linting rules for ESLint.

❯ npm i --save-dev eslint-plugin-flowtype
📖 README🐛 BugsGitHub LogoGitHubnpm Logonpm
🕵️‍♂️ Linter
  • 1 Config
  • 47 Rules
GitHub LogoGitHub
  • JavaScript
  • 1.1K Stars
  • 11 Watchers
npm Logonpm
  • 3M Wkly Downloads
  • +36% WoW
  • 8.0.3 335 kB
📋 Requirements
  • Node: >=12
  • @babel/plugin-synt...: ^7.14.5
  • @babel/plugin-tran...: ^7.14.9
  • ESLint: ^8.1
ConfigurationRules
recommended7 error • 2 warn • 9 off
RuleDescription🔧💡💭🗂️⚙️
array-style-complex-type🔧
array-style-simple-type🔧
arrow-parens

require parentheses around arrow function arguments

🔧📏
boolean-style🔧
define-flow-type⚠️
delimiter-dangle🔧🚫
enforce-line-break🔧
generic-spacing🔧
interface-id-match
newline-after-flow-annotation🔧
no-dupe-keys
no-duplicate-type-union-intersection-members🔧⚙️
no-existential-type
no-flow-fix-me-comments
no-internal-flow-type
no-mixed🚫
no-mutable-array🔧
no-primitive-constructor-types
no-types-missing-file-annotation
no-unused-expressions

Disallow unused expressions

📖⚙️
no-weak-types🚫
object-type-curly-spacing🔧
object-type-delimiter🔧
quotes🔧
require-compound-type-alias
require-exact-type🔧
require-indexer-name🔧
require-inexact-type
require-parameter-type🚫
require-readonly-react-props🚫
require-return-type🚫
require-types-at-top
require-valid-file-annotation🔧🚫
require-variable-type
semi🔧🚫
sort-keys🔧
sort-type-union-intersection-members🔧⚙️
space-after-type-colon🔧
space-before-generic-bracket🔧
space-before-type-colon🔧
spread-exact-type
type-id-match🚫
type-import-style🔧
union-intersection-spacing🔧
use-flow-type⚠️
use-read-only-spread
valid-syntax
© 2024 Lintbase