eslint-plugin-react
Advanced tools
Comparing version 3.11.1 to 3.11.2
@@ -6,5 +6,17 @@ # Change Log | ||
## [3.11.2] - 2015-12-01 | ||
### Fixed | ||
* Allow numbers in `jsx-pascal-case` ([#339][]) | ||
* Fix `jsx-handler-names` crash with arrays ([#340][]) | ||
### Changed | ||
* Add allow-in-func option to `no-did-update-set-state` documentation | ||
[3.11.2]: https://github.com/yannickcr/eslint-plugin-react/compare/v3.11.1...v3.11.2 | ||
[#339]: https://github.com/yannickcr/eslint-plugin-react/issues/339 | ||
[#340]: https://github.com/yannickcr/eslint-plugin-react/issues/340 | ||
## [3.11.1] - 2015-11-29 | ||
### Fixed | ||
* Fix SVG attributes support for `no-unknown-property` ([#338][]) | ||
* Fix SVG attributes support for `no-unknown-property` ([#338][]) | ||
@@ -11,0 +23,0 @@ [3.11.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v3.11.0...v3.11.1 |
@@ -29,4 +29,4 @@ /** | ||
var subObjectType = valueNodeObject.object ? valueNodeObject.object.type : ''; | ||
var propertyName = valueNodeObject.property ? valueNodeObject.property.name : ''; | ||
var propValue = valueNode.property ? valueNode.property.name : ''; | ||
var propertyName = valueNodeObject.property && valueNodeObject.property.name ? valueNodeObject.property.name : ''; | ||
var propValue = valueNode.property && valueNode.property.name ? valueNode.property.name : ''; | ||
@@ -33,0 +33,0 @@ if (propertyName.length) { |
@@ -14,3 +14,3 @@ /** | ||
var PASCAL_CASE_REGEX = /^[A-Z]+[a-z]+(?:[A-Z]+[a-z]*)*$/; | ||
var PASCAL_CASE_REGEX = /^[A-Z0-9]+[a-z0-9]+(?:[A-Z0-9]+[a-z0-9]*)*$/; | ||
@@ -17,0 +17,0 @@ // ------------------------------------------------------------------------------ |
{ | ||
"name": "eslint-plugin-react", | ||
"version": "3.11.1", | ||
"version": "3.11.2", | ||
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "React specific linting rules for ESLint", |
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
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
157166