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 0.3.2 to 0.4.0

rules/jsxNoMultilineJsRule.d.ts

2

package.json
{
"name": "tslint-react",
"version": "0.3.2",
"version": "0.4.0",
"description": "React-specific rules for TSLint",

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

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

- Rule options: _none_
- `jsx-self-close` (since v0.4.0)
- Enforces that JSX elements with no children are self-closing.
```ts
// bad
<div className="foo"></div>
// good
<div className="foo" />
```
- Rule options: _none_

@@ -55,0 +64,0 @@ ### Development

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