facebook / facebook/flow

Flow ignores dotfiles

Open
#4,552 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Running `flow` in a project that has `.eslintrc.js` or any other JS dotfile will silently skip these files, even if they have the `@flow` pragma.

Even `flow check .eslintrc.js` silently fails. As a test, run `flow check .test.js` with the following content:

```js
/* @flow */

const num: number = 'string'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.