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

@stylistic/eslint-plugin-plus

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.6.0-beta.0 to 2.6.0-beta.1

5

dist/type-generic-spacing.js

@@ -72,6 +72,7 @@ 'use strict';

const to = node.default.range[0];
if (sourceCode.text.slice(from, to) !== " = ") {
const span = sourceCode.text.slice(from, to);
if (!span.match(/(?:^|[^ ]) = (?:$|[^ ])/)) {
context.report({
*fix(fixer) {
yield fixer.replaceTextRange([from, to], " = ");
yield fixer.replaceTextRange([from, to], span.replace(/\s*=\s*/, " = "));
},

@@ -78,0 +79,0 @@ loc: {

2

dts/index.d.ts

@@ -13,3 +13,3 @@ import type { Linter, Rule } from 'eslint'

configs: {
'disable-legacy': Linter.FlatConfig
'disable-legacy': Linter.Config
}

@@ -16,0 +16,0 @@ }

{
"name": "@stylistic/eslint-plugin-plus",
"version": "2.6.0-beta.0",
"version": "2.6.0-beta.1",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",

@@ -42,7 +42,7 @@ "license": "MIT",

"dependencies": {
"@types/eslint": "^8.56.10",
"@typescript-eslint/utils": "^8.0.0-alpha.34"
"@types/eslint": "^9.6.0",
"@typescript-eslint/utils": "^8.0.0-alpha.54"
},
"devDependencies": {
"@typescript-eslint/rule-tester": "^8.0.0-alpha.34"
"@typescript-eslint/rule-tester": "^8.0.0-alpha.54"
},

@@ -49,0 +49,0 @@ "scripts": {

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