All notable changes to this project will be documented in this file. Releases without a changelog entry contain only minor changes that are irrelevant for users of this library. We follow Semantic Versioning.
- Rename the package to
@yoast/eslint-configand release to NPM once more.
- Export a flat configuration file and remove the old format.
- Adds the recommended set from
eslint-plugin-import, via a peer dependency. #20003
- Removes requirement for defaults for props on functional components. #18381
- Removes requirement for capitalized comments. #18829
- Changes
no-consoleto a warning. This makes it more useful when using webpack dev server.
- Use the JSX a11y recommended rules, only exception is
label-has-for.
- Sets
react/button-has-typeto disabled as this rule is pretty useless in its current state. - Adds an exception for translators comments in
capitalized-comments.
- 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.
- Adds warning when JSDoc is missing on all symbols.
- Adds warnings for JSX that make sense for our codestyle.
- Adds
keyword-spacingrule as a warning. - Adds warning for
no-shadowrule. - Adds warning for
prefer-construle.
- Bumps
ecmaVersionup to 2018 so the parser doesn't error when it encounters newer syntax.