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 authored and merge-me[bot] committed Sep 22, 2023
1 parent bf8f918 commit a2a9bb3
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 @@ -60,6 +60,7 @@ const camundaCloud83Rules = withConfig({
'start-form',
'no-signal-event-sub-process'
]),
'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 @@ -218,6 +218,7 @@ describe('configs', function() {
'no-expression': [ 'error', { version: '8.3' } ],
'no-loop': [ 'error', { version: '8.3' } ],
'no-multiple-none-start-events' : [ '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 a2a9bb3

Please sign in to comment.