SolidOS / SolidOS/solid-ui

lint __mocks__

Open
#208 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.