🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

eslint-plugin-react-jsx

Package Overview
Dependencies
Maintainers
1
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-jsx - npm Package Compare versions

Comparing version
5.11.0
to
5.11.2
+3
-3
dist/index.js

@@ -7,3 +7,3 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";

import { AST_NODE_TYPES } from "@typescript-eslint/types";
import { Check, Extract, isOneOf } from "@eslint-react/ast";
import { Check, Extract } from "@eslint-react/ast";
import ts from "typescript";

@@ -30,3 +30,3 @@

var name$2 = "eslint-plugin-react-jsx";
var version = "5.11.0";
var version = "5.11.2";

@@ -297,3 +297,3 @@ //#endregion

function hasCommentLike(node) {
if (isOneOf([AST_NODE_TYPES.JSXAttribute, AST_NODE_TYPES.JSXExpressionContainer])(node.parent)) return false;
if (Check.isOneOf([AST_NODE_TYPES.JSXAttribute, AST_NODE_TYPES.JSXExpressionContainer])(node.parent)) return false;
return /^\s*\/(?:\/|\*)/mu.test(context.sourceCode.getText(node));

@@ -300,0 +300,0 @@ }

{
"name": "eslint-plugin-react-jsx",
"version": "5.11.0",
"version": "5.11.2",
"description": "ESLint React's ESLint plugin for React Flavored JSX rules.",

@@ -42,7 +42,7 @@ "keywords": [

"@typescript-eslint/utils": "^8.62.1",
"@eslint-react/ast": "5.11.0",
"@eslint-react/core": "5.11.0",
"@eslint-react/jsx": "5.11.0",
"@eslint-react/shared": "5.11.0",
"@eslint-react/eslint": "5.11.0"
"@eslint-react/eslint": "5.11.2",
"@eslint-react/ast": "5.11.2",
"@eslint-react/core": "5.11.2",
"@eslint-react/shared": "5.11.2",
"@eslint-react/jsx": "5.11.2"
},

@@ -56,4 +56,4 @@ "devDependencies": {

"typescript": "6.0.3",
"@local/configs": "0.0.0",
"@local/eff": "0.0.0"
"@local/eff": "0.0.0",
"@local/configs": "0.0.0"
},

@@ -60,0 +60,0 @@ "peerDependencies": {