Skip to content

Commit

Permalink
feat(secrets): enable rule and report warn
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Sep 22, 2023
1 parent 8fd5904 commit 225becd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const camundaCloud12Rules = withConfig(camundaCloud11Rules, { version: '1.2' });
const camundaCloud13Rules = withConfig(camundaCloud12Rules, { version: '1.3' });

const camundaCloud80Rules = withConfig({
...omit(camundaCloud13Rules, 'no-template')
...omit(camundaCloud13Rules, 'no-template'),
}, { version: '8.0' });

const camundaCloud81Rules = withConfig({
Expand All @@ -59,6 +59,7 @@ const camundaCloud83Rules = withConfig({
...omit(camundaCloud82Rules, [
'start-form'
]),
'secrets': 'warn',
'signal-reference': 'error'
}, { version: '8.3' });

Expand Down
6 changes: 2 additions & 4 deletions test/camunda-cloud/integration/secrets.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ const NodeResolver = require('bpmnlint/lib/resolver/node-resolver');
const { readModdle } = require('../../helper');

const versions = [
'8.0',
'8.1',
'8.2'
'8.3'
];

describe.skip('integration - secrets', function() {
describe('integration - secrets', function() {

versions.forEach(function(version) {

Expand Down
1 change: 1 addition & 0 deletions test/config/configs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ describe('configs', function() {
'no-loop': [ 'error', { version: '8.3' } ],
'no-multiple-none-start-events' : [ 'error', { version: '8.3' } ],
'no-signal-event-sub-process': [ 'error', { version: '8.3' } ],
'secrets': [ 'warn', { version: '8.3' } ],
'sequence-flow-condition': [ 'error', { version: '8.3' } ],
'signal-reference': [ 'error', { version: '8.3' } ],
'subscription': [ 'error', { version: '8.3' } ],
Expand Down

0 comments on commit 225becd

Please sign in to comment.