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

chore(eslint): add unicorn/prefer-dom-node-text-content rule #2869

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

csouchet
Copy link
Member

@csouchet csouchet commented Sep 19, 2023

To avoid to have to many changes by enabling plugin:unicorn/recommended, I choose to enable some rule one-by-one.

https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-dom-node-text-content.md

Part of #2824 

Covers #2742

@csouchet csouchet added chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first refactoring Code refactoring labels Sep 19, 2023
@github-actions
Copy link

github-actions bot commented Sep 19, 2023

🎊 PR Preview c07ade7 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-doc_preview-pr-2869.surge.sh

🕐 Build time: 0.013s

🤖 By surge-preview

@github-actions
Copy link

github-actions bot commented Sep 19, 2023

♻️ PR Preview faa5b4f has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@csouchet csouchet force-pushed the 2742-add_unicorn/prefer-dom-node-text-content_rule branch from 43c83e7 to c07ade7 Compare September 19, 2023 14:57
@csouchet csouchet force-pushed the 2742-add_unicorn/prefer-dom-node-text-content_rule branch from c07ade7 to c0ece7a Compare September 21, 2023 09:29
@csouchet csouchet removed the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Sep 21, 2023
dev/ts/pages/index.ts Outdated Show resolved Hide resolved
@csouchet csouchet marked this pull request as ready for review September 21, 2023 09:34
@csouchet csouchet requested a review from tbouffard September 21, 2023 09:34
@csouchet csouchet marked this pull request as draft September 21, 2023 09:35
@csouchet csouchet marked this pull request as ready for review September 21, 2023 09:37
@process-analytics process-analytics deleted a comment from sonarqubecloud bot Sep 21, 2023
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️ Tested with the surge preview environment. https://process-analytics-bpmn-visualization-js-demo_preview-pr-2869.surge.sh/dev/public/: the version correctly displays in the footer
✔️ tested locally http://localhost:10001/dev/public/bpmn-rendering.html loading an invalid BPMN diagram

image

@csouchet csouchet merged commit 01e730f into master Sep 21, 2023
@csouchet csouchet deleted the 2742-add_unicorn/prefer-dom-node-text-content_rule branch September 21, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) refactoring Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants