gajus / gajus/eslint-plugin-flowtype
Rule for object curly brace new line
Open
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
```
type Obj = {
test: number };
```
The above should error and instead be fixed to
```
type Obj {
test: number,
};
```
Rule that does patterns similar to this https://eslint.org/docs/rules/object-curly-newline
Contributor guide
Research direction
Start by comparing the requested Flow object-type formatting with ESLint's object-curly-newline rule, linked in the issue. Use the two examples as the expected error and autofix behavior; done means the rule handles this pattern consistently and verifies both outcomes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100