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.44 to 0.0.45

20

eslint-config-mgol.js

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

'no-template-curly-in-string': 'error',
'no-unexpected-multiline': 'error',
'no-unexpected-multiline': 'off',
'no-unreachable': 'error',

@@ -175,13 +175,6 @@ 'no-unsafe-finally': 'error',

'line-comment-position': 'off',
// Re-enable when commented out lines & ESLint pragmas work; was:
// ['error', {beforeBlockComment: true, beforeLineComment: true, allowBlockStart: true}],
'lines-around-comment': 'off',
'lines-between-class-members': 'error',
'max-depth': 'off',
'max-len': [
'error',
100,
4,
{ ignoreUrls: true, ignoreRegExpLiterals: true },
],
'max-len': 'off',
'max-lines': 'off',

@@ -200,6 +193,3 @@ 'max-lines-per-function': 'off',

'no-lonely-if': 'error',
'no-mixed-operators': [
'error',
{ groups: [['&&', '||']], allowSamePrecedence: true },
],
'no-mixed-operators': 'off',
'no-multi-assign': 'off',

@@ -232,2 +222,6 @@ 'no-nested-ternary': 'error',

},
{
selector: 'SequenceExpression',
message: 'Comma expressions are disallowed',
},
],

@@ -234,0 +228,0 @@ 'no-tabs': 'error',

{
"name": "eslint-config-mgol",
"version": "0.0.44",
"version": "0.0.45",
"description": "ESLint config for projects written by mgol",

@@ -39,4 +39,4 @@ "main": "eslint-config-mgol.js",

"ensure-prettier-rules-disabled": "eslint --print-config eslint-config-mgol.js | eslint-config-prettier-check",
"prettier-check": "prettier --check '**/*.{json,js,jsx,ts,tsx,md}'",
"prettier-format": "prettier --write '**/*.{json,js,jsx,ts,tsx,md}'",
"prettier-check": "prettier --check '**/*.{json,js,yml,yaml,md}'",
"prettier-format": "prettier --write '**/*.{json,js,yml,yaml,md}'",
"lint": "eslint . && npm run prettier-check",

@@ -51,7 +51,7 @@ "test": "npm run ensure-prettier-rules-disabled && npm run ensure-all-rules-specified && npm run lint"

"lint-staged": {
"*.{json,md}": [
"*.{json,yml,yaml,md}": [
"prettier --write",
"git add"
],
"*.{ts,tsx,js,jsx}": [
"*.js": [
"eslint --fix",

@@ -58,0 +58,0 @@ "prettier --write",

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