benchpress/bicepconfig.json

85 строки
1.9 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

{
"analyzers": {
Mega Linter Migration (#127) * Initial megalinter setup * Add some configs for various linters * Use dotnet flavor to improve runtime performance * Exclude bicep directory using regex * Add more configurations and resolve markdown table formatter * Fix regex exclude * Resolve bicep linting and ignore bicep submodule for jscpd * Remove dotnet restore from workflow so that it can be moved into megalinter commands * Add more linter configs and resolve linting issues * Resolve prettier linter and rename scripanalyzer config * Resolve additional linting issues and move config files into config folder * Resolve more yaml lint issues * Ignore cspell * Remove script analyzer config since only default settings are needed * Resolve some powershell linting issues * Correct suppression on template generated by Generator code * Resolve powershell linting issues * Add vscode as ignored for jsonlint * Disable dotnet format in favor of csharpier and because of bug * Resolve csharpier issues * Remove pesky file * Reintroduce pesky file * Resolve some actions linting * Remove cspell config and resolve more action linter * Add powershell script analyzer config for BOM encoding * Reformat psscriptanalyzer config * Remove psscriptanalyzer config because there is a bug with megalinter * Resolve last action lint issue * Remove linting steps from pr files since it will be handled by pr mega linter file * Cleanup comments * Exclude the one bicep file instead of suppressing rule * Disable actionlint for now * Cleanup comments per PR feedback
2023-01-28 00:20:36 +03:00
"core": {
"enabled": true,
"rules": {
"adminusername-should-not-be-literal": {
"level": "error"
},
"artifacts-parameters": {
"level": "error"
},
"max-outputs": {
"level": "error"
},
"max-params": {
"level": "error"
},
"max-resources": {
"level": "error"
},
"max-variables": {
"level": "error"
},
"no-hardcoded-env-urls": {
"level": "error"
},
"no-hardcoded-location": {
"level": "error"
},
"no-loc-expr-outside-params": {
"level": "error"
},
"no-unnecessary-dependson": {
"level": "error"
},
"no-unused-existing-resources": {
"level": "error"
},
"no-unused-params": {
"level": "error"
},
"no-unused-vars": {
"level": "error"
},
"outputs-should-not-contain-secrets": {
"level": "error"
},
"prefer-interpolation": {
"level": "error"
},
"prefer-unquoted-property-names": {
"level": "error"
},
"protect-commandtoexecute-secrets": {
"level": "error"
},
"secure-parameter-default": {
"level": "error"
},
"secure-params-in-nested-deploy": {
"level": "error"
},
"secure-secrets-in-params": {
"level": "error"
},
"simplify-interpolation": {
"level": "error"
},
"use-recent-api-versions": {
"level": "error"
},
"use-resource-id-functions": {
"level": "error"
},
"use-stable-resource-identifiers": {
"level": "error"
},
"use-stable-vm-image": {
"level": "error"
}
}
Mega Linter Migration (#127) * Initial megalinter setup * Add some configs for various linters * Use dotnet flavor to improve runtime performance * Exclude bicep directory using regex * Add more configurations and resolve markdown table formatter * Fix regex exclude * Resolve bicep linting and ignore bicep submodule for jscpd * Remove dotnet restore from workflow so that it can be moved into megalinter commands * Add more linter configs and resolve linting issues * Resolve prettier linter and rename scripanalyzer config * Resolve additional linting issues and move config files into config folder * Resolve more yaml lint issues * Ignore cspell * Remove script analyzer config since only default settings are needed * Resolve some powershell linting issues * Correct suppression on template generated by Generator code * Resolve powershell linting issues * Add vscode as ignored for jsonlint * Disable dotnet format in favor of csharpier and because of bug * Resolve csharpier issues * Remove pesky file * Reintroduce pesky file * Resolve some actions linting * Remove cspell config and resolve more action linter * Add powershell script analyzer config for BOM encoding * Reformat psscriptanalyzer config * Remove psscriptanalyzer config because there is a bug with megalinter * Resolve last action lint issue * Remove linting steps from pr files since it will be handled by pr mega linter file * Cleanup comments * Exclude the one bicep file instead of suppressing rule * Disable actionlint for now * Cleanup comments per PR feedback
2023-01-28 00:20:36 +03:00
}
}
}