Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@moltin/eslint-config
Advanced tools
![Coding Style](https://img.shields.io/badge/code_style-moltin-green.svg)
Based heavily on Airbnb JavaScript Style Guide with a few small tweaks.
The core configuration is designed for vanilla ES6 JavaScript, without any frameworks. We also have variations that are designed specifically for each framework below.
Install the npm package to your project
yarn add --dev @moltin/eslint-config
Create .eslintrc
with the following content.
{
"extends": "@moltin"
}
Create .eslintrc
with the following content.
{
"extends": [
"@moltin",
"@moltin/eslint-config/rules/react"
]
}
NOTE: The peer dependencies for React are not installed by default. You will need to the following dependnecies added to your project
yarn add --dev eslint-plugin-react
You can also configure react-a11y
which will help detect accesibility issues within your components.
{
"extends": [
"@moltin",
"@moltin/eslint-config/rules/react",
"@moltin/eslint-config/rules/react-a11y"
]
}
NOTE: The peer dependencies for React a11y are not installed by default. You will need to the following dependnecies added to your project
yarn add --dev eslint-plugin-react eslint-plugin-jsx-a11y
@moltin/eslint-config
FAQs
![Coding Style](https://img.shields.io/badge/code_style-moltin-green.svg)
We found that @moltin/eslint-config 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.