Security News
RubyGems.org Adds New Maintainer Role
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.
eslint-plugin-react-percy
Advanced tools
ESLint plugin for react-percy
.
$ yarn add --dev eslint eslint-plugin-react-percy
Note: If you installed ESLint globally then you must also install eslint-plugin-react-percy
globally.
Add react-percy
to the plugins section of your .eslintrc
configuration file:
{
"plugins": [
"react-percy"
]
}
You can whitelist the environment variables provided by react-percy
by doing:
{
"env": {
"react-percy/globals": true
}
}
If you're using ESLint v4.1.0 or later, you can instead scope the react-percy
environment variables to only react-percy
test files by doing:
{
"overrides": [
{
"files": [
"**/__percy__/**/.*.{js,jsx}",
"**/*.percy.{js,jsx}"
],
"env": {
"react-percy/globals": true
}
}
]
}
FAQs
ESLint rules for @percy/react
We found that eslint-plugin-react-percy 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.