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.24 to 0.0.25

18

eslint-config-mgol.js

@@ -162,9 +162,13 @@ 'use strict';

'keyword-spacing': 'error',
// Re-enable when commented out lines * ESLint pragmas work; was:
// Re-enable when commented out lines & ESLint pragmas work; was:
// ['error', {beforeBlockComment: true, beforeLineComment: true, allowBlockStart: true}],
'lines-around-comment': 'off',
'linebreak-style': 'off',
'max-depth': 'off',
'max-len': ['error', 100, 4, {ignoreUrls: true}],
'max-lines': 'off',
'max-nested-callbacks': 'off',
'max-params': 'off',
'max-statements-per-line': ['error', {max: 1}],
'max-statements': 'off',
'multiline-ternary': 'off',

@@ -177,2 +181,3 @@ 'new-cap': 'off',

'no-array-constructor': 'error',
'no-bitwise': 'error',
'no-continue': 'off',

@@ -187,5 +192,5 @@ 'no-inline-comments': 'off',

'no-new-object': 'error',
'no-plusplus': 'off',
// Already handled via no-with; would be: ['error', 'WithStatement']:
'no-restricted-syntax': 'off',
'no-whitespace-before-property': 'error',
'no-spaced-func': 'error',

@@ -197,2 +202,3 @@ 'no-tabs': 'error',

'no-unneeded-ternary': 'error',
'no-whitespace-before-property': 'error',
'object-curly-newline': 'off',

@@ -251,11 +257,3 @@ 'object-curly-spacing': ['error', 'never'],

'yield-star-spacing': ['error', 'after'],
// Legacy
'max-depth': 'off',
'max-params': 'off',
'max-statements': 'off',
'max-statements-per-line': ['error', {max: 1}],
'no-bitwise': 'error',
'no-plusplus': 'off',
},
};
{
"name": "eslint-config-mgol",
"version": "0.0.24",
"version": "0.0.25",
"description": "ESLint config for projects written by mgol",

@@ -5,0 +5,0 @@ "main": "eslint-config-mgol.js",

@@ -18,3 +18,3 @@ # eslint-config-mgol

Then add the extends to your `.eslintrc`:
Then add the extends to your `.eslintrc.json`:

@@ -21,0 +21,0 @@ ```javascript

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