breaking: support use of codacy api token - PLUTO-1379 #58
Your pull request is up to standards!
Codacy found no issues in your code
Annotations
Check notice on line 23 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L23
exported type InitFlags should have comment or be unexported
Check warning on line 52 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L52
Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege.
Check warning on line 52 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L52
The application was found setting directory permissions to overly permissive values.
Check warning on line 259 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L259
Method createToolFileConfigurations has 52 lines of code (limit is 50)
Check failure on line 259 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L259
Method createToolFileConfigurations has a cyclomatic complexity of 14 (limit is 10)
Check notice on line 354 in cmd/init.go
codacy-production / Codacy Static Code Analysis
cmd/init.go#L354
exported const ESLint should have comment (or a comment on this block) or be unexported
Check notice on line 3 in domain/patternConfiguration.go
codacy-production / Codacy Static Code Analysis
domain/patternConfiguration.go#L3
exported type ParameterConfiguration should have comment or be unexported
Check notice on line 8 in domain/patternConfiguration.go
codacy-production / Codacy Static Code Analysis
domain/patternConfiguration.go#L8
exported type PatternDefinition should have comment or be unexported
Check notice on line 9 in domain/patternConfiguration.go
codacy-production / Codacy Static Code Analysis
domain/patternConfiguration.go#L9
struct field Id should be ID
Check notice on line 12 in domain/patternConfiguration.go
codacy-production / Codacy Static Code Analysis
domain/patternConfiguration.go#L12
exported type PatternConfiguration should have comment or be unexported
Check failure on line 22 in tools/eslintConfigCreator.go
codacy-production / Codacy Static Code Analysis
tools/eslintConfigCreator.go#L22
Method CreateEslintConfig has a cyclomatic complexity of 11 (limit is 10)
Check notice on line 22 in tools/eslintConfigCreator.go
codacy-production / Codacy Static Code Analysis
tools/eslintConfigCreator.go#L22
exported function CreateEslintConfig should have comment or be unexported
Check warning on line 14 in tools/getTools.go
codacy-production / Codacy Static Code Analysis
tools/getTools.go#L14
Method enrichToolsWithVersion has a cyclomatic complexity of 9 (limit is 7)
Check warning on line 63 in tools/getTools.go
codacy-production / Codacy Static Code Analysis
tools/getTools.go#L63
Method GetRepositoryTools has a cyclomatic complexity of 9 (limit is 7)
Check notice on line 63 in tools/getTools.go
codacy-production / Codacy Static Code Analysis
tools/getTools.go#L63
exported function GetRepositoryTools should have comment or be unexported
Check warning on line 175 in tools/pmdConfigCreator.go
codacy-production / Codacy Static Code Analysis
tools/pmdConfigCreator.go#L175
Method CreatePmdConfig has a cyclomatic complexity of 10 (limit is 7)
Check warning on line 10 in tools/trivyConfigCreator.go
codacy-production / Codacy Static Code Analysis
tools/trivyConfigCreator.go#L10
Method CreateTrivyConfig has 57 lines of code (limit is 50)
Check failure on line 10 in tools/trivyConfigCreator.go
codacy-production / Codacy Static Code Analysis
tools/trivyConfigCreator.go#L10
Method CreateTrivyConfig has a cyclomatic complexity of 16 (limit is 10)