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

refactor(editor): Stricter linting for promises and async functions (no-changelog) #4642

Merged
merged 14 commits into from
May 10, 2023

Conversation

michael-radency
Copy link
Contributor

No description provided.

@michael-radency michael-radency added n8n team Authored by the n8n team node/linting Applies rule from eslint-plugin-n8n-nodes-base labels Nov 18, 2022
@michael-radency michael-radency requested review from netroy and removed request for Joffcom November 18, 2022 15:41
@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2023

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching **/*.vue:

  • Used composition API for all new components.
  • Added component or unit tests to cover functionality.

Files matching packages/editor-ui/**/*.vue:

  • Added E2E if adding new features.
  • Used design system tokens (colors, spacings...) where possible.

Make sure to check off this list before asking for review.

@codecov
Copy link

codecov bot commented May 6, 2023

Codecov Report

Patch coverage: 36.25% and project coverage change: -0.02 ⚠️

Comparison is base (1b1dc0e) 19.96% compared to head (53ffa11) 19.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4642      +/-   ##
==========================================
- Coverage   19.96%   19.94%   -0.02%     
==========================================
  Files        2651     2651              
  Lines      119728   119724       -4     
  Branches    18934    18934              
==========================================
- Hits        23906    23882      -24     
- Misses      95094    95114      +20     
  Partials      728      728              
Impacted Files Coverage Δ
packages/editor-ui/src/api/communityNodes.ts 25.00% <0.00%> (ø)
packages/editor-ui/src/api/tags.ts 27.27% <0.00%> (ø)
...ponents/Node/NodeCreator/composables/useActions.ts 27.52% <0.00%> (ø)
.../src/components/SettingsLogStreaming/Helpers.ee.ts 0.00% <0.00%> (ø)
...ages/editor-ui/src/composables/useExternalHooks.ts 83.33% <0.00%> (ø)
packages/editor-ui/src/composables/useMessage.ts 26.15% <0.00%> (ø)
packages/editor-ui/src/composables/useToast.ts 25.35% <0.00%> (ø)
packages/editor-ui/src/main.ts 0.00% <0.00%> (ø)
packages/editor-ui/src/mixins/pushConnection.ts 15.69% <0.00%> (ø)
packages/editor-ui/src/mixins/showMessage.ts 18.72% <0.00%> (ø)
... and 39 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@netroy netroy changed the title refactor(core): Remove all no-floating-promises refactor(editor): Stricter linting for promises and async functions (no-changelog) May 10, 2023
@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@michael-radency michael-radency merged commit ed3bc15 into master May 10, 2023
@michael-radency michael-radency deleted the n8n-3803-remove-all-no-floating-promises branch May 10, 2023 15:10
MiloradFilipovic added a commit that referenced this pull request May 11, 2023
* master:
  feat(Google Ads Node): Update to support v13 (#6212)
  ci: Fix published nodes-base package's dependencies (no-changelog) (#6226)
  ci: Code coverage should include `.vue` files as well (no-changelog) (#6224)
  🚀 Release 0.228.0 (#6219)
  ci: Fix linting issue on master (no-changelog) (#6222)
  fix(core): Ensure DB repositories are initialized before the DB migrations are run  (#6220)
  refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)
  ci: Increase timeout for DB tests (no-changelog) (#6221)
  fix(editor): Fix viewing and downloading of binary data (#6218)
  fix: Prevent unnecessary error messages also for data loaded flag (#6201)
  feat: Create NPM node (#6177)
  fix(editor): Fix polling trigger check for `runData` (#6130)
  ci: Fix linting issue on master (no-changelog) (#6217)
  fix: Prevent overflow when rendering expression hints (#6214)
  feat(core): Improve health check (#6205)
  refactor(editor): Add GitHub 30k stars banner (no-changelog) (#6204)
  fix(editor): Add loading skeletons to Executions list page (#6184)
  ci: Fix v1 docker rc builds (no-changelog) (#6208)
  feat(Code Node): Set `defaultVersion` to 2 for V1 RC builds (no-changelog) (#6209)
  fix: Correctly save executions that failed when polling as error instead of new (#6192)

# Conflicts:
#	packages/editor-ui/src/components/ParameterInputList.vue
@janober
Copy link
Member

janober commented May 25, 2023

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/linting Applies rule from eslint-plugin-n8n-nodes-base Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants