eslint-config-availity
Advanced tools
Comparing version 2.0.0-beta.11 to 2.0.0-beta.12
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15361
1