eslint-plugin-standard
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -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" | ||
} | ||
] | ||
} |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28365
611