-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Take babel-eslint
's move to @babel/eslint-parser
.
#4254
Labels
a-tools
blocked on other work
To come back to after another related PR, or some other task.
dependencies
Pull requests that update a dependency file
Comments
chrisbobbe
added
a-tools
blocked on other work
To come back to after another related PR, or some other task.
dependencies
Pull requests that update a dependency file
labels
Sep 10, 2020
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Sep 18, 2020
Prompted by discussion on zulip#4101 [1]. Flow started supporting method calls in optional chains in v0.112.0 [2], but ESLint isn't yet on board [3]; it gives a false positive for `no-unused-expressions`. A comment on the ESLint issue [4] suggests we could be more systematic by using an ESLint plugin from Babel, instead of one-off suppressions of `no-unused-expressions` like this one. That plugin moved from (on NPM) `babel-eslint-plugin` to `@babel/eslint-plugin`. We can't use the new one until we're on ESLint 7 (see zulip#4254), but we could probably use the old one. [1] zulip#4101 (comment) [2] facebook/flow#4303 [3] eslint/eslint#11045 [4] eslint/eslint#11045 (comment)
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Sep 19, 2020
Prompted by discussion on zulip#4101 [1]. Flow started supporting method calls in optional chains in v0.112.0 [2], but ESLint isn't yet on board [3]; it gives a false positive for `no-unused-expressions`. A comment on the ESLint issue [4] suggests we could be more systematic by using an ESLint plugin from Babel, instead of one-off suppressions of `no-unused-expressions` like this one. That plugin moved from (on NPM) `babel-eslint-plugin` to `@babel/eslint-plugin`. We can't use the new one until we're on ESLint 7 (see zulip#4254), but we could probably use the old one. [1] zulip#4101 (comment) [2] facebook/flow#4303 [3] eslint/eslint#11045 [4] eslint/eslint#11045 (comment)
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Sep 21, 2020
Prompted by discussion on zulip#4101 [1]. Flow started supporting method calls in optional chains in v0.112.0 [2], but ESLint isn't yet on board [3]; it gives a false positive for `no-unused-expressions`. A comment on the ESLint issue [4] suggests we could be more systematic by using an ESLint plugin from Babel, instead of one-off suppressions of `no-unused-expressions` like this one. That plugin moved from (on NPM) `babel-eslint-plugin` to `@babel/eslint-plugin`. We can't use the new one until we're on ESLint 7 (see zulip#4254), but we could probably use the old one. [1] zulip#4101 (comment) [2] facebook/flow#4303 [3] eslint/eslint#11045 [4] eslint/eslint#11045 (comment)
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Sep 21, 2020
Prompted by discussion on zulip#4101 [1]. Flow started supporting method calls in optional chains in v0.112.0 [2], but ESLint isn't yet on board [3]; it gives a false positive for `no-unused-expressions`. A comment on the ESLint issue [4] suggests we could be more systematic by using an ESLint plugin from Babel, instead of one-off suppressions of `no-unused-expressions` like this one. That plugin moved from (on NPM) `babel-eslint-plugin` to `@babel/eslint-plugin`. We can't use the new one until we're on ESLint 7 (see zulip#4254), but we could probably use the old one. [1] zulip#4101 (comment) [2] facebook/flow#4303 [3] eslint/eslint#11045 [4] eslint/eslint#11045 (comment)
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
May 26, 2022
TODO: find out what we actually want :) and finish commit message Following the eagerly awaited resolution of prettier/prettier-eslint-cli#304 - add some @babel/ deps for peer-dep requirements - resolutions line to get prettier/prettier-eslint#749 Fixes: zulip#4254
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jun 2, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jun 3, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jun 8, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jun 9, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jul 20, 2022
Oops, looks like we should have done this in e183358, for zulip#4254. I'm not sure how much we actually want to keep the `test:flow-todo` command, but might as well bring it up to date. We're about to change it again, to hermes-eslint, along with our other ESLint configs.
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jul 20, 2022
Oops, looks like we should have done this in e183358, for zulip#4254. I'm not sure how much we actually want to keep the `test:flow-todo` command, but might as well bring it up to date in this way. We're about to change it again, to hermes-eslint, along with our other ESLint configs.
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Jul 26, 2022
Oops, looks like we should have done this in e183358, for zulip#4254. I'm not sure how much we actually want to keep the `test:flow-todo` command, but might as well bring it up to date in this way. We're about to change it again, to hermes-eslint, along with our other ESLint configs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a-tools
blocked on other work
To come back to after another related PR, or some other task.
dependencies
Pull requests that update a dependency file
In July, Babel made an announcement:
We may also like to consider
@babel/eslint-plugin
, the new home ofeslint-plugin-babel
. For one data point, reportedly, this plugin would help us suppress false positives from ESLint'sno-unused-expressions
rule centrally and precisely, where such false positives occur when using method calls with optional chaining.Blocked by the ESLint 7 upgrade (#4253) because @babel/eslint-parser does not have a version on NPM that supports ESLint 6. The same is true of
@babel/eslint-plugin
.The text was updated successfully, but these errors were encountered: