@tensor-corp/eslint-config
Advanced tools
Comparing version 2.0.2 to 2.0.3
14
base.js
@@ -281,3 +281,3 @@ 'use strict'; | ||
'max-lines-per-function': 'off', | ||
'max-nested-callbacks': ['warn', 3], | ||
'max-nested-callbacks': ['warn', 4], | ||
'max-params': 'off', | ||
@@ -321,3 +321,3 @@ 'max-statements': 'off', | ||
'no-negated-condition': 'off', | ||
'no-nested-ternary': 'warn', | ||
'no-nested-ternary': 'off', | ||
'no-new-object': 'warn', | ||
@@ -335,11 +335,3 @@ 'no-plusplus': 'off', | ||
], | ||
'no-underscore-dangle': [ | ||
'warn', | ||
{ | ||
allow: [], | ||
allowAfterThis: true, | ||
allowAfterSuper: true, | ||
enforceInMethodNames: false | ||
} | ||
], | ||
'no-underscore-dangle': 'off', | ||
'no-unneeded-ternary': ['warn', { defaultAssignment: false }], | ||
@@ -346,0 +338,0 @@ 'no-whitespace-before-property': 'warn', |
@@ -0,1 +1,6 @@ | ||
2.0.3 | ||
================== | ||
- Отключил проверки no-nested-ternary, no-underscore-dangle. | ||
- В инспекции 'max-nested-callbacks' увеличил допустимое количество вложенных колбеков до 4. | ||
2.0.2 | ||
@@ -2,0 +7,0 @@ ================== |
{ | ||
"name": "@tensor-corp/eslint-config", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Tensor company's ESLint config, following our styleguide", | ||
@@ -5,0 +5,0 @@ "author": "Aleksey Begunov (https://twitter.com/@catwithapple)", |
21431
560