Skip to content

Instantly share code, notes, and snippets.

@azu
Created February 12, 2020 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azu/4493802d94c253aa2f932daf41ba1495 to your computer and use it in GitHub Desktop.
Save azu/4493802d94c253aa2f932daf41ba1495 to your computer and use it in GitHub Desktop.
type SecretLintConfigDescriptorRule = {
id: string,
options?: {},
disabled?: boolean,
};
type SecretLintConfigDescriptorRulePreset = {
id: string,
options?: {},
disabled?: boolean,
};
/**
* An abstraction for config file
*/
type SecretLintConfigDescriptor = {
rules: (SecretLintConfigDescriptorRule | SecretLintConfigDescriptorRulePreset)[];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment