@clarkapp/eslint-config
Advanced tools
Comparing version 0.1.5 to 0.1.6
30
index.js
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7854
131