-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
ESLint: Re-enable rule no-access-state-in-setstate #10870
ESLint: Re-enable rule no-access-state-in-setstate #10870
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10870 +/- ##
==========================================
- Coverage 65.80% 61.11% -4.70%
==========================================
Files 815 815
Lines 38327 38329 +2
Branches 3600 3600
==========================================
- Hits 25221 23424 -1797
- Misses 13002 14719 +1717
- Partials 104 186 +82
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
c91de79
to
0f5dc77
Compare
I re-triggered the action in CI, if that doesn't work you can rebase as the issue has been addressed on |
0f5dc77
to
f798552
Compare
f798552
to
faffcc6
Compare
@mistercrunch I rebased this PR on the newest master and retriggered the CI a couple of times but it keeps failing the cypress tests (explore/AdhocMetrics.test.ts). @eschutho do you have any idea how we could fix this? |
And just as I wrote this comment I figured that the issue is in my code and not in Cypress... I accessed |
…l_access/dashboard_by_id_endpoints * upstream/master: (29 commits) fix(presto): default unknown types to string type (apache#10753) feat(row-level-security): add base filter type and filter grouping (apache#10946) docs: add gallery screenshot & link in README (apache#10988) docs: add a "Gallery" page (apache#10968) build: add PR lint action (apache#10990) adding filters back that caused issues (apache#10989) chore: selectors refactor in SQLLab test suite (Cypress) (apache#10944) ESLint: Remove ts-ignore comments (apache#10933) style: fix checkbox color (apache#10970) fix: changed disabled rules in datasets module (apache#10979) fix: update the time filter for 'Last Year' option in explore (apache#10829) fix: use nullpool even for user lookup in the celery (apache#10938) Allow empty observations in alerting (apache#10939) fix: re-enabling several globally disabled lint rules (apache#10957) fix: setting specific exceptions common/query_context.py (apache#10942) Pylint disabled rule `pointless-string-statement` is not raising warining anymore - removing (apache#10975) fix: pylint disabled rules in dashboard/api.py (apache#10976) fix: removed disabled lint rule `too-many-locals` in connectors/base/models.py (apache#10958) ESLint: Re-enable rule no-access-state-in-setstate (apache#10870) fix: simply is_adhoc_metric (apache#10964) ...
* Re-enable rule no-access-state-in-setstate * Move accessing event values out of async functions
SUMMARY
Re-enable ESLint rule
no-access-state-in-setstate
, which was disabled in PR #10839. 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