Socket
Socket
Sign inDemoInstall

@stylistic/eslint-plugin-jsx

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylistic/eslint-plugin-jsx - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0-beta.0

9

dist/configs.js

@@ -22,5 +22,10 @@ 'use strict';

function createAllConfigs(plugin, name, flat) {
function createAllConfigs(plugin, name, flat, filter) {
const rules = Object.fromEntries(
Object.keys(plugin.rules).map((key) => [`${name}/${key}`, 2])
Object.entries(plugin.rules).filter(
([key, rule]) => (
// Only include fixable rules
rule.meta.fixable && !rule.meta.deprecated && key === rule.meta.docs.url.split("/").pop() && (!filter || filter(key, rule))
)
).map(([key]) => [`${name}/${key}`, 2])
);

@@ -27,0 +32,0 @@ if (flat) {

@@ -15,3 +15,3 @@ 'use strict';

// category: 'Stylistic Issues',
url: utils.docsUrl("self-closing-comp")
url: utils.docsUrl("jsx-self-closing-comp")
},

@@ -18,0 +18,0 @@ fixable: "code",

{
"name": "@stylistic/eslint-plugin-jsx",
"version": "1.4.1",
"version": "1.5.0-beta.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",

@@ -61,3 +61,3 @@ "license": "MIT",

"estraverse": "^5.3.0",
"@stylistic/eslint-plugin-js": "^1.4.1"
"@stylistic/eslint-plugin-js": "^1.5.0-beta.0"
},

@@ -70,5 +70,5 @@ "devDependencies": {

"@babel/preset-react": "^7.23.3",
"@typescript-eslint/parser": "^6.11.0",
"@typescript-eslint/parser": "^6.13.1",
"babel-eslint": "^10.1.0",
"eslint": "^8.53.0",
"eslint": "^8.55.0",
"semver": "^7.5.4",

@@ -75,0 +75,0 @@ "typescript-eslint-parser": "^22.0.0"

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