lint __mocks__
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 153
- Forks
- 46
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 7
Description
~/gh/solid/solid-ui $ ./node_modules/.bin/eslint mocks/*.ts
/Users/michiel/gh/solid/solid-ui/mocks/rdflib.ts
1:20 error Multiple spaces found before '{' no-multi-spaces
18:4 error Trailing spaces not allowed no-trailing-spaces
19:2 error Trailing spaces not allowed no-trailing-spaces
24:19 error Missing space before function parentheses space-before-function-paren
27:24 error Missing space before function parentheses space-before-function-paren
35:10 error Missing space before function parentheses space-before-function-paren
43:22 error Missing space before function parentheses space-before-function-paren
49:14 error Missing space before function parentheses space-before-function-paren
53:3 error Expected blank line between class members lines-between-class-members
57:3 error Expected blank line between class members lines-between-class-members
87:3 error Expected blank line between class members lines-between-class-members
90:3 error Expected blank line between class members lines-between-class-members
93:3 error Expected blank line between class members lines-between-class-members
96:3 error Expected blank line between class members lines-between-class-members
99:3 error Expected blank line between class members lines-between-class-members
102:3 error Expected blank line between class members lines-between-class-members
105:3 error Expected blank line between class members lines-between-class-members
110:24 error Missing space before function parentheses space-before-function-paren
115:14 error Missing space before function parentheses space-before-function-paren
118:3 error Expected blank line between class members lines-between-class-members
120:3 error Expected blank line between class members lines-between-class-members
124:26 error Missing space before function parentheses space-before-function-paren
129:26 error Missing space before function parentheses space-before-function-paren
131:26 error Missing space before function parentheses space-before-function-paren
135:11 error Missing space before function parentheses space-before-function-paren
136:9 error Missing space before function parentheses space-before-function-paren
/Users/michiel/gh/solid/solid-ui/mocks/solid-auth-client.ts
2:27 error Missing space before function parentheses space-before-function-paren
5:2 error Newline required at end of file but not found eol-last
✖ 28 problems (28 errors, 0 warnings)
28 errors and 0 warnings potentially fixable with the --fix option.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with mocks/rdflib.ts and mocks/solid-auth-client.ts, then run ./node_modules/.bin/eslint mocks/*.ts. Apply the reported formatting fixes, including the missing final newline, and confirm the command finishes without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100