Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin#30808
Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin#30808Bibazavr wants to merge 2 commits into
Conversation
## Description This updates needs for use new features from typescript (like optional proposing and etc) Without this update you will get errors "Expression expected" while write something like `value?.title` or `(data ?? []).map(...)` ## React Native version: latest ## Steps To Reproduce 1. create react-native app with typescript 2. configure eslint with @react-native-community/eslint-config into .eslintrc.* extends 3. write some thing like: `value?.name` into your project ## Expected Results Expected - no error while eslit parsing file with some thing like: `value?.name` ## Snack, code example, screenshot, or link to a repository: https://github.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md#400-2020-08-31
|
Hi @Bibazavr! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Base commit: c760704 |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Base commit: c760704 |
|
Closed because another branch was merged |
Description
This updates needs for use new features from typescript
(like optional proposing and etc)
Without this update you will get errors "Expression expected" while write something like
value?.titleor(data ?? []).map(...)React Native version: latest
Steps To Reproduce
value?.nameinto your projectExpected Results
Expected - no error while eslit parsing file with some thing like:
value?.nameSnack, code example, screenshot, or link to a repository:
https://github.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md#400-2020-08-31
Summary
I want use latest features from typescript into my project when i use @react-native-community/eslint-config
Changelog
[General] [Changed] - Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin into @react-native-community/eslint-config
Test Plan
Eslint error before update:
After update error is gone