Skip to content

Commit

Permalink
Undowngrade stylelint-config-sass-guidelines (#3260)
Browse files Browse the repository at this point in the history
* Remove sass packages downgrades

* [build-command] Update generated files

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
echoix and github-actions[bot] authored Jan 1, 2024
1 parent 2704ff9 commit 6872be3
Show file tree
Hide file tree
Showing 19 changed files with 55 additions and 56 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- Fixes
- tekton-lint is now published as @ibm/tekton-lint, by @echoix in [#3210](https://github.com/oxsecurity/megalinter/pull/3210)
- PHP PHIVE: Use keys.openpgp.org and fingerprint for phive key verification, by @echoix in [#3230](https://github.com/oxsecurity/megalinter/pull/3230)
- Undowngrade sass linters, by @echoix in [#3260](https://github.com/oxsecurity/megalinter/pull/3260)

- Doc
- Upgrade url to [PHP CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer), as now the original repo is not maintained anymore.
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
typescript \
@coffeelint/cli \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
gherkin-lint \
graphql \
graphql-schema-linter \
Expand Down
6 changes: 3 additions & 3 deletions flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
typescript \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
gherkin-lint \
graphql \
graphql-schema-linter \
Expand Down
6 changes: 3 additions & 3 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
typescript \
@coffeelint/cli \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
gherkin-lint \
graphql \
graphql-schema-linter \
Expand Down
6 changes: 3 additions & 3 deletions flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
typescript \
@coffeelint/cli \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
@salesforce/cli \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 \
stylelint-scss \
graphql \
graphql-schema-linter \
npm-groovy-lint \
Expand Down
6 changes: 3 additions & 3 deletions linters/css_stylelint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
#NPM__START
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
stylelint@15.11.0 \
stylelint-config-standard@34.0.0 \
stylelint \
stylelint-config-standard \
stylelint-config-sass-guidelines \
stylelint-scss@5.3.2 && \
stylelint-scss && \
echo "Cleaning npm cache…" \
&& npm cache clean --force || true \
&& echo "Changing owner of node_modules files…" \
Expand Down
8 changes: 3 additions & 5 deletions megalinter/descriptors/css.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ linters:
- "stylelint myfile.css"
- "stylelint --config .stylelintrc.json myfile.css myfile2.css myfile3.css"
- "stylelint --fix --config .stylelintrc.json myfile.css myfile2.css myfile3.css"
downgraded_version: true
downgraded_reason: Dependencies not compliant yet with stylelint 16, we'll upgrade when they are ready :)
install:
npm:
- stylelint@15.11.0
- stylelint-config-standard@34.0.0
- stylelint
- stylelint-config-standard
- stylelint-config-sass-guidelines
- stylelint-scss@5.3.2
- stylelint-scss
ide:
atom:
- name: linter-stylelint
Expand Down

0 comments on commit 6872be3

Please sign in to comment.