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

Fix lint errors and enforced consistency #19

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

Fix lint errors and enforced consistency #19

wants to merge 1 commit into from

Conversation

rtsao
Copy link
Contributor

@rtsao rtsao commented Aug 22, 2015

There were nearly 100 lint errors, I have fixed them all. Furthermore, I have updated the .lintrc to properly enforce string quote and parenthesis consistency. I also made it so tests will fail if there are lint problems.

Personally, I'm a fan of "space-in-parens": [2, "never"], but because the project uses spaces in parenthesis, "space-in-parens": [2, "always"] is now enforced. (I'd be happy to switch everything to no spaces in parens if the maintainer wanted to 😉 )

I have a diff that addresses #13 but I wanted to fix linting first in a separate PR.

I also have a feeling that eslint was actually misconfigured and semicolons are not desired... in which case I recommend adopting https://github.com/feross/standard. I'd be more than happy to reformat things.

We have plans to use css-modules in production so I'm definitely more than willing to assist setup tooling stuff and other chores (code coverage, etc.) to help improve quality across the board.

@douglasduteil
Copy link

Great work @rtsao 👍

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