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

eslint-config-scm

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-scm - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

14

lib/rules.js

@@ -125,3 +125,3 @@ /**

// 'no-undefined': 'off',
// 'no-unused-vars': 'off',
'no-unused-vars': 'warn',
'no-use-before-define': 'error',

@@ -131,3 +131,3 @@

// 'callback-return': 'off',
'global-require': 'error',
'global-require': 'off',
'handle-callback-err': ['error', '^.*(e|E)rr(or)?$'],

@@ -148,3 +148,9 @@ // 'no-mixed-requires': 'off',

// 'capitalized-comments': 'off',
'comma-dangle': ['error', 'never'],
"comma-dangle": ["error", {
"arrays": "never",
"objects": "ignore",
"imports": "ignore",
"exports": "ignore",
"functions": "ignore"
}],
'comma-spacing': 'error',

@@ -250,3 +256,3 @@ //'comma-style': 'off',

'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
'prefer-destructuring': 'error',
'prefer-destructuring': ['warn', { 'object': true, 'array': false }],
'prefer-numeric-literals': 'error',

@@ -253,0 +259,0 @@ 'prefer-rest-params': 'error',

{
"name": "eslint-config-scm",
"version": "1.0.3",
"version": "1.0.5",
"description": "Common code style for scm",

@@ -5,0 +5,0 @@ "main": "index.js",

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