Bir projede ESLint kullanıyorum ve Facebook akışını kullanmak istiyorum, Ama akış tipi ek açıklamaları hakkında ESLint'ten uyarı alıyorum.Arbnb yapılandırması ve Facebook Flow ile birlikte ESLint
Proje kökünde .flowconfig ve .eslintrc var.
.eslintrc:
// When you write javascript you should follow these soft rules and best practices
// https://github.com/airbnb/javascript
// This is a link to best practices and enforcer settings for eslint
// https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb
// Use this file as a starting point for your project's .eslintrc.
{
"extends": "airbnb",
"plugins": [
"flow-vars"
],
"rules": {
"flow-vars/define-flow-type": 1,
"flow-vars/use-flow-type": 1
}
}
Ne çalışması için ne yapmalıdır? Webpack kullanarak birlikte izle görevinde akış çalıştırmanın bir yolu var mı?