![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.
@wang1212/eslint-config
Advanced tools
Community-recommended best practices for [ESLint](https://eslint.org/) rule configuration.(Use with [Prettier](https://prettier.io/))
English | 简体中文
🔧 Community-recommended best practices for ESLint rule configuration.(Use with Prettier)
npm install --save-dev @wang1212/eslint-config
Install peerDependencies
:
npm install --save-dev eslint
npm install --save-dev --save-exact prettier
Create a .prettierrc.yml file in the project root directory and configure the following:
# see docs: https://prettier.io/docs/en/configuration.html
# prettier config
printWidth: 80
tabWidth: 2
useTabs: false
singleQuote: true
semi: true
endOfLine: 'lf'
This is just a recommended configuration and can be adjusted to your liking.
Then you need to add @wang1212/eslint-config
in your .eslintrc.json:
{
"extends": ["@wang1212/eslint-config"]
}
The rule configuration of ESLint can be configured and covered according to your own requirements, please refer to the official documentation.
@wang1212/eslint-config
(Base JavaScript configuration)This configuration is for basic JavaScript, based on the Airbnb JavaScript Style Guide, JSDoc, SonarJS.
Adopt community commit format best practices:
# Before
git commit
# Now
npm run commit
This constraint relies on tools commitizen and commitlint provided by the community.
The version management of this module adopts the specifications recommended by the community Semantic Versioning. Follow version changes and maintain a CHANGELOG.md(Learn why).
# Update version and generate changelog before publishing to npm repository
npm run release # npm run release -- --first-release
# Or, preview
npm run release -- --dry-run
# Then
npm publish # npm publish --access public
These jobs are done with the help of standard-version tool provided by the community.
MIT.
FAQs
Community-recommended best practices for [ESLint](https://eslint.org/) rule configuration.(Use with [Prettier](https://prettier.io/))
We found that @wang1212/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.