Socket
Socket
Sign inDemoInstall

eslint-plugin-react

Package Overview
Dependencies
Maintainers
2
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react - npm Package Versions

1
21

6.0.0-alpha.1

Diff

yannickcr
published 5.2.2 •

Changelog

Source

[5.2.2] - 2016-06-17

Fixed

  • Fix [jsx-no-bind][] crash ([#641][])
yannickcr
published 5.2.1 •

Changelog

Source

[5.2.1] - 2016-06-17

Fixed

  • Fix [jsx-pascal-case][] for namespaced components ([#637][] @evcohen)
yannickcr
published 5.2.0 •

Changelog

Source

[5.2.0] - 2016-06-17

Added

  • Add [require-optimization][] rule ([#240][] @EvNaverniouk)
  • Add [jsx-filename-extension][] rule ([#495][] @lencioni)
  • Add [no-render-return-value][] rule ([#531][] @iamdustan)
  • Add [no-comment-textnodes][] rule ([#616][] @benvinegar)
  • Add objectLiterals option to [jsx-curly-spacing][] ([#388][], [#211][] @casesandberg @ljharb)
  • Add option to [self-closing-comp][] to check html tags ([#572][] @gitim)
  • Add ignore option to [no-unknown-property][] rule ([#631][] @insin)
  • Add support for ES7 bind operator to [jsx-handler-names][] ([#630][])
  • Add support for explicit declaration that class extends React.Component ([#68][] @gausie)

Fixed

  • Fix [jsx-closing-bracket-location][] multiline prop support ([#493][] @tuures)
  • Fix [prop-types][] for props that where not assigned to the right component ([#591][])
  • Fix [display-name][] when JSON style is used for defining components ([#590][] @gitim)
  • Fix [jsx-no-bind][] for bind detection in render when assigned to a variable ([#474][] @petersendidit)
  • Fix [jsx-curly-spacing][] for spread operator ([#606][] @gitim)
  • Fix [sort-comp][] crash on spread operator ([#624][])
  • Fix [prop-types][] crash when destructuring props with spread only

Changed

  • Update dependencies
  • Add doctrine as a dependency ([#68][] @gausie)
  • Add jsx-ast-utils as a dependency ([#634][] @evcohen)
  • Documentation improvements ([#594][] @lencioni, [#598][] @mLuby, [#633][] @appsforartists)
yannickcr
published 5.1.1 •

Changelog

Source

[5.1.1] - 2016-05-10

Fixed

  • Fix [require-render-return][] crash ([#589][])
yannickcr
published 5.1.0 •

Changelog

Source

[5.1.0] - 2016-05-10

Added

  • Add [jsx-no-target-blank][] rule ([#582][] @Gasparila)
  • Add allowAllCaps and ignore options to [jsx-pascal-case][] ([#575][])
  • Add class properties support to [require-render-return][] ([#564][])

Fixed

  • Fix [jsx-closing-bracket-location][] fixer ([#533][] @dtinth)
  • Fix [require-render-return][] to only check valid render methods ([#563][])
  • Fix detection to allow simple this usage in fonctional components ([#576][])
  • Fix [forbid-prop-types][] crash ([#579][])
  • Fix comment handling in [jsx-curly-spacing][] ([#584][])

Changed

  • Update dependencies
  • Documentation improvements (@coryhouse, [#581][] @scurker, [#588][])
yannickcr
published 5.0.1 •

Changelog

Source

[5.0.1] - 2016-04-18

Fixed

  • Fix [require-render-return][] to not check stateless functions ([#550][])
yannickcr
published 5.0.0 •

Changelog

Source

[5.0.0] - 2016-04-17

Added

  • Add [jsx-first-prop-new-line][] rule ([#410][] @jseminck)

Breaking

  • Update rules for React 15:
    • Add warnings for LinkedStateMixin, ReactPerf.printDOM and ReactPerf.getMeasurementsSummaryMap in no-deprecated
    • Allow stateless components to return null in [prefer-stateless-function][]
    • Remove SVG attributes warnings ([#490][])

If you're still not using React 15 you can keep the old behavior by setting the React version to 0.14 in the shared settings.

Fixed

  • Rewrite [require-render-return][] rule ([#542][], [#543][])
  • Fix [prefer-stateless-function][] crash ([#544][])
  • Fix external propTypes handling ([#545][])
  • Do not mark inline functions in JSX as components ([#546][])

Changed

  • Update dependencies
  • Documentation improvements
yannickcr
published 4.3.0 •

Changelog

Source

[4.3.0] - 2016-04-07

Added

  • Add [require-render-return][] rule ([#482][] @shmuga)
  • Add auto fix for [jsx-equals-spacing][] ([#506][] @peet)
  • Add auto fix for [jsx-closing-bracket-location][] ([#511][] @KevinGrandon)

Fixed

  • Fix [prefer-stateless-function][] for conditional JSX ([#516][])
  • Fix [jsx-pascal-case][] to support single letter component names ([#505][] @dthielman)

Changed

  • Update dependencies
  • Documentation improvements ([#509][] @coryhouse, [#526][] @ahoym)
yannickcr
published 4.2.3 •

Changelog

Source

[4.2.3] - 2016-03-15

Fixed

  • Fix class properties retrieval in [prefer-stateless-function][] ([#499][])
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