
Published under: Release Notes 1 min read
ESLint v10.5.0 released
We just pushed ESLint v10.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

























Published under Release Notes
We just pushed ESLint v10.4.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
includeIgnoreFile() helperThis release introduces the includeIgnoreFile() helper for configuration files that allows for including patterns from .gitignore files or any other files with gitignore-style patterns.
Previously available in the external package @eslint/compat, the new includeIgnoreFile helper function is exported from the eslint/config entrypoint and provides an extended API that allows multiple files to be included and patterns to be interpreted relative to the location of those files, which is a common use case for nested .gitignore files.
// eslint.config.js
import { defineConfig, includeIgnoreFile } from "eslint/config";
import { fileURLToPath } from "node:url";
const rootGitignorePath = fileURLToPath(
new URL(".gitignore", import.meta.url)
);
const nestedGitignorePath = fileURLToPath(
new URL("some/other/folder/.gitignore", import.meta.url),
);
export default defineConfig([
includeIgnoreFile([rootGitignorePath, nestedGitignorePath], {
// option to interpret patterns relative to the locations of the specified files
gitignoreResolution: true,
}),
{
// your overrides
},
]);
Please see the Include .gitignore Files section for more details.
1a45ec5 feat: check sequence expressions in for-direction (#20701) (kuldeep kumar)450040b feat: add includeIgnoreFile() to eslint/config (#20735) (Kirk Waiblinger)544c0c3 fix: escape code path DOT labels in debug output (#20866) (Pixel998)6799431 fix: update dependency @eslint/config-helpers to ^0.6.0 (#20850) (renovate[bot])f078fef fix: handle non-array deprecated rule replacements (#20825) (xbinaryx)7e52a71 docs: add mention of @eslint-react/eslint-plugin (#20869) (Pavel)db3468b docs: tweak wording around ambiguous CJS-vs-ESM config (#20865) (Kirk Waiblinger)9084664 docs: Update README (GitHub Actions Bot)9cc7387 docs: Update README (GitHub Actions Bot)3d7b548 docs: Update README (GitHub Actions Bot)191ec3c docs: Update README (GitHub Actions Bot)6616856 chore: upgrade knip to v6 (#20875) (Pixel998)d13b084 ci: ensure auto-created PRs run CI (#20860) (lumir)e71c7af ci: bump pnpm/action-setup from 6.0.5 to 6.0.7 (#20862) (dependabot[bot])d84393d test: add unit tests for SuppressionsService.applySuppressions() (#20863) (kuldeep kumar)24db8cb test: add tests for SuppressionsService.save() (#20802) (kuldeep kumar)2ef0549 chore: update ecosystem plugins (#20857) (github-actions[bot])a429791 ci: remove eslint-webpack-plugin types integration test (#20668) (Milos Djermanovic)9e37386 chore: replace recast with range approach in code-sample-minimizer (#20682) (Copilot)0dd1f9f test: disable warning for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER (#20845) (Francesco Trotta)9da3c7b refactor: remove deprecated meta.language and migrate meta.dialects (#20716) (Pixel998)2099ed1 refactor: add meta.defaultOptions to more rules, enable linting (#20800) (xbinaryx)f1dfbc9 chore: update ecosystem plugins (#20836) (github-actions[bot])c759413 ci: bump pnpm/action-setup from 6.0.3 to 6.0.5 (#20843) (dependabot[bot])5b817d6 test: add unit tests for lib/shared/ast-utils (#20838) (kuldeep kumar)1c13ae3 test: add unit tests for lib/shared/severity (#20835) (kuldeep kumar)ESLint TSC member, independent software developer.
The latest ESLint news, case studies, tutorials, and resources.

Published under: Release Notes 1 min read
We just pushed ESLint v10.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Published under: Release Notes 1 min read
We just pushed ESLint v10.4.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

Published under: Release Notes 1 min read
We just pushed ESLint v10.3.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。