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

feat(rules): add feel linting rule #51

Merged
merged 4 commits into from
Oct 26, 2022
Merged

feat(rules): add feel linting rule #51

merged 4 commits into from
Oct 26, 2022

Conversation

marstamm
Copy link
Member

This PR adds FEEL linting rules to the C8 linting rules.

To test it out, checkout camunda/linting#feel and link locally. bpmn-io/sr gets stuck on cloning linting for me. Here is the command anyway, in case it works for you:

npx @bpmn-io/sr camunda/liniting#feel -l camunda/bpmnlint-plugin-camunda-compat#feel

Recording 2022-10-20 at 17 04 08

Upstream PR: camunda/linting#31
related to camunda/linting#22

@marstamm marstamm requested review from philippfromme and a team October 20, 2022 15:08
@marstamm marstamm self-assigned this Oct 20, 2022
@marstamm marstamm requested review from Skaiir and removed request for a team October 20, 2022 15:08
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Oct 20, 2022
Comment on lines +14 to +16
if (!parentNode) {
return;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Should never happen, but it does: bpmn-io/bpmn-js#1754

Better be safe than blow up 😄

Copy link
Collaborator

Choose a reason for hiding this comment

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

🤡

Copy link
Collaborator

@philippfromme philippfromme left a comment

Choose a reason for hiding this comment

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

Made some minor adjustments.

💹

@merge-me merge-me bot merged commit 22d7502 into main Oct 26, 2022
@merge-me merge-me bot deleted the feel branch October 26, 2022 13:21
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants