Skip to content

Commit

Permalink
fix: remove zeebe-user-task rule
Browse files Browse the repository at this point in the history
The rule was added too early as the feature is still supported in
all versions of Camunda.

Related to camunda/camunda-modeler#4718
  • Loading branch information
barmac committed Nov 22, 2024
1 parent df3d363 commit 8a47161
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 162 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ const rules = {
'user-task-definition': './rules/camunda-cloud/user-task-definition',
'user-task-form': './rules/camunda-cloud/user-task-form',
'version-tag': './rules/camunda-cloud/version-tag',
'wait-for-completion': './rules/camunda-cloud/wait-for-completion',
'zeebe-user-task': './rules/camunda-cloud/zeebe-user-task'
'wait-for-completion': './rules/camunda-cloud/wait-for-completion'
};

const configs = {
Expand Down Expand Up @@ -248,7 +247,7 @@ module.exports = {
}

return type;
}, null) || 'error'
}, null)
};
}, {})
}
Expand Down
25 changes: 0 additions & 25 deletions rules/camunda-cloud/zeebe-user-task.js

This file was deleted.

15 changes: 0 additions & 15 deletions test/camunda-cloud/integration/zeebe-user-task-errors.bpmn

This file was deleted.

17 changes: 0 additions & 17 deletions test/camunda-cloud/integration/zeebe-user-task.bpmn

This file was deleted.

50 changes: 0 additions & 50 deletions test/camunda-cloud/integration/zeebe-user-task.spec.js

This file was deleted.

50 changes: 0 additions & 50 deletions test/camunda-cloud/zeebe-user-task.spec.js

This file was deleted.

3 changes: 1 addition & 2 deletions test/config/configs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,7 @@ describe('configs', function() {
'user-task-definition': 'warn',
'user-task-form': 'error',
'version-tag': 'error',
'wait-for-completion': 'error',
'zeebe-user-task': 'error'
'wait-for-completion': 'error'
}));

});
Expand Down

0 comments on commit 8a47161

Please sign in to comment.