Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

[wip] add pieces for ESLint (issue #220) #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[wip] add pieces for ESLint (issue #220) #296

wants to merge 1 commit into from

Conversation

mlp6
Copy link
Owner

@mlp6 mlp6 commented May 21, 2018

@suyashkumar I'd like to get this linter going to make sure that I'm adhering to some sort of standard. I trolled the open issues and found this one so I added the ESLint package, but I saw that there are several popular styles (Google, AirBnB, etc.), so I'll let you choose, and then I will follow. I arbitrarily set this up with the Google style as the configured default, but I'm 100% agnostic to this.

@mlp6 mlp6 requested a review from suyashkumar May 21, 2018 21:42
Copy link
Collaborator

@suyashkumar suyashkumar left a comment

Choose a reason for hiding this comment

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

Awesome thanks for going this! We may want to prevent this from running in the build until the codebase is pulled up to par with the AirBnB style.

@@ -0,0 +1,4 @@
module.exports = {
"parser": "babel-eslint",
"extends": "google"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's go with AirBnB style...it's the most popular and easy on the eyes :).

@suyashkumar
Copy link
Collaborator

Also, I think it would be good to add this same style linter to the nodejs server side of things for consistency

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants