Skip to content

Commit

Permalink
Merge branch 'fixes/stylelint' into github-unique-marker
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Dec 9, 2023
2 parents 1057be3 + 25abd09 commit 250f97c
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image

- Core
- Update base java apk package to openjdk 17 by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3160
- Update dotnet linters to .NET 7 by @bdovaz in https://github.com/oxsecurity/megalinter/pull/2402
- Update base java apk package to openjdk 17 by @nvuillam in <https://github.com/oxsecurity/megalinter/pull/3160>
- Update dotnet linters to .NET 7 by @bdovaz in <https://github.com/oxsecurity/megalinter/pull/2402>

- Media
- [Try using MegaLinter (article in japanese)](https://future-architect.github.io/articles/20231129a/?s=03) by [Takashi Minayaga](https://future-architect.github.io/authors/%E5%AE%AE%E6%B0%B8%E5%B4%87%E5%8F%B2)

- New linters
- Add [clang-format](https://releases.llvm.org/16.0.0/tools/clang/docs/ClangFormat.html) c & cpp formatting linter including "apply fix" support
- Add [Roslynator](https://github.com/dotnet/roslynator) C# linter by @bdovaz in https://github.com/oxsecurity/megalinter/pull/3155
- Add [Roslynator](https://github.com/dotnet/roslynator) C# linter by @bdovaz in <https://github.com/oxsecurity/megalinter/pull/3155>

- Fixes
- Call jscpd with `--gitignore` to ignore copy-pastes in files matching `.gitignore`
- cpplint: Dynamically add the list of extensions from list of files in --extensions parameter
- Fix mkdocs generation + CI control job by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3135
- Add semgrep ruleset to validation schema by @wesley-dean-flexion in https://github.com/oxsecurity/megalinter/pull/3164
- Fix mkdocs generation + CI control job by @nvuillam in <https://github.com/oxsecurity/megalinter/pull/3135>
- Add semgrep ruleset to validation schema by @wesley-dean-flexion in <https://github.com/oxsecurity/megalinter/pull/3164>
- Downgrade stylelint to avoid crash with not v16 compliant dependencies
- Add default workspace to GitHub message marker

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
@coffeelint/cli \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
gherkin-lint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
typescript \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
gherkin-lint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
@coffeelint/cli \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
gherkin-lint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
@coffeelint/cli \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
@salesforce/cli \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
jscpd \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss \
graphql \
Expand Down
2 changes: 1 addition & 1 deletion linters/css_stylelint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
[email protected] \
stylelint-config-standard \
stylelint-config-standard@34.0.0 \
stylelint-config-sass-guidelines \
stylelint-scss && \
echo "Cleaning npm cache…" \
Expand Down
2 changes: 1 addition & 1 deletion megalinter/descriptors/css.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ linters:
install:
npm:
- [email protected]
- stylelint-config-standard
- stylelint-config-standard@34.0.0
- stylelint-config-sass-guidelines
- stylelint-scss
ide:
Expand Down

0 comments on commit 250f97c

Please sign in to comment.