Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.26 KB

jsonlint.md

File metadata and controls

61 lines (38 loc) · 1.26 KB

Configuration for jsonlint

Supported environments/languages

  • json

Configuration

var purpose type default
SCA_BLOCKLIST_jsonlint Blacklist filter for this tool space-separated-list ""
SCA_JSONLINT_EXTRA_FATAL Extra error-IDs leading to build termination when found space-separated-list ""
SCA_JSONLINT_FILE_FILTER List of file-extensions to be checked space-separated-list ".json"

Supports

  • suppression of IDs
  • terminate build on fatal
  • run on recipe
  • run on image
  • available in SDK
  • run with SCA-layer default settings (see SCA_AVAILABLE_MODULES)

Requires

  • requires online access

Known error-IDs

  • jsonlint.jsonlint.parsererror - Json is not parsable

Checking scope

  • security
  • functional defects
  • compliance
  • style issues

Statistics

  • ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 10/10 Build Speed
  • ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 10/10 Execution Speed
  • ⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜ 05/10 Quality

Score mapping

Error considered as security relevant

  • n.a.

Error considered as functional defect

  • jsonlint.jsonlint.*

Error consired as compliance issue

  • n.a.

Error considered as style issue

  • n.a.