-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint the whole codebase #422
Comments
thewilkybarkid
added a commit
that referenced
this issue
Nov 2, 2021
I'm not sure why @typescript-eslint/typescript-estree has been used: I can't see any useful information about it. All documentation points to using @typescript-eslint/parser, which has been installed already. The only noticeable difference is that it doesn't understand when a type has been used, leading to @typescript-eslint/no-unused-vars errors. I've added a separate TypeScript config file that includes all files in the codebase, as the new parser will error if it tries to load a file that hasn't been included. Refs #398, #422, ba132cc
thewilkybarkid
added a commit
that referenced
this issue
Nov 2, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 3, 2021
This change makes the JavaScript and TypeScript ESLint extensions match. Refs #422
thewilkybarkid
added a commit
that referenced
this issue
Nov 3, 2021
Rather than running ESLint on a single subfolder, this uses an ignore file to exclude files that aren't lint correctly. Refs #422
thewilkybarkid
added a commit
that referenced
this issue
Nov 3, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 3, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 3, 2021
The only unlinted code is the frontend, which unfortunately has a lot of errors. |
|
thewilkybarkid
added a commit
that referenced
this issue
Nov 4, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 8, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 9, 2021
thewilkybarkid
added a commit
that referenced
this issue
Nov 26, 2021
ESLint 8 is available, but eslint-plugin-promise doesn't yet support it. Refs #422, eslint-community/eslint-plugin-promise#218
thewilkybarkid
added a commit
that referenced
this issue
Jan 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ESLint has only been enabled for the
src/backend
directory, and, seemingly only JavaScript files.All code should be listed.
Refs #395
The text was updated successfully, but these errors were encountered: