![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.
eslint-plugin-quintoandar
Advanced tools
This package provides QuintoAndar's custom eslint rules, that are created by our engineers' demand.
All these rules are accessible in the eslint config that is plugged in. For example, the package eslint-config-quintoandar-pwa
uses it as a plugin.
These custom rules can be used in two ways:
npm install --save-dev eslint-plugin-quintoandar
"plugins": [
"quintoandar"
],
or
"plugins": [
"eslint-plugin-quintoandar"
],
Do not allow dynamically importing index
files i.e. import('./index')
, import('../index')
. This rule was created because if multiple react-loadable components used the same path in the import()
call, it would cause problems during chunk resolution and a page would load more JS chunks than necessary. Since most of the problems arose with multiple files named 'index', this rules suggests to rename them with a more specific name.
Just add the code below in your rules array:
"quintoandar/no-dynamic-import-index": 2,
Do not allow the usage of target="_blank"
without rel="noopener noreferrer
because of a security problem.
Just add the code below in your rules array:
"quintoandar/no-target-blank": 2,
Create a new custom rule is also a way to move from the deprecated approach to new one. This rule does exactly this, enforce to do not use any component from the file called Typo
.
Just add the code below in your rules array:
"quintoandar/no-typo-components": 2,
We use SemVer for versioning. For the versions available, see the CHANGELOG.md
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Just go to /rules
folder, create a new file and export as default one function receiving context
and write the condition.
module.exports = function(context) {
return {
....
context.report({ /*... something */ })
}
}
In order to make it easy, there're two interesting tools:
Plus: Always to remember to update this readme and create unit tests when adding a new custom rule.
Reference: https://medium.com/@btegelund/creating-an-eslint-plugin-87f1cb42767f
FAQs
An eslint-plugin for PWA-Tenants custom rules
The npm package eslint-plugin-quintoandar receives a total of 42 weekly downloads. As such, eslint-plugin-quintoandar popularity was classified as not popular.
We found that eslint-plugin-quintoandar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.