Skip to content
Open
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: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
2 changes: 1 addition & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
2 changes: 1 addition & 1 deletion linters/javascript_es/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
2 changes: 1 addition & 1 deletion linters/tsx_eslint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ARG NPM_ESLINT_VERSION=10.7.0
# renovate: datasource=npm depName=eslint-config-prettier
ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-prettier
ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.6
# renovate: datasource=npm depName=@eslint-react/eslint-plugin
Expand Down
2 changes: 1 addition & 1 deletion linters/typescript_es/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
# renovate: datasource=npm depName=eslint-plugin-import-x
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
# renovate: datasource=npm depName=eslint-plugin-prettier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

### ESLint v10 — resolving bare imports from `eslint.config.mjs`

ESLint v10 dropped support for the legacy `.eslintrc.*` format and only loads the new flat config (`eslint.config.*`). When MegaLinter runs ESLint from its own container install (`/node-deps/node_modules`) instead of your project's local `node_modules`, Node's ESM resolver may fail to locate bare imports such as `import js from '@eslint/js'` (upstream limitation tracked in [eslint/eslint#18465](https://github.com/eslint/eslint/issues/18465)), producing errors like:

Check warning on line 54 in megalinter/descriptors/javascript.megalinter-descriptor.yml

View workflow job for this annotation

GitHub Actions / Test MegaLinter runner

line too long (475 > 300 characters)

Check warning on line 54 in megalinter/descriptors/javascript.megalinter-descriptor.yml

View workflow job for this annotation

GitHub Actions / mega-linter-runner tests - DEV

line too long (475 > 300 characters)

```text
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@eslint/js' imported from /github/workspace/eslint.config.mjs
Expand Down Expand Up @@ -219,7 +219,7 @@
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
- |-
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
- |-
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
Expand Down Expand Up @@ -345,7 +345,7 @@
# PRETTIER
- linter_name: prettier
linter_text: |
**Prettier** is the industry-leading opinionated code formatter that brings consistency to JavaScript and many other languages by automatically reformatting code according to proven formatting principles. It eliminates formatting debates and ensures uniform code style across entire development teams.

Check warning on line 348 in megalinter/descriptors/javascript.megalinter-descriptor.yml

View workflow job for this annotation

GitHub Actions / Test MegaLinter runner

line too long (307 > 300 characters)

Check warning on line 348 in megalinter/descriptors/javascript.megalinter-descriptor.yml

View workflow job for this annotation

GitHub Actions / mega-linter-runner tests - DEV

line too long (307 > 300 characters)

**Key Features:**

Expand Down
2 changes: 1 addition & 1 deletion megalinter/descriptors/tsx.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ linters:
ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8
- |-
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
- |-
# renovate: datasource=npm depName=eslint-plugin-prettier
ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ linters:
ARG NPM_ESLINT_PLUGIN_IMPORT_X_VERSION=4.17.1
- |-
# renovate: datasource=npm depName=eslint-plugin-jest
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.4
ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.5
- |-
# renovate: datasource=npm depName=eslint-plugin-n
ARG NPM_ESLINT_PLUGIN_N_VERSION=18.2.2
Expand Down
Loading