Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eslint config] [*] [new] add eslint v7 #2240

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

MichaelDeBoey
Copy link

@MichaelDeBoey MichaelDeBoey commented Jun 9, 2020

CC @ljharb

@ljharb
Copy link
Collaborator

ljharb commented Jun 9, 2020

Thanks, I already have this branch locally tho and it'll require a bit more than this. I'll repurpose the PR.

@ljharb ljharb changed the title feat(eslint-config-airbnb-base): Support ESLint 7.x [eslint config] [*] [new] add eslint v7 Jun 10, 2020
@ljharb ljharb merged commit 5b462a0 into airbnb:master Jun 10, 2020
@MichaelDeBoey MichaelDeBoey deleted the eslint-7-base branch June 11, 2020 08:32
// disallow negation of the left operand of an in expression
// deprecated in favor of no-unsafe-negation
'no-negated-in-lhs': 'off',

// Disallow assignments that can lead to race conditions due to usage of await or yield
// https://eslint.org/docs/rules/require-atomic-updates
// TODO: enable, semver-major
// note: not enabled because it is very buggy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @ljharb !

Would you mind to share some cases where you faced bugs in this rule?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s a couple threads on eslint core that are full of examples; i don’t have any off hand.

Copy link

@keann keann Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, might have guessed myself to look there. thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants