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

[js linting] use airbnb eslint settings #796

Merged
merged 2 commits into from
Jul 27, 2016
Merged

[js linting] use airbnb eslint settings #796

merged 2 commits into from
Jul 27, 2016

Conversation

ascott
Copy link

@ascott ascott commented Jul 21, 2016

  • extends airbnb's eslint package, with a few custom rules
  • lints most js files (everything but the visualizations and spec folders for now)
  • adds linting to the npm run test step so tests will fail if linting fails

core flows to test:

  • add new slice from dashboard
  • saving position changes on a dashboard
  • viewing a dashboard
  • viewing a slice
  • changing a filter on a slice
  • creating a new slice
  • adding a slice to a dashboard
  • saving size changes on a dashboard
  • exploring a chart from a dashboard
  • refreshing cache on a chart (in explore or on dashboard)
  • view a standalone chart from the explore page
  • exporting chart data as csv/json
  • remove chart from dashboard
  • edit dashboard css
  • view dashboard filters
  • viewing /welcome

plz review @mistercrunch @williaster

@coveralls
Copy link

coveralls commented Jul 21, 2016

Coverage Status

Coverage remained the same at 81.185% when pulling 6b826b3661153e17de03e4f4565b01adb08660ee on ascott:alanna-eslint-jshint into a704d4d on airbnb:master.

@ascott
Copy link
Author

ascott commented Jul 21, 2016

@mistercrunch @williaster @georgeke any other flows you think i'm missing here for testing?

@williaster
Copy link
Contributor

williaster commented Jul 21, 2016

maybe

  • remove chart from dashboard
  • saving size/position changes on a dashboard
  • exploring a chart from a dashboard
  • refreshing cache on a chart (in explore or on dashboard)
  • view a standalone chart from the explore page
  • exporting chart data as csv/json
  • favoriting a chart or dashboard
  • checking for size updates on window.resize?

not sure about adding/testing a new data source or not. I think the most susceptible place for bugs might be the python / js interface where there could be camelCase / underscore case mismatches.

@ascott
Copy link
Author

ascott commented Jul 21, 2016

great suggestions, thanks @williaster!

@coveralls
Copy link

coveralls commented Jul 27, 2016

Coverage Status

Coverage remained the same at 81.012% when pulling 1d88a02 on ascott:alanna-eslint-jshint into f43e5f1 on airbnb:master.

@coveralls
Copy link

coveralls commented Jul 27, 2016

Coverage Status

Coverage remained the same at 81.012% when pulling 1d88a02 on ascott:alanna-eslint-jshint into f43e5f1 on airbnb:master.

@ascott ascott merged commit 1101de5 into apache:master Jul 27, 2016
@ascott ascott deleted the alanna-eslint-jshint branch July 27, 2016 23:57
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants