Select to view content in your preferred language

Showing Deprecations as Errors in VS Code using React - Typescript

134
0
08-29-2024 09:32 AM
René_Ténière
Frequent Contributor

Hi,

Using esri-calcite-components 2.11.1 and I am wondering if there is a way for eslint to pick up any calcite component deprecations like I have set up with arcgis-core 4.30? I use eslint-plugin-deprecation and it picks up all deprecations except for the calcite components. A current example for me is using:

import { CalciteModal } from '@esri/calcite-components-react';

<CalciteModal> </CalciteModal>

Only gives a warning as deprecated in the console when the site is running.

Thanks.

0 Kudos
0 Replies