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

Files

Latest commit

5bb4bf3 · Oct 23, 2018

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 27, 2018
Oct 23, 2018

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 }]