Skip to content

Conversation

@kgabryje
Copy link
Member

SUMMARY

Re-enable ESLint rule prefer-destructuring, which was disabled in PR #10839. I kept the rule disabled for arrays, because I think the destructuring syntax was less readable - e.g. newValue = newValue[0] versus [newValue, ,] = newValue (occurs in file MetricsControl.jsx). Code was refactored to fix the errors raised by the rule.

TEST PLAN

Run npm run lint, verify that there are no new Javascript/Typescript errors.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@rusackas rusackas merged commit 352e8a1 into apache:master Sep 14, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 First shipped in 0.38.0 labels Mar 12, 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 size/L 🚢 0.38.0 First shipped in 0.38.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants