EndemolShineGroup/generator-codebuild

View on GitHub

Showing 1 of 1 total issue

Function generateIamPolicy has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const generateIamPolicy = (projectName: string) => {
  // tslint:disable:object-literal-sort-keys
  return new IAM.Policy({
    PolicyName: 'CodeBuildServicePolicy',
    PolicyDocument: {
Severity: Minor
Found in src/lib/createCloudFormationTemplate.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language