ESLint v2.5.3 released

We just pushed ESLint v2.5.3, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Highlights

This is a summary of the major changes you need to know about for this version of ESLint.

Rolling Back of Bundled Dependencies

In v2.5.0, we started bundling dependencies with ESLint. The goal was to create a more stable ESLint package that was functional regardless of the state of npm. Unfortunately, this process turned out to be more complicated than we expected. As we continued to get bug reports over the past couple of days, we decided to revert the bundling of dependencies for now until we can investigate further.

Bug Fixes

  • 98e6bd9 Fix: Correct default for indentation in eslint --init (fixes * #5698) (alberto)
  • 679095e Fix: make the default of options.cwd in runtime (fixes * #5694) (Toru Nagashima)
  • c41fab9 Fix: don’t use path.extname with undefined value (fixes * #5678) (Myles Borins)

文档

🌐 Documentation

  • 1cc7f8e Docs: Remove mention of minimatch for .eslintignore (Ian VanSchooten)
  • 5bd69a9 Docs: Reorder FAQ in README (alberto)
  • 4f06f2f Docs: Distinguish examples in rules under Best Practices part 2 (Mark Pedrotti)
  • 8c5d954 Docs: Typo fix (István Donkó)
  • 09659d6 Docs: Use string severity (Kenneth Williams)
  • a4ae769 Docs: Manual changelog update for v2.5.1 (Nicholas C. Zakas)
  • 8749ac5 Build: Disable bundling dependencies (fixes #5687) (Nicholas C. Zakas)
  • 013a18e Build: Fix bundling script (fixes * #5680) (Nicholas C. Zakas)

最新的 ESLint 新闻、案例研究、教程和资源。

ESLint v10.3.0 发布
1 min read

ESLint v10.3.0 发布

我们刚刚发布了 ESLint v10.3.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。

ESLint v10.2.1 发布
1 min read

ESLint v10.2.1 发布

我们刚刚发布了 ESLint v10.2.1,这是 ESLint 的一个补丁版本升级。本次发布修复了上一版本中发现的几个错误。

ESLint v10.2.0 发布
2 min read

ESLint v10.2.0 发布

我们刚刚发布了 ESLint v10.2.0,这是 ESLint 的一次小版本升级。此版本添加了一些新功能,并修复了上一版本中发现的几个错误。