![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@jungsoft/eslint-config
Advanced tools
Extensible shared config of JavaScript, ReactJS and React Native rules
This package provides extensible shared config of JavaScript, React and React Native rules
npx install-peerdeps --dev @jungsoft/eslint-config --yarn
npx install-peerdeps --dev @jungsoft/eslint-config
And remove the peer-dependencies according to the shareable config that you're using, for instance, the typescript config won't need the eslint-import-resolver-typescript
dependency
This package includes the following configurations:
@jungsoft
– The base rules of the config.@jungsoft
– The TypeScript config.@jungsoft/eslint-config/react
– Extends the base jungsoft configuration by adding React related rules.@jungsoft/eslint-config/react-native
– Extends the base jungsoft configuration by adding React Native related rules.Example:
Shareable config for JavaScript projects
{
"extends": [
"@jungsoft"
]
}
Shareable config for TypeScript projects
{
"extends": [
"@jungsoft",
"@jungsoft/eslint-config/typescript"
]
}
Shareable config for React projects
{
"extends": [
"@jungsoft/eslint-config/react"
]
}
Shareable config for React Native projects
{
"extends": [
"@jungsoft/eslint-config/react-native"
]
}
And you can also override/add rules according to your needs
{
extends: [
"@jungsoft",
],
plugins: ['react', 'jsx-a11y'],
rules: {
"react/prop-types": 1,
"jsx-a11y/anchor-is-valid": ["warn", {
components: ["Link"],
specialLink: ["to"],
}],
}
}
This project is under the MIT license.
Made with love by Laura Beatris and contributors at Jungsoft 💜🚀
FAQs
Extensible shared config of JavaScript, ReactJS and React Native rules
The npm package @jungsoft/eslint-config receives a total of 84 weekly downloads. As such, @jungsoft/eslint-config popularity was classified as not popular.
We found that @jungsoft/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
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.