Skip to content

Commit

Permalink
fix: do not mark user task with job worker as not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 22, 2024
1 parent f2b56df commit dd3173e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
3 changes: 1 addition & 2 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 @@ -249,7 +248,7 @@ module.exports = {
}

return type;
}, null)
}, null) || 'error'
};
}, {})
}
Expand Down
18 changes: 0 additions & 18 deletions test/camunda-cloud/integration/zeebe-user-task.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,6 @@ describe('integration - zeebe-user-task', function() {
});

});


describe('errors', function() {

it('should have errors', async function() {

// given
const { root } = await readModdle('test/camunda-cloud/integration/zeebe-user-task-errors.bpmn');

// when
const reports = await linter.lint(root);

// then
expect(reports[ 'camunda-compat/zeebe-user-task' ]).to.exist;
});

});

});

});
Expand Down
3 changes: 1 addition & 2 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

0 comments on commit dd3173e

Please sign in to comment.