eslint-config-kswedberg
Advanced tools
Comparing version 4.0.0 to 4.1.0
11
index.js
@@ -13,8 +13,5 @@ const rulesets = require('./rulesets'); | ||
parserOptions: { | ||
ecmaVersion: 2019, | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
impliedStrict: true, | ||
generators: false, | ||
}, | ||
ecmaFeatures: {impliedStrict: true}, | ||
}, | ||
@@ -27,7 +24,5 @@ env: { | ||
}, | ||
globals: { | ||
Modernizr: false, | ||
}, | ||
globals: {Modernizr: false}, | ||
rules: rules, | ||
}; |
{ | ||
"name": "eslint-config-kswedberg", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A shareable eslint config", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -62,5 +62,3 @@ module.exports.variables = { | ||
'warn', | ||
{ | ||
allowPattern: '^[a-z0-9]*_[_a-z0-9]*$', | ||
}, | ||
{allowPattern: '^[a-z0-9]*_[_a-z0-9]*$'}, | ||
], | ||
@@ -83,7 +81,3 @@ eqeqeq: ['error', 'smart'], | ||
'warn', | ||
{ | ||
exceptions: { | ||
VariableDeclarator: true, | ||
}, | ||
}, | ||
{exceptions: {VariableDeclarator: true}}, | ||
], | ||
@@ -94,5 +88,3 @@ 'no-multi-str': 'warn', | ||
'error', | ||
{ | ||
props: false, | ||
}, | ||
{props: false}, | ||
], | ||
@@ -144,5 +136,3 @@ 'no-proto': 'error', | ||
'warn', | ||
{ | ||
allowEmptyReject: true, | ||
}, | ||
{allowEmptyReject: true}, | ||
], | ||
@@ -184,2 +174,3 @@ 'wrap-iife': ['error', 'any'], | ||
MemberExpression: 0, | ||
ignoredNodes: ['TemplateLiteral'], | ||
}, | ||
@@ -199,35 +190,13 @@ ], | ||
overrides: { | ||
if: { | ||
after: true, | ||
}, | ||
else: { | ||
after: true, | ||
}, | ||
for: { | ||
after: true, | ||
}, | ||
while: { | ||
after: true, | ||
}, | ||
do: { | ||
after: true, | ||
}, | ||
switch: { | ||
after: true, | ||
}, | ||
case: { | ||
after: true, | ||
}, | ||
return: { | ||
after: true, | ||
}, | ||
try: { | ||
after: true, | ||
}, | ||
catch: { | ||
after: true, | ||
}, | ||
typeof: { | ||
after: true, | ||
}, | ||
if: {after: true}, | ||
else: {after: true}, | ||
for: {after: true}, | ||
while: {after: true}, | ||
do: {after: true}, | ||
switch: {after: true}, | ||
case: {after: true}, | ||
return: {after: true}, | ||
try: {after: true}, | ||
catch: {after: true}, | ||
typeof: {after: true}, | ||
}, | ||
@@ -247,5 +216,3 @@ }, | ||
'warn', | ||
{ | ||
newIsCap: true, | ||
}, | ||
{newIsCap: true}, | ||
], | ||
@@ -302,5 +269,3 @@ 'new-parens': 'warn', | ||
'warn', | ||
{ | ||
initialized: 'never', | ||
}, | ||
{initialized: 'never'}, | ||
], | ||
@@ -310,7 +275,5 @@ 'quote-props': ['warn', 'as-needed'], | ||
'warn', | ||
{ | ||
ignoreChainWithDepth: 3, | ||
}, | ||
{ignoreChainWithDepth: 3}, | ||
], | ||
'object-curly-newline': ['warn', {consistent: true}], | ||
'object-curly-newline': ['warn', {minProperties: 4, multiline: true}], | ||
'object-curly-spacing': ['warn', 'never'], | ||
@@ -347,5 +310,3 @@ quotes: ['warn', 'single'], | ||
'warn', | ||
{ | ||
svg: 'any', | ||
}, | ||
{svg: 'any'}, | ||
], | ||
@@ -352,0 +313,0 @@ 'vue/html-closing-bracket-newline': 'warn', |
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
9
11676
425