Skip to content
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

Add linting #218

Merged
merged 5 commits into from
Nov 4, 2022
Merged

Add linting #218

merged 5 commits into from
Nov 4, 2022

Conversation

andrewiggins
Copy link
Member

Adds eslint to the repo and CI builds

.eslintrc.cjs Show resolved Hide resolved
@@ -1,5 +1,7 @@
#!/usr/bin/env node

/* eslint-disable */
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eslint was unhappy with all the require statements and more in this file. Since this file isn't production code I defaulted to just disabling eslint altogether. Here are the errors I see for this file as an FYI (no require, __dirname is undefined, and no console):
Screen Shot 2022-11-02 at 1 21 54 PM

Copy link
Member

@robertknight robertknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, except for a typo in the eslint --fix call (missing -).

.eslintrc.cjs Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants