Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

The last release (8.2.0) added ES7 support. This release (8.3.0) adds ES8 support ...just 3 days later!

This release should eliminate the need to specify babel-eslint as a custom parser, since standard can now parse ES8 (i.e. ES2017) syntax out of the box. That means async and await will just work.

For many users, this release should eliminate the need to specify babel-eslint as a custom parser, since standard can now parse ES7 (i.e. ES2016) syntax out of the box.

This release contains a bunch of goodies, including new rules that catch potential programmer errors (i.e. bugs) and enforce additional code consistency.

However, the best feature is surely the new --fix command line flag to automatically fix problems. If you ever used standard-format and ran into issues with the lack of ES2015+ support, you'll be happy about --fix.

standard --fix is built into standard v8.0.0 for maximum convenience, it supports ES2015, and it's lightweight (no additional dependencies since it's part of ESLint which powers standard). Lots of problems are already fixable, and more are getting added with each ESLint release.

standard also outputs a message ("Run standard --fix to automatically fix some problems.") when it detects problems that can be fixed automatically so you can save time!

With standard v8.0.0, we are also dropping support for Node.js versions prior to v4. Node.js 0.10 and 0.12 are in maintenance mode and will be unsupported at the end of 2016. Node.js 4 is the current LTS version. If you are using an older version of Node.js, we recommend upgrading to at least Node.js 4 as soon as possible. If you are unable to upgrade to Node.js 4 or higher, then we recommend continuing to use standard v7.x until you are ready to upgrade Node.js.

Important: We will not be updating the standard v7.x versions going forward. All bug fixes and enhancements will land in standard v8.x.

Full changelog below. Cheers!

(Estimated % of affected standard users, based on test suite in parens)

import { foo } from 'bar'
export * from 'bar'

Estimated % of affected standard users, based on test suite

The goal of this release is to make standard faster to install, and simpler to use.

Remove standard-format (#340) (#397)

React-specific linting rules are removed (#351) (#367) (eslint-config-standard-react/#13)

The percentage (%) of users that rule changes will effect, based on real-world testing of the top ~400 npm packages is denoted in brackets.

For power users, it might be easier to use one of these new hooks instead of forking standard, though that's still encouraged, too!

To set custom ESLint plugins, rules, or envs, use the command line --plugin, --rules, and --env flags.

In package.json, use the "standard" property:

{
  "standard": {
    "plugins": [ "my-plugin" ]
  }
}

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff

view diff