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 f2b56df commit dde2f20
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 182 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ const camundaCloud86Rules = withConfig({

const camundaCloud87Rules = withConfig({
...omit(camundaCloud86Rules, [ 'no-task-listeners' ]),
'zeebe-user-task': 'error',
'task-listener': 'error'
}, { version: '8.7' });

Expand Down Expand Up @@ -174,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
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.

68 changes: 0 additions & 68 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.

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


Expand Down Expand Up @@ -507,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 dde2f20

Please sign in to comment.