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

cjs-eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cjs-eslint-config - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

18

.eslintrc.js

@@ -20,2 +20,3 @@ /**

rules: {
'for-direction': 'error',
'comma-dangle': ['error', 'never'],

@@ -162,2 +163,3 @@ 'no-compare-neg-zero': 'warn',

'array-bracket-newline': ['error', {'multiline': true}],
'array-bracket-spacing': ['error', 'never'],

@@ -191,3 +193,2 @@ 'block-spacing': ['error', 'always'],

'lines-around-comment': 'off',
'lines-around-directive': ['error', 'always'],
'max-depth': ['error', 16],

@@ -204,4 +205,2 @@ 'max-len': ['error', {

'new-parens': 'error',
'newline-after-var': ['error', 'always'],
'newline-before-return': 'warn',
'newline-per-chained-call': ['error', {ignoreChainWithDepth: 8}],

@@ -231,2 +230,13 @@ 'no-array-constructor': 'error',

'padded-blocks': 'off',
'padding-line-between-statements': [
'error',
{blankLine: 'always', prev: '*', next: 'return'},
{blankLine: 'always', prev: ['const', 'let', 'var'], next: '*'},
{blankLine: 'always', prev: 'directive', next: '*'},
{blankLine: 'any', prev: 'directive', next: 'directive'},
{blankLine: 'always', prev: '*', next: 'export'},
{blankLine: 'always', prev: 'export', next: '*'},
{blankLine: 'always', prev: '*', next: 'try'},
{blankLine: 'always', prev: 'try', next: '*'}
],
'quote-props': ['error', 'as-needed'],

@@ -237,2 +247,3 @@ quotes: ['error', 'single', 'avoid-escape'],

'semi-spacing': ['error', {before: false, after: true}],
'semi-style': ['error', 'last'],
'sort-imports': 'off',

@@ -246,2 +257,3 @@ 'sort-vars': 'off',

'spaced-comment': 'off',
'switch-colon-spacing': ['error', {'after': true, 'before': false}],
'unicode-bom': ['error', 'never'],

@@ -248,0 +260,0 @@ 'wrap-regex': 'warn'

2

package.json
{
"name": "cjs-eslint-config",
"version": "1.0.2",
"version": "1.1.0",
"description": "General-purpose eslint linting rules.",

@@ -5,0 +5,0 @@ "author": {

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