Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
SonarLint en Visual Studio 2019 arroja "PARSING unknown: la compatibilidad con la sintaxis experimental 'classProperties' no está habilitada actualmente"

Quiero usar SonarLint en Visual Studio para analizar código Javascript. Recibo el siguiente error en la ventana de salida de Visual Studio cuando seleccioné el menú desplegable de SonarLint.

 Failed to parse file 'D:\Latest Virtuoso Repo\Accessibility Change\Virtuoso\Source\Virtuoso\Web\Scripts\React_Scripts\Modules\ApprovalDelegation\ApprovalsDelegation\ApprovalsDelegation.jsx' at line 37: PARSING unknown: Support for the experimental syntax 'classProperties' isn't currently enabled (37:21): 35 | } 36 | > 37 | activeApprovals = () => { | ^ 38 | this.setState({ 39 | activeTab: 'Approvals' 40 | }) Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation. If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing.

Aunque tengo la dependencia "@babel/plugin-proposal-class-properties" y estoy incluida en .babelrc , sigo recibiendo un error.

He probado las siguientes opciones,

  1. Cambio de nombre de .babelrc a babel.config.js
  2. Definición de complementos de babel en webpack.config.base.js
  3. Agregar configuración de babel en package.json
  4. Agregar "@babel/plugin-syntax-class-properties" a los complementos de babel

Nada parece funcionar. Por favor, hágamelo saber si sabe la solución.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!