Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Flow

These configuration files are suitable to lint Flow type annotations.

Configurations

@strv/javascript/environments/flow/recommended

Basic ruleset for Flow. Main focus is on consistent way to write type annotations.

In combination with React

If you are using Flow with React to validate props consider adding this rule to your .eslintrc.js config:

// Enforces sorting of Object annotations.
// This rule mirrors ESlint's sort-keys rule.
'flowtype/sort-keys': ['warn', 'asc', { caseSensitive: false }]