Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-kswedberg

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-kswedberg - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

gitignore/index.js

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',

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