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

eslint-config-mgol

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-mgol - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

23

eslint-config-mgol.js

@@ -16,3 +16,4 @@ 'use strict';

// Possible errors
'comma-dangle': ['error', 'always-multiline'],
'no-await-in-loop': 'error',
'no-compare-neg-zero': 'error',
'no-cond-assign': 'error',

@@ -54,2 +55,9 @@ 'no-console': 'off',

'class-methods-use-this': 'off',
'comma-dangle': ['error', {
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'always-multiline',
}],
complexity: ['warn', 10],

@@ -101,2 +109,3 @@ 'consistent-return': 'error',

'no-return-assign': 'error',
'no-return-await': 'error',
'no-script-url': 'error',

@@ -117,3 +126,5 @@ 'no-self-assign': 'error',

'no-with': 'error',
'prefer-promise-reject-errors': 'error',
radix: 'off',
'require-await': 'off',
'vars-on-top': 'off',

@@ -150,3 +161,3 @@ 'wrap-iife': ['error', 'inside'],

'no-restricted-modules': 'off',
'no-sync': 'off', // in some projects this might be useful
'no-sync': 'off', // In some projects this might be useful

@@ -158,2 +169,6 @@ // Stylistic issues

camelcase: 'off',
'capitalized-comments': ['error', 'always', {
ignoreInlineComments: true,
ignoreConsecutiveComments: true,
}],
'comma-spacing': 'error',

@@ -201,2 +216,3 @@ 'comma-style': 'error',

'no-mixed-spaces-and-tabs': 'error',
'no-multi-assign': 'off',
'no-multiple-empty-lines': ['error', {max: 2, maxEOF: 1}],

@@ -215,2 +231,3 @@ 'no-nested-ternary': 'error',

'no-whitespace-before-property': 'error',
'nonblock-statement-body-position': 'off',
'object-curly-newline': 'off',

@@ -246,2 +263,3 @@ 'object-curly-spacing': ['error', 'never'],

}],
'template-tag-spacing': ['error', 'never'],
'unicode-bom': ['error', 'never'],

@@ -271,2 +289,3 @@ 'wrap-regex': 'off',

'prefer-const': 'error',
'prefer-destructuring': 'off',
'prefer-numeric-literals': 'error',

@@ -273,0 +292,0 @@ 'prefer-spread': 'error',

4

package.json
{
"name": "eslint-config-mgol",
"version": "0.0.34",
"version": "0.0.35",
"description": "ESLint config for projects written by mgol",

@@ -29,3 +29,3 @@ "main": "eslint-config-mgol.js",

"devDependencies": {
"eslint": "3.9.1",
"eslint": "3.17.1",
"eslint-find-rules": "1.14.3"

@@ -32,0 +32,0 @@ },

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