From 1a2e26796c804a850029214a8431f52a9aa80365 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 22 Sep 2023 11:18:58 +0200 Subject: [PATCH] feat(secrets): enable rule and report `info` Related to https://github.com/camunda/camunda-modeler/issues/3834 --- index.js | 3 ++- test/camunda-cloud/integration/secrets.spec.js | 2 +- test/config/configs.spec.js | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 865eacea..00346d4e 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,8 @@ 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'), + 'secrets': 'info' }, { version: '8.0' }); const camundaCloud81Rules = withConfig({ diff --git a/test/camunda-cloud/integration/secrets.spec.js b/test/camunda-cloud/integration/secrets.spec.js index 9fe5bdd7..7f4142c7 100644 --- a/test/camunda-cloud/integration/secrets.spec.js +++ b/test/camunda-cloud/integration/secrets.spec.js @@ -12,7 +12,7 @@ const versions = [ '8.2' ]; -describe.skip('integration - secrets', function() { +describe('integration - secrets', function() { versions.forEach(function(version) { diff --git a/test/config/configs.spec.js b/test/config/configs.spec.js index 283effb2..48d35290 100644 --- a/test/config/configs.spec.js +++ b/test/config/configs.spec.js @@ -135,6 +135,7 @@ describe('configs', function() { 'no-propagate-all-parent-variables' : [ 'error', { version: '8.0' } ], 'no-task-schedule': [ 'error', { version: '8.0' } ], 'no-zeebe-properties': [ 'error', { version: '8.0' } ], + 'secrets': [ 'info', { version: '8.0' } ], 'sequence-flow-condition': [ 'error', { version: '8.0' } ], 'subscription': [ 'error', { version: '8.0' } ], 'start-form': [ 'error', { version: '8.0' } ], @@ -162,6 +163,7 @@ describe('configs', function() { 'no-multiple-none-start-events' : [ 'error', { version: '8.1' } ], 'no-propagate-all-parent-variables' : [ 'error', { version: '8.1' } ], 'no-task-schedule': [ 'error', { version: '8.1' } ], + 'secrets': [ 'info', { version: '8.1' } ], 'sequence-flow-condition': [ 'error', { version: '8.1' } ], 'subscription': [ 'error', { version: '8.1' } ], 'start-form': [ 'error', { version: '8.1' } ], @@ -190,6 +192,7 @@ describe('configs', function() { 'no-loop': [ 'error', { version: '8.2' } ], 'no-multiple-none-start-events' : [ 'error', { version: '8.2' } ], 'no-signal-event-sub-process': [ 'error', { version: '8.2' } ], + 'secrets': [ 'info', { version: '8.2' } ], 'sequence-flow-condition': [ 'error', { version: '8.2' } ], 'subscription': [ 'error', { version: '8.2' } ], 'start-form': [ 'error', { version: '8.2' } ], @@ -219,6 +222,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': [ 'info', { version: '8.3' } ], 'sequence-flow-condition': [ 'error', { version: '8.3' } ], 'signal-reference': [ 'error', { version: '8.3' } ], 'subscription': [ 'error', { version: '8.3' } ],