5.0.1 • Published 6 years ago

@yoast/eslint-config-yoast v5.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
6 years ago

ESLint

Yoast configuration for ESLint

Configuring Rules

  • 0 - turn the rule off
  • 1 - turn the rule on as a warning (doesn’t affect exit code)
  • 2 - turn the rule on as an error (exit code is 1 when triggered)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

5.0.1 - 2018-09-28

Changed

  • Changes no-console to a warning. This makes it more useful when using webpack dev server.

5.0 - 2018-09-24

Breaking changes

  • Use the JSX a11y recommended rules, only exception is label-has-for.

Changed

4.0 - 2018-09-07

Breaking changes

  • Changes all warnings added in 3.0 to errors.
  • Adds error for missing textdomain in __, _n, _x, _nx.
  • Adds errors and warnings for JSX a11y rules.

3.1 - 2018-08-28

Added

  • Adds warning when JSDoc is missing on all symbols.
  • Adds warnings for JSX that make sense for our codestyle.
  • Adds keyword-spacing rule as a warning.
  • Adds warning for no-shadow rule.
  • Adds warning for prefer-const rule.

Changed

  • Bumps ecmaVersion up to 2018 so the parser doesn't error when it encounters newer syntax.
5.0.1

6 years ago

5.0.0

6 years ago

4.0.0

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.2

7 years ago