eslint-config-tui
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "eslint-config-tui", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "ESLint sharable config for TUI components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,3 @@ module.exports = { | ||
'no-div-regex': 2, | ||
'no-else-return': 2, | ||
'no-else-return': [2, {'allowElseIf': false}], | ||
'no-empty-pattern': 2, | ||
@@ -21,0 +21,0 @@ 'no-eq-null': 2, |
@@ -6,2 +6,3 @@ module.exports = { | ||
'getter-return': [2, {'allowImplicit': false}], | ||
'array-callback-return': ['error', { 'allowImplicit': false }], | ||
'no-cond-assign': [2, 'always'], | ||
@@ -8,0 +9,0 @@ 'no-console': 1, |
@@ -26,3 +26,3 @@ module.exports = { | ||
'prefer-const': [2, {'destructuring': 'any', 'ignoreReadBeforeAssign': true}], | ||
'prefer-destructuring': [2, {'array': true, 'object': true}, {'enforceForRenamedProperties': false}], | ||
'prefer-destructuring': [2, {'VariableDeclarator': {'array': true, 'object': true}, 'AssignmentExpression': {'array': true, 'object': true }}, {'enforceForRenamedProperties': false}], | ||
'prefer-numeric-literals': 2, | ||
@@ -29,0 +29,0 @@ 'prefer-reflect': 0, |
@@ -5,3 +5,3 @@ module.exports = { | ||
'array-bracket-spacing': [2, 'never'], | ||
'array-bracket-newline': 0, | ||
'array-bracket-newline': [2, 'consistent'], | ||
'array-element-newline': 0, | ||
@@ -14,3 +14,3 @@ 'block-spacing': [2, 'never'], | ||
'comma-spacing': [2, {'before': false, 'after': true}], | ||
'comma-style': [2, 'last'], | ||
'comma-style': [2, 'last', { "exceptions": { 'NewExpression': false}}], | ||
'computed-property-spacing': [2, 'never'], | ||
@@ -25,3 +25,3 @@ 'consistent-this': [2, 'self'], | ||
'id-match': 0, | ||
'indent': [2, 4, {'SwitchCase': 1}], | ||
'indent': [2, 4, {'SwitchCase': 1, 'ignoreComments': false, 'ImportDeclaration': 1, 'flatTernaryExpressions': false}], | ||
'jsx-quotes': [2, 'prefer-double'], | ||
@@ -56,3 +56,3 @@ 'key-spacing': [2, {'beforeColon': false, 'afterColon': true}], | ||
'no-ternary': 0, | ||
'no-trailing-spaces': [2, {'skipBlankLines': false, 'ignoreComments': false}], | ||
'no-trailing-spaces': [2, {'skipBlankLines': false, 'ignoreComments': true}], | ||
'no-underscore-dangle': 0, | ||
@@ -63,3 +63,3 @@ 'no-unneeded-ternary': 2, | ||
'object-curly-spacing': [2, 'never'], | ||
'object-property-newline': [2, {'allowMultiplePropertiesPerLine': false}], | ||
'object-property-newline': [2, {'allowAllPropertiesOnSameLine': false}], | ||
'one-var': 0, | ||
@@ -97,4 +97,8 @@ 'operator-assignment': 0, | ||
'max-statements-per-line': [2, {'max': 1}], | ||
'unicode-bom': [2, 'never'] | ||
'unicode-bom': [2, 'never'], | ||
'implicit-arrow-linebreak': [2, 'beside'], | ||
'function-paren-newline': 0, | ||
'multiline-comment-style': 0, | ||
'lines-between-class-members': [2, 'always'] | ||
} | ||
}; |
13668
318