You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've developed rules that use the file-not-contents rule, specifically the contents field of the rule. This feature does not exist in the the current version (0.11.2) released to NPM but the feature exists in the current code in this repository. The ask is to cut a new version of Repolinter.
Steps to Reproduce the Issue
Install the module from NPM and attempt to use the contents field of a rule instead of content.
$ npm install repolinter
$ repolinter -r policy-below.json
Configuration validation failed with errors:
configuration.rules['rule-name'].rule.options should have required property 'content'
You can test using this rule set. The linter should run successfully, not generate the error above, and, if there are any Altavista email addresses in your code, generate a finding.
Issue Report
I've developed rules that use the
file-not-contents
rule, specifically thecontents
field of the rule. This feature does not exist in the the current version (0.11.2) released to NPM but the feature exists in the current code in this repository. The ask is to cut a new version of Repolinter.Steps to Reproduce the Issue
Install the module from NPM and attempt to use the
contents
field of a rule instead ofcontent
.You can test using this rule set. The linter should run successfully, not generate the error above, and, if there are any Altavista email addresses in your code, generate a finding.
The text was updated successfully, but these errors were encountered: