eslint-plugin-flowtype
eslint-plugin-flowtype copied to clipboard
Rule for object curly brace new line
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
There's a separate rule https://eslint.org/docs/rules/object-property-newline that can be done later