Skip to content

config

Configures the Sonar scan executor

Example

Terminal window
npx nx g @koliveira15/nx-sonarqube:config

Options

hostUrl

Required

Type: string

Sonar server URL

name

Required

Type: string

Name of the Nx project to configure with the Sonar executor

projectKey

Required

Type: string

The project’s unique key. Allowed characters are: letters, numbers, -, _, . and :, with at least one non-digit.

skipTargetDefaults

Type: boolean

Skip adding test targetDefaults to nx.json