-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
chore: manual eslint fixes #9750
Conversation
@lipis |
|
||
class CommunityHeader extends Component { | ||
render() { | ||
const { forHire, hiring, submissionText } = this.props | ||
const { /*forHire, hiring,*/ submissionText } = this.props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
decided to comment out "unused vars" as rest of the code that was using that is commented - presumably can be used in future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented out code should be removed in general from master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left a few comments!
@@ -1,4 +1,6 @@ | |||
#!/usr/bin/env node | |||
const util = require(`util`) | |||
const exec = util.promisify(require(`child_process`).exec) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should fix some things 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now it's up to the robots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
* gatsbygram: consistent return * using-faker: fix linting * using-gatsby-source-graphql: import graphql from gatsby * using-remark-copy-linked-files: consistent return * gatsby-source-contentful: no-self-assign * cache-dir: consistent return, unused vars * add-npm-owner: re-add missing imports * fix www linting * gatsbygram: remove unused lifecycle methods * return null instead of fragment
this fixes problems that
eslint --fix
can't autofix