-
Notifications
You must be signed in to change notification settings - Fork 330
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
Fixed eslint warning #378
Fixed eslint warning #378
Conversation
@@ -18,6 +19,7 @@ | |||
"semi": ["error", "always"], | |||
"space-before-function-paren": ["error", "never"], | |||
"jsx-quotes": "off", | |||
"comma-dangle": "off" | |||
"comma-dangle": "off", |
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.
I think this violates the prettier config. I would suggest having comma-dangle as a violation.
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.
@perry-mitchell I think those already existed in .eslintrc
before prettier era.. I have added "prettier" preset so all these extra overrides should be removed from here including this one. But I think this changed was not made by @snhasani
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.
Ah good point! My mistake. It's fine with me then..
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.
Great. thanks. will merge this.
These eslint warnings should be resolved:
and also I added
yarn.lock
file. Because I could not install npm packages with Iran's Internet, but Yarn did it!