Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 1d780c1

Browse files
committed
Misc: add 2.3.5 changelog
1 parent b14b5f7 commit 1d780c1

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
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

0 commit comments

Comments
 (0)