Merge pull request #526 from mattermost/style-mods
Removing complexity rule. Removing check of camel case from property names
Этот коммит содержится в:
@@ -39,7 +39,7 @@
|
|||||||
"no-unexpected-multiline": 2,
|
"no-unexpected-multiline": 2,
|
||||||
|
|
||||||
"block-scoped-var": 1,
|
"block-scoped-var": 1,
|
||||||
"complexity": [1, 8],
|
"complexity": [0, 8],
|
||||||
"consistent-return": 2,
|
"consistent-return": 2,
|
||||||
"curly": [2, "all"],
|
"curly": [2, "all"],
|
||||||
"dot-notation": 2,
|
"dot-notation": 2,
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
// Style
|
// Style
|
||||||
"array-bracket-spacing": [2, "never"],
|
"array-bracket-spacing": [2, "never"],
|
||||||
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
|
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
|
||||||
"camelcase": [2, {"properties": "always"}],
|
"camelcase": [2, {"properties": "never"}],
|
||||||
"comma-spacing": [2, {"before": false, "after": true}],
|
"comma-spacing": [2, {"before": false, "after": true}],
|
||||||
"comma-style": [2, "last"],
|
"comma-style": [2, "last"],
|
||||||
"computed-property-spacing": [2, "never"],
|
"computed-property-spacing": [2, "never"],
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user