Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eslint-config-xo-react
Advanced tools
ESLint shareable config for React to be used with eslint-config-xo
ESLint shareable config for React to be used with eslint-config-xo
npm install --save-dev eslint-config-xo eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks
Add some ESLint config to your package.json:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": [
"xo",
"xo-react"
]
}
}
Or to .eslintrc:
{
"extends": [
"xo",
"xo-react"
]
}
Use the space
sub-config if you want 2 space indentation instead of tabs:
{
"extends": [
"xo",
"xo-react/space"
]
}
You can also mix it with a XO sub-config:
{
"extends": [
"xo/esnext",
"xo-react"
]
}
$ npm install --save-dev eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks
{
"name": "my-awesome-project",
"xo": {
"extends": "xo-react"
}
}
FAQs
ESLint shareable config for React to be used with eslint-config-xo
The npm package eslint-config-xo-react receives a total of 29,322 weekly downloads. As such, eslint-config-xo-react popularity was classified as popular.
We found that eslint-config-xo-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.