New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tslint-react

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-react - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

rules/jsxCurlySpacingRule.d.ts

2

package.json
{
"name": "tslint-react",
"version": "1.0.0",
"version": "1.1.0",
"description": "Lint rules related to React & JSX for TSLint",

@@ -5,0 +5,0 @@ "main": "tslint-react.json",

@@ -46,2 +46,5 @@ [![NPM version](https://badge.fury.io/js/tslint-react.svg)](https://www.npmjs.com/package/tslint-react)

```
- `jsx-curly-spacing` (since v1.1.0)
- Requires _or_ bans spaces between curly brace characters in JSX.
- Rule options: `["always", "never"]`
- `jsx-no-lambda`

@@ -72,1 +75,6 @@ - Creating new anonymous functions (with either the `function` syntax or ES2015 arrow syntax) inside the `render` call stack works against _pure component rendering_. When doing an equality check between two lambdas, React will always consider them unequal values and force the component to re-render more often than necessary.

We're happy to accept PRs for new rules, especially those marked as [Status: Accepting PRs](https://github.com/palantir/tslint-react/issues?q=is%3Aissue+is%3Aopen+label%3A%22Status%3A+Accepting+PRs%22). If submitting a PR, try to follow the same style conventions as the [core TSLint project](https://github.com/palantir/tslint).
### Changelog
See the Github [release history](https://github.com/palantir/tslint-react/releases).
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