Select to view content in your preferred language

ExperienceBuilder 1.14 Error in .eslintrc

305
1
04-05-2024 09:06 AM
TimWestern
Frequent Contributor

This morning I was trying to resolve an issue with 'imports' not resolving in WebStorm, while doing so, I noticed that on line 55 of .eslintrc.js in the client that the rule for prefer-optional-chain appears to be misspelled 

The rule name is currently: @typesript-eslint/prefer-optional-chain

it should be 

@typescript-eslint/prefer-optional-chain


Also note that it appears this rule may be in the config file twice, once with the right name once without.  I don't think this is related to the issue I was looking into, but it might be important to fix in next release.
Here's a screen cap from a comparison tool to show the difference:

Suggest it be updated when practical, and other users can make the update themselves in ArcGISExperienceBuilder/Client/.eslintrc.js

TimWestern_0-1712333061581.png

 

0 Kudos
1 Reply
Junshan_Liu
Frequent Contributor

Hi @TimWestern Thanks for your feedback! We'll fix it in the next release.

0 Kudos