Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,7 @@
"multline",
"Musavi",
"musl",
"musllinux",
"mvdan",
"mycompany",
"mydebugpipe",
Expand Down Expand Up @@ -1271,6 +1272,7 @@
"pycache",
"pychalk",
"pycharm",
"pybind",
"pycodestyle",
"pydantic",
"pydocstyle",
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -506,6 +506,9 @@ RUN apk -U --no-cache upgrade \
R \
R-dev \
R-doc \
build-base \
re2-dev \
py3-pybind11-dev \
unzip \
npm \
nodejs-current \
Expand Down
5 changes: 4 additions & 1 deletion flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -257,6 +257,9 @@ RUN apk -U --no-cache upgrade \
cmd:clang-format \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ ARG GEM_RUBOCOP_RSPEC_VERSION=3.10.2
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -391,6 +391,9 @@ RUN apk -U --no-cache upgrade \
cppcheck \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
unzip \
libxml2-dev \
libxml2-utils \
Expand Down
5 changes: 4 additions & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -253,6 +253,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -281,6 +281,9 @@ RUN apk -U --no-cache upgrade \
cppcheck \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -317,6 +317,9 @@ RUN apk -U --no-cache upgrade \
cppcheck \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -269,6 +269,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -265,6 +265,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -293,6 +293,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -282,6 +282,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -286,6 +286,9 @@ RUN apk -U --no-cache upgrade \
cppcheck \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -265,6 +265,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -255,6 +255,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -266,6 +266,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -255,6 +255,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
unzip \
libxml2-dev \
libxml2-utils \
Expand Down
5 changes: 4 additions & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ ARG PIP_SNAKEFMT_VERSION=2.0.3
# renovate: datasource=npm depName=cspell
ARG NPM_CSPELL_VERSION=10.0.1
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=codespell
ARG PIP_CODESPELL_VERSION=2.4.2
# renovate: datasource=pypi depName=sqlfluff
Expand Down Expand Up @@ -263,6 +263,9 @@ RUN apk -U --no-cache upgrade \
py3-pyflakes \
openjdk17 \
helm \
build-base \
re2-dev \
py3-pybind11-dev \
libxml2-dev \
libxml2-utils \
libgcc \
Expand Down
5 changes: 4 additions & 1 deletion linters/spell_proselint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \
ARG TARGETPLATFORM
ARG TARGETARCH
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0
# renovate: datasource=pypi depName=pip
ARG PIP_PIP_VERSION=26.1.2
# renovate: datasource=pypi depName=virtualenv
Expand Down Expand Up @@ -87,6 +87,9 @@ RUN apk -U --no-cache upgrade \
musl-dev \
openssh \
su-exec \
build-base \
re2-dev \
py3-pybind11-dev \
&& git config --global core.autocrlf true
#APK__END

Expand Down
23 changes: 18 additions & 5 deletions megalinter/descriptors/spell.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ linters:
- ".md"
- ".txt"
active_only_if_file_found:
- .proselintrc
- .proselintrc.json
- proselint/config.json
linter_text: |
**proselint** is a powerful linter for English prose that places the world's greatest writers and editors by your side, offering intelligent suggestions to improve your writing quality and style.
Expand All @@ -89,18 +89,31 @@ linters:
linter_rules_url: https://github.com/amperser/proselint#checks
linter_rules_configuration_url: https://github.com/amperser/proselint#checks
cli_config_arg_name: --config
config_file_name: .proselintrc
config_file_name: .proselintrc.json
cli_lint_mode: list_of_files
# proselint 0.16.0 moved linting under the `check` subcommand
# (`proselint check <files>`); the bare `proselint <files>` form was removed
cli_lint_extra_args:
- check
cli_lint_errors_count: regex_count
cli_lint_errors_regex: ":([0-9]+):([0-9]+): (.*)"
cli_version_arg_name: "-v"
# proselint 0.16.0 replaced `proselint -v` with the `version` subcommand
cli_version_arg_name: version
examples:
- "proselint --config .proselintrc myfile.md myfile2.txt myfile3.rst"
- "proselint check --config .proselintrc.json myfile.md myfile2.txt myfile3.rst"
install:
apk:
# proselint >=0.16.0 depends on google-re2, which has no musllinux
# wheel and must be compiled from source: needs a C++ toolchain
# (build-base), the system RE2 library headers (re2-dev, which also
# pulls abseil) and pybind11 headers (py3-pybind11-dev).
- build-base
- re2-dev
- py3-pybind11-dev
dockerfile:
- |-
# renovate: datasource=pypi depName=proselint
ARG PIP_PROSELINT_VERSION=0.14.0
ARG PIP_PROSELINT_VERSION=0.16.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proselint CLI breaking changes not addressed in configuration

High Severity

Upgrading proselint to 0.16.0 introduces breaking CLI changes that aren't addressed. The new version requires proselint check <files> instead of proselint <files> for linting, and proselint version instead of proselint -v for version checks. The descriptor still uses cli_version_arg_name: "-v" and lacks the required check subcommand, causing both version detection and linting to fail completely. The configuration needs cli_lint_extra_args: ["check"] and updated version handling.

Additional Locations (1)

Fix in CursorΒ Fix in Web

pip:
- proselint==${PIP_PROSELINT_VERSION}
supported_platforms:
Expand Down
Loading