facebook / facebook/flow

Flow ignores dotfiles

Offen
#4,552 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Rust
Sterne
22.3k
Forks
1.9k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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'
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.