27939 updated our Linting lesson in light of the recent ESLint v9 release and its breaking changes.
Since then, we've had a few people who wanted to use the airbnb ESLint plugin but ran into issues as it does not yet support v9 and flat config.
Since this has been somewhat common, it's worth adding a temporary note about using v8.57 and eslintrc if someone wanted to use something like the airbnb plugin (but if not, they can stick with the v9 docs). This note can be removed once airbnb release support for v9 and flat config.
Since this note was added, it also means it'd be sensible to add eslint-config-prettier back in specifically if someone wanted to use the airbnb plugin, as that plugin turns on rules that clash with Prettier. It was removed in #27939 because the default ESLint ruleset does not include any rules that clash with Prettier.
This PR
Adds warning about ESLint v9/flat config and airbnb plugin support
Brings back mention of eslint-config-prettier, this time clarifying it's only relevant if using the airbnb plugin with ESLint.
Because
27939 updated our Linting lesson in light of the recent ESLint v9 release and its breaking changes.
Since then, we've had a few people who wanted to use the airbnb ESLint plugin but ran into issues as it does not yet support v9 and flat config.
Since this has been somewhat common, it's worth adding a temporary note about using v8.57 and eslintrc if someone wanted to use something like the airbnb plugin (but if not, they can stick with the v9 docs). This note can be removed once airbnb release support for v9 and flat config.
Since this note was added, it also means it'd be sensible to add
eslint-config-prettier
back in specifically if someone wanted to use the airbnb plugin, as that plugin turns on rules that clash with Prettier. It was removed in #27939 because the default ESLint ruleset does not include any rules that clash with Prettier.This PR
eslint-config-prettier
, this time clarifying it's only relevant if using the airbnb plugin with ESLint.Issue
N/A
Additional Information
Pull Request Requirements
location of change: brief description of change
format, e.g.Intro to HTML and CSS lesson: Fix link text
Because
section summarizes the reason for this PRThis PR
section has a bullet point list describing the changes in this PRIssue
section