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

Separate linting rules for cypress #1344

Conversation

mengweieric
Copy link
Collaborator

Description

Previously, without separate rules, the root ESLint configuration file applied its rules to all matched files. This approach sometimes resulted in files being linted with irrelevant rules. This PR separates cypress rules out from root configurations and to cypress specific foolder.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8fb54e) 51.57% compared to head (ffaa59c) 52.92%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1344      +/-   ##
==========================================
+ Coverage   51.57%   52.92%   +1.35%     
==========================================
  Files         305      302       -3     
  Lines       10651    10587      -64     
  Branches     2793     2777      -16     
==========================================
+ Hits         5493     5603     +110     
+ Misses       5112     4939     -173     
+ Partials       46       45       -1     
Flag Coverage Δ
dashboards-observability 52.92% <ø> (+1.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mengweieric mengweieric merged commit 9a0fb3d into opensearch-project:main Jan 9, 2024
14 of 24 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2024
Signed-off-by: Eric <[email protected]>
(cherry picked from commit 9a0fb3d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mengweieric pushed a commit that referenced this pull request Jan 9, 2024
(cherry picked from commit 9a0fb3d)

Signed-off-by: Eric <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mengweieric mengweieric deleted the feature/cypress-improvement-log-explorer branch February 14, 2024 18:30
RyanL1997 pushed a commit to RyanL1997/dashboards-observability that referenced this pull request Apr 18, 2024
…roject#1344)

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 250689822a4d4e790f0b3b3ec9152fb9bb47fa4e)

Co-authored-by: Craig Perkins <[email protected]>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…rch-project#1348)

(cherry picked from commit 9a0fb3d)

Signed-off-by: Eric <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 7a8b73e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants