diff --git a/.automation/generated/linters_matrix.json b/.automation/generated/linters_matrix.json index c4bb6a94fa7..7cfe77722fd 100644 --- a/.automation/generated/linters_matrix.json +++ b/.automation/generated/linters_matrix.json @@ -42,7 +42,6 @@ "json_v8r", "json_prettier", "json_npm_package_json_lint", - "jsx_eslint", "kotlin_ktlint", "kotlin_detekt", "kubernetes_kubeconform", @@ -118,7 +117,6 @@ "terraform_terrascan", "terraform_terragrunt", "terraform_terraform_fmt", - "tsx_eslint", "typescript_es", "typescript_standard", "typescript_prettier", diff --git a/Dockerfile b/Dockerfile index 306ab10af05..cfe79ca87dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -198,17 +198,11 @@ ARG JAVA_CHECKSTYLE_VERSION=12.1.0 ARG PMD_VERSION=7.21.0 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=9.39.2 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 -# renovate: datasource=npm depName=eslint-config-standard -ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest -ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 # renovate: datasource=npm depName=eslint-plugin-prettier @@ -216,11 +210,9 @@ ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 # renovate: datasource=npm depName=eslint-plugin-vue -ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 +ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 # renovate: datasource=npm depName=standard @@ -235,10 +227,6 @@ ARG NPM_V8R_VERSION=5.1.0 ARG NPM_PACKAGE_JSON_LINT_VERSION=9.1.0 # renovate: datasource=npm depName=npm-package-json-lint-config-default ARG NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION=8.0.1 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=eslint-plugin-jsx-a11y -ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 # renovate: datasource=github-tags depName=pinterest/ktlint ARG KTLINT_VERSION=1.8.0 @@ -372,6 +360,12 @@ ARG PIP_SQLFLUFF_VERSION=4.0.4 ARG SQL_TSQLLINT_VERSION=1.16.0 # renovate: datasource=npm depName=@ibm/tekton-lint ARG NPM_IBM_TEKTON_LINT_VERSION=1.1.0 +# renovate: datasource=npm depName=eslint +ARG NPM_ESLINT_VERSION=10.0.1 +# renovate: datasource=npm depName=eslint-config-standard +ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 +# renovate: datasource=npm depName=eslint-plugin-jest +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 # renovate: datasource=npm depName=prettyjson ARG NPM_PRETTYJSON_VERSION=1.2.5 # renovate: datasource=npm depName=@typescript-eslint/eslint-plugin @@ -627,17 +621,13 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-groovy-lint@${NPM_GROOVY_LINT_VERSION} \ htmlhint@${NPM_HTMLHINT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} \ @babel/core@${NPM_BABEL_CORE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} \ standard@${NPM_STANDARD_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ @@ -645,8 +635,6 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r@${NPM_V8R_VERSION} \ npm-package-json-lint@${NPM_PACKAGE_JSON_LINT_VERSION} \ npm-package-json-lint-config-default@${NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} \ markdownlint-cli@${NPM_MARKDOWNLINT_CLI_VERSION} \ markdown-table-formatter@${NPM_MARKDOWN_TABLE_FORMATTER_VERSION} \ pyright@${NPM_PYRIGHT_VERSION} \ @@ -656,6 +644,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ @secretlint/secretlint-formatter-sarif@${NPM_SECRETLINT_SECRETLINT_FORMATTER_SARIF_VERSION} \ cspell@${NPM_CSPELL_VERSION} \ @ibm/tekton-lint@${NPM_IBM_TEKTON_LINT_VERSION} \ + eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ @typescript-eslint/parser@${NPM_TYPESCRIPT_ESLINT_PARSER_VERSION} \ @@ -1047,8 +1036,6 @@ RUN curl --retry 5 --retry-delay 5 -sSL \ # # npm-package-json-lint installation # -# eslint installation -# # ktlint installation && curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/releases/download/${KTLINT_VERSION}/ktlint && \ chmod a+x ktlint && \ @@ -1305,8 +1292,6 @@ ENV SWIFT_SWIFTLINT_VERSION=0.63.2 # # eslint installation # -# eslint installation -# # ts-standard installation # # prettier installation diff --git a/flavors/cupcake/Dockerfile b/flavors/cupcake/Dockerfile index fcc2338b439..4eb5eea37c8 100644 --- a/flavors/cupcake/Dockerfile +++ b/flavors/cupcake/Dockerfile @@ -153,17 +153,11 @@ ARG JAVA_CHECKSTYLE_VERSION=12.1.0 ARG PMD_VERSION=7.21.0 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=9.39.2 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 -# renovate: datasource=npm depName=eslint-config-standard -ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest -ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 # renovate: datasource=npm depName=eslint-plugin-prettier @@ -171,11 +165,9 @@ ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 # renovate: datasource=npm depName=eslint-plugin-vue -ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 +ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 # renovate: datasource=npm depName=standard @@ -190,10 +182,6 @@ ARG NPM_V8R_VERSION=5.1.0 ARG NPM_PACKAGE_JSON_LINT_VERSION=9.1.0 # renovate: datasource=npm depName=npm-package-json-lint-config-default ARG NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION=8.0.1 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=eslint-plugin-jsx-a11y -ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 # renovate: datasource=github-tags depName=pinterest/ktlint ARG KTLINT_VERSION=1.8.0 @@ -292,6 +280,12 @@ ARG PIP_PROSELINT_VERSION=0.14.0 ARG PIP_CODESPELL_VERSION=2.4.1 # renovate: datasource=pypi depName=sqlfluff ARG PIP_SQLFLUFF_VERSION=4.0.4 +# renovate: datasource=npm depName=eslint +ARG NPM_ESLINT_VERSION=10.0.1 +# renovate: datasource=npm depName=eslint-config-standard +ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 +# renovate: datasource=npm depName=eslint-plugin-jest +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 # renovate: datasource=npm depName=prettyjson ARG NPM_PRETTYJSON_VERSION=1.2.5 # renovate: datasource=npm depName=@typescript-eslint/eslint-plugin @@ -518,17 +512,13 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-groovy-lint@${NPM_GROOVY_LINT_VERSION} \ htmlhint@${NPM_HTMLHINT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} \ @babel/core@${NPM_BABEL_CORE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} \ standard@${NPM_STANDARD_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ @@ -536,8 +526,6 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r@${NPM_V8R_VERSION} \ npm-package-json-lint@${NPM_PACKAGE_JSON_LINT_VERSION} \ npm-package-json-lint-config-default@${NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} \ markdownlint-cli@${NPM_MARKDOWNLINT_CLI_VERSION} \ markdown-table-formatter@${NPM_MARKDOWN_TABLE_FORMATTER_VERSION} \ pyright@${NPM_PYRIGHT_VERSION} \ @@ -546,6 +534,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ @secretlint/secretlint-rule-preset-recommend@${NPM_SECRETLINT_SECRETLINT_RULE_PRESET_RECOMMEND_VERSION} \ @secretlint/secretlint-formatter-sarif@${NPM_SECRETLINT_SECRETLINT_FORMATTER_SARIF_VERSION} \ cspell@${NPM_CSPELL_VERSION} \ + eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ @typescript-eslint/parser@${NPM_TYPESCRIPT_ESLINT_PARSER_VERSION} \ @@ -769,8 +758,6 @@ RUN curl --retry 5 --retry-delay 5 -sSL \ # # npm-package-json-lint installation # -# eslint installation -# # ktlint installation && curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/releases/download/${KTLINT_VERSION}/ktlint && \ chmod a+x ktlint && \ @@ -910,8 +897,6 @@ ENV SWIFT_SWIFTLINT_VERSION=0.63.2 # # eslint installation # -# eslint installation -# # ts-standard installation # # prettier installation diff --git a/flavors/cupcake/flavor.json b/flavors/cupcake/flavor.json index 1f3a598beae..d1fab2a0c36 100644 --- a/flavors/cupcake/flavor.json +++ b/flavors/cupcake/flavor.json @@ -42,7 +42,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -93,7 +92,6 @@ "TERRAFORM_TERRASCAN", "TERRAFORM_TERRAGRUNT", "TERRAFORM_TERRAFORM_FMT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", diff --git a/flavors/dotnetweb/Dockerfile b/flavors/dotnetweb/Dockerfile index 28cbc9a1a3d..a6a1ef6dc62 100644 --- a/flavors/dotnetweb/Dockerfile +++ b/flavors/dotnetweb/Dockerfile @@ -147,17 +147,11 @@ ARG PIP_DJLINT_VERSION=1.36.4 # renovate: datasource=npm depName=htmlhint ARG NPM_HTMLHINT_VERSION=1.9.1 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=9.39.2 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 -# renovate: datasource=npm depName=eslint-config-standard -ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest -ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 # renovate: datasource=npm depName=eslint-plugin-prettier @@ -165,11 +159,9 @@ ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 # renovate: datasource=npm depName=eslint-plugin-vue -ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 +ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 # renovate: datasource=npm depName=standard @@ -184,10 +176,6 @@ ARG NPM_V8R_VERSION=5.1.0 ARG NPM_PACKAGE_JSON_LINT_VERSION=9.1.0 # renovate: datasource=npm depName=npm-package-json-lint-config-default ARG NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION=8.0.1 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=eslint-plugin-jsx-a11y -ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 # renovate: datasource=github-tags depName=pinterest/ktlint ARG KTLINT_VERSION=1.8.0 @@ -241,6 +229,12 @@ ARG PIP_SQLFLUFF_VERSION=4.0.4 ARG SQL_TSQLLINT_VERSION=1.16.0 # renovate: datasource=npm depName=@ibm/tekton-lint ARG NPM_IBM_TEKTON_LINT_VERSION=1.1.0 +# renovate: datasource=npm depName=eslint +ARG NPM_ESLINT_VERSION=10.0.1 +# renovate: datasource=npm depName=eslint-config-standard +ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 +# renovate: datasource=npm depName=eslint-plugin-jest +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 # renovate: datasource=npm depName=prettyjson ARG NPM_PRETTYJSON_VERSION=1.2.5 # renovate: datasource=npm depName=@typescript-eslint/eslint-plugin @@ -413,17 +407,13 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-groovy-lint@${NPM_GROOVY_LINT_VERSION} \ htmlhint@${NPM_HTMLHINT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} \ @babel/core@${NPM_BABEL_CORE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} \ standard@${NPM_STANDARD_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ @@ -431,8 +421,6 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r@${NPM_V8R_VERSION} \ npm-package-json-lint@${NPM_PACKAGE_JSON_LINT_VERSION} \ npm-package-json-lint-config-default@${NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} \ markdownlint-cli@${NPM_MARKDOWNLINT_CLI_VERSION} \ markdown-table-formatter@${NPM_MARKDOWN_TABLE_FORMATTER_VERSION} \ @ls-lint/ls-lint@${NPM_LS_LINT_LS_LINT_VERSION} \ @@ -441,6 +429,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ @secretlint/secretlint-formatter-sarif@${NPM_SECRETLINT_SECRETLINT_FORMATTER_SARIF_VERSION} \ cspell@${NPM_CSPELL_VERSION} \ @ibm/tekton-lint@${NPM_IBM_TEKTON_LINT_VERSION} \ + eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ @typescript-eslint/parser@${NPM_TYPESCRIPT_ESLINT_PARSER_VERSION} \ @@ -639,8 +628,6 @@ ENV JAVA_HOME_17=/usr/lib/jvm/java-17-openjdk # # npm-package-json-lint installation # -# eslint installation -# # ktlint installation RUN curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/releases/download/${KTLINT_VERSION}/ktlint && \ chmod a+x ktlint && \ @@ -740,8 +727,6 @@ RUN curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/rel # # eslint installation # -# eslint installation -# # ts-standard installation # # prettier installation diff --git a/flavors/dotnetweb/flavor.json b/flavors/dotnetweb/flavor.json index 4c7b9006c88..322eac92ea4 100644 --- a/flavors/dotnetweb/flavor.json +++ b/flavors/dotnetweb/flavor.json @@ -43,7 +43,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -76,7 +75,6 @@ "SQL_SQLFLUFF", "SQL_TSQLLINT", "TEKTON_TEKTON_LINT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", diff --git a/flavors/javascript/Dockerfile b/flavors/javascript/Dockerfile index c5a6622dd59..1622e3c5820 100644 --- a/flavors/javascript/Dockerfile +++ b/flavors/javascript/Dockerfile @@ -124,17 +124,11 @@ ARG PIP_DJLINT_VERSION=1.36.4 # renovate: datasource=npm depName=htmlhint ARG NPM_HTMLHINT_VERSION=1.9.1 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=9.39.2 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 -# renovate: datasource=npm depName=eslint-config-standard -ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest -ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 # renovate: datasource=npm depName=eslint-plugin-prettier @@ -142,11 +136,9 @@ ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 # renovate: datasource=npm depName=eslint-plugin-vue -ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 +ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 # renovate: datasource=npm depName=standard @@ -161,10 +153,6 @@ ARG NPM_V8R_VERSION=5.1.0 ARG NPM_PACKAGE_JSON_LINT_VERSION=9.1.0 # renovate: datasource=npm depName=npm-package-json-lint-config-default ARG NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION=8.0.1 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=eslint-plugin-jsx-a11y -ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 # renovate: datasource=github-tags depName=pinterest/ktlint ARG KTLINT_VERSION=1.8.0 @@ -213,6 +201,12 @@ ARG PIP_CODESPELL_VERSION=2.4.1 ARG PIP_SQLFLUFF_VERSION=4.0.4 # renovate: datasource=npm depName=@ibm/tekton-lint ARG NPM_IBM_TEKTON_LINT_VERSION=1.1.0 +# renovate: datasource=npm depName=eslint +ARG NPM_ESLINT_VERSION=10.0.1 +# renovate: datasource=npm depName=eslint-config-standard +ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 +# renovate: datasource=npm depName=eslint-plugin-jest +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 # renovate: datasource=npm depName=prettyjson ARG NPM_PRETTYJSON_VERSION=1.2.5 # renovate: datasource=npm depName=@typescript-eslint/eslint-plugin @@ -379,17 +373,13 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ npm-groovy-lint@${NPM_GROOVY_LINT_VERSION} \ htmlhint@${NPM_HTMLHINT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} \ @babel/core@${NPM_BABEL_CORE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} \ standard@${NPM_STANDARD_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ @@ -397,8 +387,6 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ v8r@${NPM_V8R_VERSION} \ npm-package-json-lint@${NPM_PACKAGE_JSON_LINT_VERSION} \ npm-package-json-lint-config-default@${NPM_PACKAGE_JSON_LINT_CONFIG_DEFAULT_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} \ markdownlint-cli@${NPM_MARKDOWNLINT_CLI_VERSION} \ markdown-table-formatter@${NPM_MARKDOWN_TABLE_FORMATTER_VERSION} \ @ls-lint/ls-lint@${NPM_LS_LINT_LS_LINT_VERSION} \ @@ -407,6 +395,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ @secretlint/secretlint-formatter-sarif@${NPM_SECRETLINT_SECRETLINT_FORMATTER_SARIF_VERSION} \ cspell@${NPM_CSPELL_VERSION} \ @ibm/tekton-lint@${NPM_IBM_TEKTON_LINT_VERSION} \ + eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ @typescript-eslint/parser@${NPM_TYPESCRIPT_ESLINT_PARSER_VERSION} \ @@ -526,8 +515,6 @@ ENV JAVA_HOME_17=/usr/lib/jvm/java-17-openjdk # # npm-package-json-lint installation # -# eslint installation -# # ktlint installation RUN curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/releases/download/${KTLINT_VERSION}/ktlint && \ chmod a+x ktlint && \ @@ -608,8 +595,6 @@ RUN curl --retry 5 --retry-delay 5 -sSLO https://github.com/pinterest/ktlint/rel # # eslint installation # -# eslint installation -# # ts-standard installation # # prettier installation diff --git a/flavors/javascript/flavor.json b/flavors/javascript/flavor.json index 4364cbfa003..812c6cbb6b1 100644 --- a/flavors/javascript/flavor.json +++ b/flavors/javascript/flavor.json @@ -29,7 +29,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -59,7 +58,6 @@ "SPELL_CODESPELL", "SQL_SQLFLUFF", "TEKTON_TEKTON_LINT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", diff --git a/linters/javascript_es/Dockerfile b/linters/javascript_es/Dockerfile index 24de35bcd98..92e2785aff2 100644 --- a/linters/javascript_es/Dockerfile +++ b/linters/javascript_es/Dockerfile @@ -53,17 +53,11 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \ ############################################################################################# #ARG__START # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=9.39.2 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 -# renovate: datasource=npm depName=eslint-config-standard -ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest -ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 +ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 # renovate: datasource=npm depName=eslint-plugin-prettier @@ -71,11 +65,9 @@ ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 # renovate: datasource=npm depName=eslint-plugin-vue -ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 +ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 #ARG__END @@ -151,17 +143,13 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \ WORKDIR /node-deps RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} \ @babel/core@${NPM_BABEL_CORE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} && \ echo "Cleaning npm cache…" \ && (npm cache clean --force || true) \ diff --git a/linters/json_eslint_plugin_jsonc/Dockerfile b/linters/json_eslint_plugin_jsonc/Dockerfile index 607651dbfb2..fddd0c29223 100644 --- a/linters/json_eslint_plugin_jsonc/Dockerfile +++ b/linters/json_eslint_plugin_jsonc/Dockerfile @@ -53,7 +53,7 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \ ############################################################################################# #ARG__START # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 +ARG NPM_ESLINT_VERSION=10.0.1 # renovate: datasource=npm depName=eslint-plugin-jsonc ARG NPM_ESLINT_PLUGIN_JSONC_VERSION=2.21.1 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif diff --git a/linters/jsx_eslint/Dockerfile b/linters/jsx_eslint/Dockerfile index d91c5c7d25d..2ea4d0da5c9 100644 --- a/linters/jsx_eslint/Dockerfile +++ b/linters/jsx_eslint/Dockerfile @@ -53,11 +53,7 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \ ############################################################################################# #ARG__START # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=eslint-plugin-jsx-a11y -ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 +ARG NPM_ESLINT_VERSION=10.0.1 # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 #ARG__END @@ -133,8 +129,6 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \ WORKDIR /node-deps RUN npm --no-cache install --ignore-scripts --omit=dev \ eslint@${NPM_ESLINT_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} \ @microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION} && \ echo "Cleaning npm cache…" \ && (npm cache clean --force || true) \ diff --git a/linters/tsx_eslint/Dockerfile b/linters/tsx_eslint/Dockerfile index 247ae035465..f7d1c439dbf 100644 --- a/linters/tsx_eslint/Dockerfile +++ b/linters/tsx_eslint/Dockerfile @@ -55,19 +55,13 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \ # renovate: datasource=npm depName=typescript ARG NPM_TYPESCRIPT_VERSION=5.9.3 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=10.0.1 # 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.0 # renovate: datasource=npm depName=eslint-plugin-prettier ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 -# renovate: datasource=npm depName=eslint-plugin-react -ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=prettier ARG NPM_PRETTIER_VERSION=3.8.1 # renovate: datasource=npm depName=prettyjson @@ -152,12 +146,9 @@ WORKDIR /node-deps RUN npm --no-cache install --ignore-scripts --omit=dev \ typescript@${NPM_TYPESCRIPT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ diff --git a/linters/typescript_es/Dockerfile b/linters/typescript_es/Dockerfile index 478bad5a67e..6749401f479 100644 --- a/linters/typescript_es/Dockerfile +++ b/linters/typescript_es/Dockerfile @@ -55,15 +55,11 @@ RUN python -m pip install --no-cache-dir "wheel>=0.46.2" "setuptools>=75.8.0" \ # renovate: datasource=npm depName=typescript ARG NPM_TYPESCRIPT_VERSION=5.9.3 # renovate: datasource=npm depName=eslint -ARG NPM_ESLINT_VERSION=8.57.1 -# renovate: datasource=npm depName=eslint-config-airbnb -ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 +ARG NPM_ESLINT_VERSION=10.0.1 # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 # renovate: datasource=npm depName=eslint-config-standard ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 -# renovate: datasource=npm depName=eslint-plugin-import -ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 # renovate: datasource=npm depName=eslint-plugin-jest ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 # renovate: datasource=npm depName=eslint-plugin-n @@ -72,8 +68,6 @@ ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 -# renovate: datasource=npm depName=@babel/eslint-parser -ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 # renovate: datasource=npm depName=prettier ARG NPM_PRETTIER_VERSION=3.8.1 # renovate: datasource=npm depName=prettyjson @@ -158,15 +152,12 @@ WORKDIR /node-deps RUN npm --no-cache install --ignore-scripts --omit=dev \ typescript@${NPM_TYPESCRIPT_VERSION} \ eslint@${NPM_ESLINT_VERSION} \ - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} \ eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} \ eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} \ - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} \ eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} \ eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} \ eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} \ eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} \ - @babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION} \ prettier@${NPM_PRETTIER_VERSION} \ prettyjson@${NPM_PRETTYJSON_VERSION} \ @typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION} \ diff --git a/megalinter/descriptors/all_flavors.json b/megalinter/descriptors/all_flavors.json index f752c4b6fc7..47a54baee05 100644 --- a/megalinter/descriptors/all_flavors.json +++ b/megalinter/descriptors/all_flavors.json @@ -140,7 +140,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -191,7 +190,6 @@ "TERRAFORM_TERRASCAN", "TERRAFORM_TERRAGRUNT", "TERRAFORM_TERRAFORM_FMT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", @@ -385,7 +383,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -418,7 +415,6 @@ "SQL_SQLFLUFF", "SQL_TSQLLINT", "TEKTON_TEKTON_LINT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", @@ -621,7 +617,6 @@ "JSON_V8R", "JSON_PRETTIER", "JSON_NPM_PACKAGE_JSON_LINT", - "JSX_ESLINT", "KOTLIN_KTLINT", "KOTLIN_DETEKT", "KUBERNETES_KUBECONFORM", @@ -651,7 +646,6 @@ "SPELL_CODESPELL", "SQL_SQLFLUFF", "TEKTON_TEKTON_LINT", - "TSX_ESLINT", "TYPESCRIPT_ES", "TYPESCRIPT_STANDARD", "TYPESCRIPT_PRETTIER", diff --git a/megalinter/descriptors/javascript.megalinter-descriptor.yml b/megalinter/descriptors/javascript.megalinter-descriptor.yml index aeab13b57e9..b522736757a 100644 --- a/megalinter/descriptors/javascript.megalinter-descriptor.yml +++ b/megalinter/descriptors/javascript.megalinter-descriptor.yml @@ -10,8 +10,7 @@ file_extensions: - ".js" linters: # ESLINT - - class: EslintLinter - linter_name: eslint + - linter_name: eslint name: JAVASCRIPT_ES can_output_sarif: true linter_spdx_license: MIT @@ -41,7 +40,6 @@ linters: **Popular configurations:** - - **Airbnb Style Guide**: Industry-standard JavaScript style guide - **Standard**: Minimal, opinionated code style with no configuration - **Prettier Integration**: Seamless integration with Prettier for code formatting @@ -57,20 +55,11 @@ linters: linter_rules_ignore_config_url: https://eslint.org/docs/latest/use/configure/ignore#the-eslintignore-file linter_megalinter_ref_url: https://eslint.org/docs/latest/use/integrations#source-control active_only_if_file_found: - - ".eslintrc.json" - - ".eslintrc.yml" - - ".eslintrc.yaml" - - ".eslintrc.js" - - ".eslintrc.cjs" - - "package.json:eslintConfig" + - "eslint.config.js" + - "eslint.config.mjs" + - "eslint.config.cjs" cli_lint_mode: list_of_files - config_file_name: .eslintrc.json - cli_config_extra_args: - - "--no-eslintrc" - ignore_file_name: .eslintignore - cli_lint_ignore_arg_name: --ignore-path - cli_lint_extra_args: - - "--no-ignore" + config_file_name: eslint.config.js cli_lint_fix_arg_name: "--fix" cli_sarif_args: - --format @@ -81,28 +70,22 @@ linters: cli_lint_errors_regex: "✖ ([0-9]+) problem" examples: - "eslint myfile.js" - - "eslint -c .eslintrc.json --no-eslintrc --no-ignore myfile.js" - - "eslint --fix -c .eslintrc.json --no-eslintrc --no-ignore myfile.js" + - "eslint --config eslint.config.js myfile.js" + - "eslint --fix --config eslint.config.js myfile.js" install: dockerfile: - |- # renovate: datasource=npm depName=eslint - ARG NPM_ESLINT_VERSION=8.57.1 - - |- - # renovate: datasource=npm depName=eslint-config-airbnb - ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 + ARG NPM_ESLINT_VERSION=9.39.2 - |- # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 - - |- - # renovate: datasource=npm depName=eslint-config-standard - ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 - - |- - # renovate: datasource=npm depName=eslint-plugin-import - ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 + # - |- + # # renovate: datasource=npm depName=eslint-plugin-import + # ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 - |- # renovate: datasource=npm depName=eslint-plugin-jest - ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 + ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.14.0 - |- # renovate: datasource=npm depName=eslint-plugin-n ARG NPM_ESLINT_PLUGIN_N_VERSION=16.6.2 @@ -114,29 +97,23 @@ linters: ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 - |- # renovate: datasource=npm depName=eslint-plugin-vue - ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.8.0 + ARG NPM_ESLINT_PLUGIN_VUE_VERSION=10.7.0 - |- # renovate: datasource=npm depName=@babel/core ARG NPM_BABEL_CORE_VERSION=7.29.0 - - |- - # renovate: datasource=npm depName=@babel/eslint-parser - ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 - |- # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 npm: - eslint@${NPM_ESLINT_VERSION} - - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} - eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} - - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} - - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} + # - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} - eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} - eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} - eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} - eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} - eslint-plugin-vue@${NPM_ESLINT_PLUGIN_VUE_VERSION} - "@babel/core@${NPM_BABEL_CORE_VERSION}" - - "@babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION}" - "@microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION}" supported_platforms: platform: diff --git a/megalinter/descriptors/json.megalinter-descriptor.yml b/megalinter/descriptors/json.megalinter-descriptor.yml index 096a02de74c..3de0c437fcf 100644 --- a/megalinter/descriptors/json.megalinter-descriptor.yml +++ b/megalinter/descriptors/json.megalinter-descriptor.yml @@ -48,10 +48,9 @@ linters: - linux/amd64 - linux/arm64 # ESLINT-PLUGIN-JSONC - - class: EslintLinter + - linter_name: eslint-plugin-jsonc disabled: true disabled_reason: "Bug in eslint-plugin-jsonc: " - linter_name: eslint-plugin-jsonc linter_spdx_license: MIT can_output_sarif: true file_extensions: @@ -130,8 +129,6 @@ linters: - "--no-eslintrc" cli_lint_extra_args: - "--no-ignore" - ignore_file_name: .eslintignore - cli_lint_ignore_arg_name: --ignore-path cli_lint_fix_arg_name: "--fix" cli_sarif_args: - --format @@ -153,7 +150,7 @@ linters: dockerfile: - |- # renovate: datasource=npm depName=eslint - ARG NPM_ESLINT_VERSION=8.57.1 + ARG NPM_ESLINT_VERSION=10.0.1 - |- # renovate: datasource=npm depName=eslint-plugin-jsonc ARG NPM_ESLINT_PLUGIN_JSONC_VERSION=2.21.1 diff --git a/megalinter/descriptors/jsx.megalinter-descriptor.yml b/megalinter/descriptors/jsx.megalinter-descriptor.yml index ec881b6a9d1..d1912449fca 100644 --- a/megalinter/descriptors/jsx.megalinter-descriptor.yml +++ b/megalinter/descriptors/jsx.megalinter-descriptor.yml @@ -11,6 +11,8 @@ linters: # ESLINT - class: EslintLinter linter_name: eslint + disabled: true + disabled_reason: "eslint-plugin-react not compliant with eslint 10: https://github.com/jsx-eslint/eslint-plugin-react/issues/3977" can_output_sarif: true linter_text: | **ESLint with React Plugin** provides comprehensive linting for JSX files, combining ESLint's powerful static analysis with React-specific rules to ensure high-quality React applications written in JavaScript. @@ -66,20 +68,12 @@ linters: dockerfile: - |- # renovate: datasource=npm depName=eslint - ARG NPM_ESLINT_VERSION=8.57.1 - - |- - # renovate: datasource=npm depName=eslint-plugin-react - ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 - - |- - # renovate: datasource=npm depName=eslint-plugin-jsx-a11y - ARG NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION=6.10.2 + ARG NPM_ESLINT_VERSION=10.0.1 - |- # renovate: datasource=npm depName=@microsoft/eslint-formatter-sarif ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 npm: - eslint@${NPM_ESLINT_VERSION} - - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} - - eslint-plugin-jsx-a11y@${NPM_ESLINT_PLUGIN_JSX_ALLY_VERSION} - "@microsoft/eslint-formatter-sarif@${NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION}" supported_platforms: platform: diff --git a/megalinter/descriptors/tsx.megalinter-descriptor.yml b/megalinter/descriptors/tsx.megalinter-descriptor.yml index 97581ee320c..ad8aed80278 100644 --- a/megalinter/descriptors/tsx.megalinter-descriptor.yml +++ b/megalinter/descriptors/tsx.megalinter-descriptor.yml @@ -11,6 +11,8 @@ linters: # ESLINT - class: EslintLinter linter_name: eslint + disabled: true + disabled_reason: "eslint-plugin-react not compliant with eslint 10: https://github.com/jsx-eslint/eslint-plugin-react/issues/3977" can_output_sarif: true linter_text: | **ESLint with React Plugin** provides comprehensive linting for TSX (TypeScript React) files, combining ESLint's powerful static analysis with React-specific rules to ensure high-quality React applications written in TypeScript. @@ -68,10 +70,7 @@ linters: ARG NPM_TYPESCRIPT_VERSION=5.9.3 - |- # renovate: datasource=npm depName=eslint - ARG NPM_ESLINT_VERSION=8.57.1 - - |- - # renovate: datasource=npm depName=eslint-config-airbnb - ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 + ARG NPM_ESLINT_VERSION=10.0.1 - |- # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 @@ -81,12 +80,6 @@ linters: - |- # renovate: datasource=npm depName=eslint-plugin-prettier ARG NPM_ESLINT_PLUGIN_PRETTIER_VERSION=5.5.5 - - |- - # renovate: datasource=npm depName=eslint-plugin-react - ARG NPM_ESLINT_PLUGIN_REACT_VERSION=7.37.5 - - |- - # renovate: datasource=npm depName=@babel/eslint-parser - ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 - |- # renovate: datasource=npm depName=prettier ARG NPM_PRETTIER_VERSION=3.8.1 @@ -105,12 +98,9 @@ linters: npm: - typescript@${NPM_TYPESCRIPT_VERSION} - eslint@${NPM_ESLINT_VERSION} - - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} - eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} - eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} - eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} - - eslint-plugin-react@${NPM_ESLINT_PLUGIN_REACT_VERSION} - - "@babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION}" - prettier@${NPM_PRETTIER_VERSION} - prettyjson@${NPM_PRETTYJSON_VERSION} - "@typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION}" diff --git a/megalinter/descriptors/typescript.megalinter-descriptor.yml b/megalinter/descriptors/typescript.megalinter-descriptor.yml index b7983774420..64c17a019fe 100644 --- a/megalinter/descriptors/typescript.megalinter-descriptor.yml +++ b/megalinter/descriptors/typescript.megalinter-descriptor.yml @@ -74,19 +74,16 @@ linters: dockerfile: - |- # renovate: datasource=npm depName=eslint - ARG NPM_ESLINT_VERSION=8.57.1 - - |- - # renovate: datasource=npm depName=eslint-config-airbnb - ARG NPM_ESLINT_CONFIG_AIRBNB_VERSION=19.0.4 + ARG NPM_ESLINT_VERSION=10.0.1 - |- # renovate: datasource=npm depName=eslint-config-prettier ARG NPM_ESLINT_CONFIG_PRETTIER_VERSION=10.1.8 - |- # renovate: datasource=npm depName=eslint-config-standard ARG NPM_ESLINT_CONFIG_STANDARD_VERSION=17.1.0 - - |- - # renovate: datasource=npm depName=eslint-plugin-import - ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 + # - |- + # # renovate: datasource=npm depName=eslint-plugin-import + # ARG NPM_ESLINT_PLUGIN_IMPORT_VERSION=2.32.0 - |- # renovate: datasource=npm depName=eslint-plugin-jest ARG NPM_ESLINT_PLUGIN_JEST_VERSION=29.15.0 @@ -99,9 +96,6 @@ linters: - |- # renovate: datasource=npm depName=eslint-plugin-promise ARG NPM_ESLINT_PLUGIN_PROMISE_VERSION=6.6.0 - - |- - # renovate: datasource=npm depName=@babel/eslint-parser - ARG NPM_BABEL_ESLINT_PARSER_VERSION=7.28.6 - |- # renovate: datasource=npm depName=prettier ARG NPM_PRETTIER_VERSION=3.8.1 @@ -119,15 +113,13 @@ linters: ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0 npm: - eslint@${NPM_ESLINT_VERSION} - - eslint-config-airbnb@${NPM_ESLINT_CONFIG_AIRBNB_VERSION} - eslint-config-prettier@${NPM_ESLINT_CONFIG_PRETTIER_VERSION} - eslint-config-standard@${NPM_ESLINT_CONFIG_STANDARD_VERSION} - - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} + # - eslint-plugin-import@${NPM_ESLINT_PLUGIN_IMPORT_VERSION} - eslint-plugin-jest@${NPM_ESLINT_PLUGIN_JEST_VERSION} - eslint-plugin-n@${NPM_ESLINT_PLUGIN_N_VERSION} - eslint-plugin-prettier@${NPM_ESLINT_PLUGIN_PRETTIER_VERSION} - eslint-plugin-promise@${NPM_ESLINT_PLUGIN_PROMISE_VERSION} - - "@babel/eslint-parser@${NPM_BABEL_ESLINT_PARSER_VERSION}" - prettier@${NPM_PRETTIER_VERSION} - prettyjson@${NPM_PRETTYJSON_VERSION} - "@typescript-eslint/eslint-plugin@${NPM_TYPESCRIPT_ESLINT_ESLINT_PLUGIN_VERSION}"