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

eslint-plugin-react

Package Overview
Dependencies
Maintainers
1
Versions
213
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 5.2.0 to 5.2.1

7

CHANGELOG.md

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

## [5.2.1] - 2016-06-17
### Fixed
* Fix `jsx-pascal-case` for namespaced components ([#637][] @evcohen)
[5.2.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v5.2.0...v5.2.1
[#637]: https://github.com/yannickcr/eslint-plugin-react/issues/637
## [5.2.0] - 2016-06-17

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

4

lib/rules/jsx-pascal-case.js

@@ -32,5 +32,7 @@ /**

// Get namespace if the type is JSXNamespacedName.
// Get namespace if the type is JSXNamespacedName or JSXMemberExpression
if (name.indexOf(':') > -1) {
name = name.substring(0, name.indexOf(':'));
} else if (name.indexOf('.') > -1) {
name = name.substring(0, name.indexOf('.'));
}

@@ -37,0 +39,0 @@

{
"name": "eslint-plugin-react",
"version": "5.2.0",
"version": "5.2.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