The application is installed in /app/ and base the following components
If you don’t have a stylelint config already, it is advised to add a config, add a file names .stylelintrc.json
with the following content
{
"extends": "stylelint-config-standard-scss"
}
Style lint is a bit problematic and a wrapper script tries to work around this. If you want to use your own stylelint config packages, set CONFIG_BASEDIR to the directory where node_modules is located
stylelint:
stage: linting
image: registry.gitlab.com/pipeline-components/stylelint:latest
script:
- stylelint --color '**/*.css'