ESLint v1.10.0 released

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

Note: This is the last scheduled release prior to v2.0.0. In the coming weeks, we will be focusing specifically on v2.0.0 and will be regularly releasing alpha versions for testing. These alpha versions are not suitable for use in a production environment and are provided primarily for getting early feedback.


Here are some highlights of changes in this release.

Configuration File Formats

v1.10.0 introduces the ability to use configuration files in different formats. Instead of the regular .eslintrc file, you can use a JavaScript (.eslintrc.js), a YAML file (.eslintrc.yml or .eslintrc.yaml), or a JSON file (.eslintrc.json). We are formally deprecating use of the .eslintrc extensionless configuration file format in favor the format-specific versions. Don’t worry, we’ll still support .eslintrc files for a long time, but we’d like to encourage everyone to move to the new file formats as you’ll get advantages such as syntax highlighting and error detection with many editors. Read more in the documentation.

Improvements to –init

The --init command, which is used to bootstrap a configuration file, now has an additional option: use a popular style guide. When running --init, you can still choose to answer the questionnaire we’ve always had, or you can choose to use the Google, Airbnb, or Standard style guides. The correct shareable config will automatically be installed in your project when using one of these style guides. We will look to add more popular style guides as the shareable configs become available.

Additionally, --init will now create a configuration file in one of the new formats. It will ask you which format you prefer and will generate the file in that format.

Disabling Inline Configurations

The new --no-inline-config command makes ESLint skip all inline configuration comments (such as /*eslint semi:2*/) so that you can only configure ESLint uses the command line and configuration files.



Bug Fixes