gajus / gajus/eslint-plugin-flowtype
bug: newline-after-flow-annotation empty file throws error
Open
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
When I have a mostly empty file that looks like this, it should not error
```
// @flow
```
Contributor guide
Research direction
No file or test is named in the issue. Reproduce the problem in eslint-plugin-flowtype with the provided mostly empty JavaScript snippet, then trace how a newline after the // @flow annotation is handled. Done means the snippet no longer throws an error, with a regression test covering this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100