Socket
Socket
Sign inDemoInstall

eslint-plugin-standard

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-standard - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

1

index.js

@@ -0,1 +1,2 @@

/*! eslint-plugin-standard. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
'use strict'

@@ -2,0 +3,0 @@

{
"name": "eslint-plugin-standard",
"description": "ESlint Plugin for the Standard Linter",
"version": "4.0.1",
"author": "Jamund Ferguson <jamund@gmail.com>",
"version": "4.0.2",
"author": {
"name": "Feross Aboukhadijeh",
"email": "feross@feross.org",
"url": "https://feross.org"
},
"bugs": {

@@ -11,3 +15,3 @@ "url": "https://github.com/standard/eslint-plugin-standard/issues"

"devDependencies": {
"eslint": "^6.1.0",
"eslint": "^7.0.0",
"mocha": "^6.2.0",

@@ -32,3 +36,17 @@ "standard": "*"

"eslint": ">=5.0.0"
}
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
}

10

rules/array-bracket-even-spacing.js

@@ -38,4 +38,4 @@ 'use strict'

var options = {
either: either,
spaced: spaced,
either,
spaced,
singleElementException: isOptionSet('singleValue'),

@@ -147,3 +147,4 @@ objectsInArraysException: isOptionSet('objectsInArrays'),

(options.singleElementException && node.elements.length === 1)
? !options.spaced : options.spaced
? !options.spaced
: options.spaced

@@ -154,3 +155,4 @@ var closingBracketMustBeSpaced =

(options.singleElementException && node.elements.length === 1)
? !options.spaced : options.spaced
? !options.spaced
: options.spaced

@@ -157,0 +159,0 @@ // we only care about evenly spaced things

@@ -38,4 +38,4 @@ 'use strict'

var options = {
spaced: spaced,
either: either,
spaced,
either,
arraysInObjectsException: isOptionSet('arraysInObjects'),

@@ -140,3 +140,4 @@ objectsInObjectsException: isOptionSet('objectsInObjects')

(options.objectsInObjectsException && penultimate.value === '}')
? !options.spaced : options.spaced
? !options.spaced
: options.spaced

@@ -143,0 +144,0 @@ // we only care about evenly spaced things

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