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

@clarkapp/eslint-config

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clarkapp/eslint-config - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

@@ -16,9 +16,37 @@ 'use strict';

/**
* ```js
* function* generator() {}
*
* function*() {}
* ```
*/
'generator-star-spacing': [
'error',
{ before: true, after: false, anonymous: 'neither' }
{ before: false, after: true, anonymous: 'neither' }
],
/**
* This enforces destructuring assignments, except for object destructuring
* assignment expressions, which would need to be wrapped in `()`.
*/
'prefer-destructuring': [
'error',
{
VariableDeclarator: {
array: true,
object: true
},
AssignmentExpression: {
array: true,
object: false
}
},
{
enforceForRenamedProperties: false
}
],
'class-methods-use-this': 'off'
}
};

@@ -46,23 +46,2 @@ 'use strict';

/**
* This enforces destructuring assignments, except for object destructuring
* assignment expressions, which would need to be wrapped in `()`.
*/
'prefer-destructuring': [
'error',
{
VariableDeclarator: {
array: true,
object: true
},
AssignmentExpression: {
array: true,
object: false
}
},
{
enforceForRenamedProperties: false
}
],
'valid-jsdoc': 'off',

@@ -69,0 +48,0 @@

{
"name": "@clarkapp/eslint-config",
"version": "0.1.5",
"version": "0.1.6",
"description": "Clark's base eslint-config",

@@ -34,3 +34,3 @@ "keywords": [

},
"gitHead": "8c547e01f1d5eaaa7fd49182155a2b02bf5a9a6c"
"gitHead": "8026759281b7f77692ee4054495793b29bad7ed1"
}