diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2021-04-28 16:26:39 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2021-04-28 16:26:39 +0300 |
commit | ef7b85be61fe7109f9416f4b50bcc94a3ea3e56e (patch) | |
tree | 6ba7f7fb4119da31961b9ada2f29afc911cfb494 | |
parent | 224759b7e8572a625515ef8091cf4262f4c587ca (diff) | |
parent | 1dadac6025606af94e3ae388330e96d7c40f43f3 (diff) |
Merge branch 'stylelint-folder-hotfix' into 'master'
Limit stylelint path
See merge request gitlab-org/gitlab-docs!1754
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88f7c2b0..5fd5308d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -290,7 +290,7 @@ stylelint: # Remove the first three lines so the frontmatter doesn't # cause SCSS Lint to throw errors. Also remove ERB code. - sed -i -E '1,3d;s/<%= .* %>//g' content/assets/stylesheets/*.scss - - yarn run stylelint **/*.scss + - yarn run stylelint content/assets/stylesheets/*.scss # # Yamllint of *.yml for .gitlab-ci.yml. |