cjs-eslint-config
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -20,2 +20,3 @@ /** | ||
rules: { | ||
'for-direction': 'error', | ||
'comma-dangle': ['error', 'never'], | ||
@@ -162,2 +163,3 @@ 'no-compare-neg-zero': 'warn', | ||
'array-bracket-newline': ['error', {'multiline': true}], | ||
'array-bracket-spacing': ['error', 'never'], | ||
@@ -191,3 +193,2 @@ 'block-spacing': ['error', 'always'], | ||
'lines-around-comment': 'off', | ||
'lines-around-directive': ['error', 'always'], | ||
'max-depth': ['error', 16], | ||
@@ -204,4 +205,2 @@ 'max-len': ['error', { | ||
'new-parens': 'error', | ||
'newline-after-var': ['error', 'always'], | ||
'newline-before-return': 'warn', | ||
'newline-per-chained-call': ['error', {ignoreChainWithDepth: 8}], | ||
@@ -231,2 +230,13 @@ 'no-array-constructor': 'error', | ||
'padded-blocks': 'off', | ||
'padding-line-between-statements': [ | ||
'error', | ||
{blankLine: 'always', prev: '*', next: 'return'}, | ||
{blankLine: 'always', prev: ['const', 'let', 'var'], next: '*'}, | ||
{blankLine: 'always', prev: 'directive', next: '*'}, | ||
{blankLine: 'any', prev: 'directive', next: 'directive'}, | ||
{blankLine: 'always', prev: '*', next: 'export'}, | ||
{blankLine: 'always', prev: 'export', next: '*'}, | ||
{blankLine: 'always', prev: '*', next: 'try'}, | ||
{blankLine: 'always', prev: 'try', next: '*'} | ||
], | ||
'quote-props': ['error', 'as-needed'], | ||
@@ -237,2 +247,3 @@ quotes: ['error', 'single', 'avoid-escape'], | ||
'semi-spacing': ['error', {before: false, after: true}], | ||
'semi-style': ['error', 'last'], | ||
'sort-imports': 'off', | ||
@@ -246,2 +257,3 @@ 'sort-vars': 'off', | ||
'spaced-comment': 'off', | ||
'switch-colon-spacing': ['error', {'after': true, 'before': false}], | ||
'unicode-bom': ['error', 'never'], | ||
@@ -248,0 +260,0 @@ 'wrap-regex': 'warn' |
{ | ||
"name": "cjs-eslint-config", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "General-purpose eslint linting rules.", | ||
@@ -5,0 +5,0 @@ "author": { |
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
11200
246