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.27 to 0.0.28

17

eslint-config-mgol.js

@@ -5,3 +5,3 @@ 'use strict';

parserOptions: {
ecmaVersion: 7,
ecmaVersion: 2016,
},

@@ -36,3 +36,2 @@

'no-irregular-whitespace': 'error',
'no-negated-in-lhs': 'error',
'no-obj-calls': 'error',

@@ -42,5 +41,7 @@ 'no-prototype-builtins': 'error',

'no-sparse-arrays': 'error',
'no-template-curly-in-string': 'error',
'no-unreachable': 'error',
'use-isnan': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'valid-jsdoc': 'off', // TODO enable?

@@ -54,2 +55,3 @@ 'valid-typeof': 'error',

'block-scoped-var': 'off',
'class-methods-use-this': 'off',
complexity: ['warn', 10],

@@ -77,2 +79,3 @@ 'consistent-return': 'error',

'no-floating-decimal': 'error',
'no-global-assign': 'error',
'no-implicit-coercion': ['error', {boolean: false, number: true, string: false}],

@@ -89,3 +92,2 @@ 'no-implicit-globals': 'error',

'no-multi-str': 'error',
'no-native-reassign': 'error',
'no-new-func': 'error',

@@ -159,2 +161,3 @@ 'no-new-wrappers': 'error',

'eol-last': 'error',
'func-call-spacing': ['error', 'never'],
'func-names': 'off',

@@ -200,3 +203,2 @@ 'func-style': ['error', 'expression'],

'no-restricted-syntax': 'off',
'no-spaced-func': 'error',
'no-tabs': 'error',

@@ -221,4 +223,6 @@ 'no-ternary': 'off',

semi: 'error',
'sort-keys': 'off',
'sort-vars': 'off',
'sort-imports': 'off', // It sorts by the member syntax, not by module names
'symbol-description': 'error',
'space-before-blocks': 'error',

@@ -262,3 +266,8 @@ 'space-before-function-paren': ['error', {anonymous: 'always', named: 'never'}],

'yield-star-spacing': ['error', 'after'],
// Deprecated
'no-native-reassign': 'off',
'no-negated-in-lhs': 'off',
'no-spaced-func': 'off',
},
};
{
"name": "eslint-config-mgol",
"version": "0.0.27",
"version": "0.0.28",
"description": "ESLint config for projects written by mgol",

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

"devDependencies": {
"eslint": "3.2.2",
"eslint": "3.4.0",
"eslint-find-rules": "1.13.0"

@@ -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