eslint-config-scm
Advanced tools
Comparing version 1.0.3 to 1.0.5
@@ -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", |
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
13848
394