Socket
Socket
Sign inDemoInstall

eslint-plugin-react

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

## [3.4.1] - 2015-09-17
### Fixed
* Fix `jsx-quotes` rule deprecation message ([#220][])
[3.4.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v3.4.0...v3.4.1
[#220]: https://github.com/yannickcr/eslint-plugin-react/issues/220
## [3.4.0] - 2015-09-16

@@ -8,0 +15,0 @@ ### Added

12

lib/rules/jsx-quotes.js

@@ -26,2 +26,4 @@ /**

var isWarnedForDeprecation = false;
// ------------------------------------------------------------------------------

@@ -46,4 +48,10 @@ // Rule Definition

Program: function(node) {
context.report(node, 'The react/jsx-quotes rule is deprecated. Please use the jsx-quotes rule instead.');
Program: function() {
if (isWarnedForDeprecation) {
return;
}
/* eslint-disable no-console */
console.log('The react/jsx-quotes rule is deprecated. Please use the jsx-quotes rule instead.');
/* eslint-enable no-console */
isWarnedForDeprecation = true;
},

@@ -50,0 +58,0 @@

2

package.json
{
"name": "eslint-plugin-react",
"version": "3.4.0",
"version": "3.4.1",
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",

@@ -5,0 +5,0 @@ "description": "React specific linting rules for ESLint",

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