This repository was archived by the owner on Mar 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## Version [ 2.3.5] ( https://github.com/jscs-dev/node-jscs/compare/v2.3.4...v2.3.5 ) (10-19-2015):
2+
3+ Why not fix some more bugs!
4+
5+ ### Bug Fixes
6+ * Fix: ` requireSpacesInForStatement ` account for parenthesizedExpression (Henry Zhu)
7+
8+ ``` js
9+ // allows ()
10+ for (var i = 0 ; (! reachEnd && (i < elementsToMove)); i++ ) {
11+ ` ` `
12+
13+ * Fix: ` disallowCommaBeforeLineBreak` : fix for function params (Henry Zhu)
14+
15+ ` ` ` js
16+ // allows
17+ function a (b , c ) {
18+ console .log (' ' );
19+ }
20+ ` ` `
21+
22+ * Fix: ` requirePaddingNewLineAfterVariableDeclaration` - allow exported declarations (Henry Zhu)
23+
24+ ` ` ` js
25+ // allows
26+ export var a = 1 ;
27+ export let a = 1 ;
28+ export const a = 1 ;
29+ ` ` `
30+
31+ * Fix: ` disallowSpaceAfterKeywords` - fix issue with using default keyword list (Henry Zhu)
32+
33+ ` ` ` js
34+ // fixes autofix from `return obj` to `returnobj`
35+ ` ` `
36+
37+ * Fix: ` disallowTrailingComma` , ` requireTrailingComma` - support ObjectPattern and ArrayPattern (Henry Zhu)
38+
39+ ` ` ` js
40+ // disallow
41+ const { foo , bar } = baz;
42+ const [ foo , bar ] = baz;
43+
44+ // require
45+ const { foo , bar , } = baz;
46+ const [ foo , bar , ] = baz;
47+ ` ` `
48+
49+ @hzoo
50+
151## Version [2.3.4](https://github.com/jscs-dev/node-jscs/compare/v2.3.3...v2.3.4) (10-17-2015):
252
353### Bug Fixes
You can’t perform that action at this time.
0 commit comments