Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Setup ESlint for project; resolves #89. #97

Merged
merged 2 commits into from Apr 9, 2018
Merged

Setup ESlint for project; resolves #89. #97

merged 2 commits into from Apr 9, 2018

Conversation

ruebot
Copy link
Member

@ruebot ruebot commented Apr 8, 2018

  • Add ESlint config
  • Update gitignore
  • Update TravisCI config
  • Add Rake task
  • Clean-up JS files
  • Ignore some JS files

I've tested locally by moving the gexf file, and also removing all the nodes and edges to simulate an empty graph so recreate the two conditionals. Everything looks fine, but just want to make sure things are good not on my laptop.

@greebie and @ianmilligan1 would you mind doing a smoke test on your end?

- Add ESlint config
- Update gitignore
- Update TravisCI config
- Add Rake task
- Clean-up JS files
- Ignore some JS files
@ruebot
Copy link
Member Author

ruebot commented Apr 8, 2018

Oh yeah, TravisCI runs the ESlinting now too, so that should be good too.

@codecov
Copy link

codecov bot commented Apr 8, 2018

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   87.02%   87.02%           
=======================================
  Files          26       26           
  Lines         239      239           
=======================================
  Hits          208      208           
  Misses         31       31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc6e5be...761388a. Read the comment docs.

ianmilligan1
ianmilligan1 previously approved these changes Apr 9, 2018
Copy link
Member

@ianmilligan1 ianmilligan1 left a comment

Choose a reason for hiding this comment

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

Tested – both successfully with everything, and also successfully caught that files were missing when they were removed.

@ruebot ruebot changed the title Setup ESlint to project; resolves #89. Setup ESlint for project; resolves #89. Apr 9, 2018
@ruebot ruebot requested a review from greebie April 9, 2018 14:30
{
"extends": "airbnb-base/legacy",
"globals": {
"jQuery": true,
Copy link
Contributor

Choose a reason for hiding this comment

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

add sigma as a global?

@greebie
Copy link
Contributor

greebie commented Apr 9, 2018

lgtm. Only comment is the optional add of sigma to the globals list.

@ianmilligan1 ianmilligan1 merged commit d15b88b into master Apr 9, 2018
@ruebot ruebot deleted the eslint branch April 9, 2018 16:34
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.

None yet

3 participants