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

chore(xo): setup linter #67

Closed
wants to merge 1 commit into from
Closed

chore(xo): setup linter #67

wants to merge 1 commit into from

Conversation

mastilver
Copy link
Contributor

@mastilver mastilver commented Jul 31, 2017

Once v1.3 is release, and #58 is merged; this should be merged with linting fixes

Any additional rules, you want in / disable?

Copy link
Contributor

@D34THWINGS D34THWINGS left a comment

Choose a reason for hiding this comment

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

Seems good to me 😃

"space-before-function-paren": ["error", "never"]
},
"globals": [
"describe",
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use:

{
  "env": {
    "jasmine": true
  }
}

instead of adding every global one by one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Damn, didn't know about this... Super useful 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

@shellscape
Copy link
Owner

I'm going to be taking this an ESLint route. Thanks for the work on this PR previously.

@shellscape shellscape closed this Oct 18, 2020
@shellscape shellscape deleted the setup-xo branch October 18, 2020 02:49
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.

4 participants