Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@equisoft/eslint-config-react
Advanced tools
Equisoft's React ESLint config, based on eslint-config-airbnb
This project hosts Equisoft's ESLint configuration for React projects.
The rules of this ESLint configuration uses AirBnB's packages, with some small overrides to make up Equisoft's flavor.
For Node projects, you should instead look at @equisoft/eslint-config which does not include React rules.
The versioning of this project respects semver. That means your project's package.json can caret (^
) import it.
Install the prerequisites.
Install the libraries in your project:
yarn add --dev @equisoft/eslint-config-react eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
Then create a .eslintrc.json file that uses Equisoft's configuration:
{
"extends": ["@equisoft/eslint-config-react"]
}
Finally create a script in your package.json to easily run ESLint:
{
"scripts": {
"eslint": "eslint src",
"eslint:ci": "yarn eslint"
}
}
Now you can use yarn eslint
to validate the code style of your Javascript files!
See here.
See here.
FAQs
Equisoft's React ESLint config, based on eslint-config-airbnb
The npm package @equisoft/eslint-config-react receives a total of 244 weekly downloads. As such, @equisoft/eslint-config-react popularity was classified as not popular.
We found that @equisoft/eslint-config-react 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.