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
Lint error occurred with "@typescript-eslint/no-extra-semi" #8953
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
@HuihuiWu-Microsoft - could you please check if the issue still repro-es on the latest version of SPFx (1.17.2)? |
Just got this exact error on a totally clean install of |
FWIW as a hackish work-around I as able to get building by disabling a couple of rules in the .eslintrc file by adding these lines to the start of the rules object: rules: {
"@typescript-eslint/no-extra-semi": 0,
"@typescript-eslint/no-empty-function" : 0, (thank you for better exposing hooks to alter the eslint config, this a positive step) |
Hi @AJIXuMuK , I tried SPFx v1.17.2 and doesn't have the issue. Will you fix the issue on v1.16.1 since some developers might still use the legacy version? |
@gavinbarron thx ma man! build success here doing that! |
@HuihuiWu-Microsoft - no. It doesn't work like that. All fixed appear as a new version. So if there even need for a fix it would be 1.17.x |
I can repro it on 1.16.1. |
@Eiglimar just be aware that those two linting rules are now disabled and won't be shown in your editor or detected. Those two rules specifically are not a big deal, but just something to be aware of. |
Thanks @AJIXuMuK! |
@HuihuiWu-Microsoft @gavinbarron @Eiglimar - just to provide another workaround: do |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Lint error occurred when running gulp tasks(gulp serve/ gulp bundle) with SPFx v1.16.1
Steps to reproduce
Expected behavior
I should be able to run gulp tasks to debug or bundle package successfully.
The text was updated successfully, but these errors were encountered: