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

@silvermine/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silvermine/eslint-config - npm Package Compare versions

Comparing version 2.0.0-preview.2 to 2.0.0-rc1

21

index.js

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

{ blankLine: 'always', prev: [ 'var', 'let', 'const' ], next: '*' },
{ blankLine: 'always', prev: '*', next: 'return' },
],

@@ -218,3 +217,2 @@ 'no-array-constructor': 'error',

'one-var-declaration-per-line': 'error',
'quote-props': [ 'error', 'as-needed', { 'keywords': true, 'unnecessary': false } ],
'quotes': [ 'error', 'single' ],

@@ -224,3 +222,10 @@ 'semi': [ 'error', 'always' ],

'space-before-blocks': 'error',
'space-before-function-paren': [ 'error', 'never' ],
'space-before-function-paren': [
'error',
{
'anonymous': 'never',
'named': 'never',
'asyncArrow': 'always',
},
],
'space-in-parens': [ 'error', 'never' ],

@@ -234,3 +239,2 @@ 'space-infix-ops': 'error',

'prefer-template': 'error',
'template-curly-spacing': [ 'error', 'never' ],

@@ -304,3 +308,12 @@ 'object-property-newline': [ 'error', { 'allowAllPropertiesOnSameLine': true } ],

},
{
'files': [ '*.d.ts' ],
'rules': {
'no-unused-vars': 'off',
'typescript/no-namespace': 'off',
'typescript/no-empty-interface': 'off',
},
},
],
};

9

package.json
{
"name": "@silvermine/eslint-config",
"version": "2.0.0-preview.2",
"version": "2.0.0-rc1",
"description": "JS Code Standards for all SilverMine projects - eslint enforcement",

@@ -24,3 +24,3 @@ "main": "index.js",

"dependencies": {
"@silvermine/eslint-plugin-silvermine": "2.0.0-preview.1",
"@silvermine/eslint-plugin-silvermine": "2.0.0",
"eslint-plugin-typescript": "0.14.0",

@@ -32,4 +32,7 @@ "typescript": "3.0.3",

"grunt": "1.0.3",
"grunt-eslint": "20.1.0"
"grunt-eslint": "21.0.0"
},
"peerDependencies": {
"eslint": "5.x"
}
}

Sorry, the diff of this file is not supported yet

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