New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-no-react-component-snapshots

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-react-component-snapshots - npm Package Compare versions

Comparing version 0.0.1-security to 1.0.1

.eslintrc.js

36

package.json
{
"name": "eslint-plugin-no-react-component-snapshots",
"version": "0.0.1-security",
"description": "security holding package",
"repository": "npm/security-holder",
"dependencies": {}
"name": "eslint-plugin-no-react-component-snapshots",
"version": "1.0.1",
"description": "Disallows the use of React component snapshots.",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"author": "Riley Gowan",
"main": "lib/index.js",
"repository": "git://github.com/rileygowan/eslint-plugin-no-react-component-snapshots",
"scripts": {
"lint": "eslint .",
"test": "mocha tests --recursive"
},
"dependencies": {
"requireindex": "^1.1.0"
},
"devDependencies": {
"eslint": "^7.1.0",
"eslint-plugin-eslint-plugin": "^3.2.0",
"eslint-plugin-node": "^11.0.0",
"mocha": "^9.0.0"
},
"engines": {
"node": "12.x || 14.x || >= 16"
},
"peerDependencies": {
"eslint": ">=6"
},
"license": "MIT"
}

@@ -1,7 +0,37 @@

# Security holding package
# eslint-plugin-no-react-component-snapshots
This package name is not currently in use, but was formerly occupied
by another package. To avoid malicious use, npm is hanging on to the
package name.
Disallows the use of React component snapshots.
## Installation
You'll first need to install [ESLint](https://eslint.org/):
```sh
npm i eslint --save-dev
```
Next, install `eslint-plugin-no-react-component-snapshots`:
```sh
npm install eslint-plugin-no-react-component-snapshots --save-dev
```
## Usage
Add `no-react-component-snapshots` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": ["no-react-component-snapshots"]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"no-react-component-snapshots/no-react-component-snapshots": 2
}
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc