Essential rules for eslint-plugin-flowtype
npm install eslint-config-flowtype-essential 
Shareable configuration for eslint-plugin-flowtype.
The main idea of this configuration is to be:
1. Strict about syntax
2. Permissive about types
3. Opened for further extensions
``bash`
npm install --save-dev eslint-config-flowtype-essential
Then, modify your eslint configuration:
`json`
{
"extends": [
"flowtype-essential"
]
}
Done! Later you can modify your configuration to include any extra rules you need.
This code is considered valid (and beautiful):
`js
type Client
name: string,
surname: string,
age: number | string,
isRegular: boolean,
reference: T,
related: Array
preferences: Array
}
function greetClient (client: Client
return Hi, ${client.name}-{$client.reference}``
}
MIT.