
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
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
The npm package eslint-plugin-react-percy receives a total of 44 weekly downloads. As such, eslint-plugin-react-percy popularity was classified as not popular.
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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.