![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@esri/eslint-plugin-calcite-components
Advanced tools
ESLint rules for @esri/calcite-components
ESLint rules specific to Stencil JS projects.
Install the following deps in your stencil project:
npm i @esri/eslint-plugin-calcite-components --save-dev
Add or update the .eslintrc.json
configuration file:
{
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["plugin:@esri/calcite-components/recommended"]
}
Add a new lint
script to package.json
:
{
"scripts": {
"lint": "eslint src/**/*{.ts,.tsx}"
}
}
Then you can run the linter:
npm run lint
This rule helps prevent usage of specific events and allows suggesting alternatives.
This rule catches props/attributes that should be in the encapsulated HTML structure and not on the host element.
This rule helps enforce the payload type to EventEmitters to avoid misleading any
type on the CustomEvent detail object.
This rule catches boolean props that are initialized in a way that does not conform to the HTML5 spec.
{
"@esri/calcite-components/ban-props-on-host": "error",
"@esri/calcite-components/require-event-emitter-type": "error",
"@esri/calcite-components/strict-boolean-attributes": "error"
}
We welcome contributions to this project. See CONTRIBUTING.md for an overview of contribution guidelines.
COPYRIGHT © 2023 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: contracts@esri.com
FAQs
ESLint rules for @esri/calcite-components
The npm package @esri/eslint-plugin-calcite-components receives a total of 3 weekly downloads. As such, @esri/eslint-plugin-calcite-components popularity was classified as not popular.
We found that @esri/eslint-plugin-calcite-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.