0.1.4 • Published 8 years ago
@gabehayes/eslint-config-flowtype v0.1.4
eslint-config-flowtype
Check out eslint-plugin-flowtype for a list of all the rules we are inheriting.
Table of Contents
Installation
Install the package.
yarn add @keenai/eslint-config-flowtype
Then, extend @keenai/react
in your ESLint configuration file.
{
extends: [
'@keenai/flowtype',
],
}
Rules
flowtype/require-valid-file-annotation
Enforces the line style annotation at the top of all files.
Good
// @flow
Bad
/* @flow */