MetaMask / MetaMask/eslint-config
Enforce line breaks in between types and variables, functions, or classes
Open
team-wallet-framework
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
These should produce violations:
``` typescript
type X = "string";
const foo = "bar";
```
``` typescript
type X = "string";
const foo = () => {
// do whatever
}
```
``` typescript
type X = "string";
function foo() {
// do whatever
}
```
``` typescript
type X = "string";
class A {
// ...
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named in the issue. Start by locating the configuration or rule responsible for spacing between declarations, then verify the four TypeScript examples and ensure each missing line break produces a violation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100