Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-availity

Package Overview
Dependencies
Maintainers
2
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-availity - npm Package Compare versions

Comparing version 2.0.0-beta.11 to 2.0.0-beta.12

2

package.json
{
"name": "eslint-config-availity",
"version": "2.0.0-beta.11",
"version": "2.0.0-beta.12",
"description": "Shareable ESLint config for Availity projects",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -78,3 +78,3 @@ module.exports = {

// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-react.md
'react/jsx-uses-react': [2, { 'pragma': 'React' }],
'react/jsx-uses-react': 2,
// Prevent variables used in JSX to be incorrectly marked as unused

@@ -88,9 +88,9 @@ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-vars.md

// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-deprecated.md
'react/no-deprecated': [1, { 'react': '0.14.0' }],
'react/no-deprecated': 1,
// Prevent usage of setState in componentDidMount
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-did-mount-set-state.md
'react/no-did-mount-set-state': [2, 'allow-in-func'],
'react/no-did-mount-set-state': 2,
// Prevent usage of setState in componentDidUpdate
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-did-update-set-state.md
'react/no-did-update-set-state': [2, 'allow-in-func'],
'react/no-did-update-set-state': 2,
// Prevent direct mutation of this.state

@@ -97,0 +97,0 @@ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-direct-mutation-state.md

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