![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.
@stylistic/stylelint-plugin
Advanced tools
An updatable collection of stylistic rules for Stylelint (in plugin form).
Stylelint has removed 76 rules that enforce stylistic conventions. This project returns these rules to keep styles consistent with your codeguide. In addition, new rules may be added in the future.
Add @stylistic/stylelint-plugin
and stylelint
itself to your project:
npm add -D stylelint @stylistic/stylelint-plugin
Create the .stylelintrc
config file (or open the existing one), add @stylistic/stylelint-plugin
to the plugins array and the rules you need to the rules list. All rules from @stylistic/stylelint-plugin
need to be namespaced with @stylistic/
:
{
"plugins": [
"@stylistic/stylelint-plugin"
],
"rules": {
// syntax rules from stylelint:
"color-function-notation": "modern",
"selector-max-compound-selectors": 2,
// stylistic rules from @stylistic/stylelint-plugin:
"@stylistic/color-hex-case": "lower",
"@stylistic/number-leading-zero": "always",
"@stylistic/unit-case": "lower"
}
}
To avoid listing a lot of rules, you can use @stylistic/stylelint-config
, which returns the stylistic rules removed in stylelint-config-standard
and stylelint-config-recommended
.
Please refer to Stylelint docs for detailed info on using this linter.
ESLint deprecates stylistic rules, too. But you can continue to use them thanks to ESLint Stylistic.
FAQs
A collection of stylistic/formatting Stylelint rules
We found that @stylistic/stylelint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.