2020-06-22 10:12:28 +02:00
|
|
|
metadata:
|
|
|
|
name: npmExecuteLint
|
|
|
|
aliases:
|
|
|
|
- name: executeNpm
|
|
|
|
description: Execute ci-lint script on all npm packages in a project or execute default linting
|
|
|
|
longDescription: |
|
|
|
|
Execute ci-lint script for all package json files, if they implement the script. If no ci-lint script is defined,
|
|
|
|
either use ESLint configurations present in the project or use the provided general purpose configuration to run ESLint.
|
|
|
|
spec:
|
|
|
|
inputs:
|
|
|
|
params:
|
|
|
|
- name: failOnError
|
|
|
|
type: bool
|
|
|
|
description: Defines the behavior in case linting errors are found.
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
default: false
|
|
|
|
- name: defaultNpmRegistry
|
|
|
|
type: string
|
|
|
|
description: URL of the npm registry to use. Defaults to https://registry.npmjs.org/
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- GENERAL
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
aliases:
|
|
|
|
- name: npm/defaultNpmRegistry
|
|
|
|
containers:
|
|
|
|
- name: node
|
2020-10-28 19:07:40 +02:00
|
|
|
image: node:12-buster
|