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

Commit 29e98b3

Browse files
committed
Misc: add 2.3.1 changelog
1 parent a5f0a1a commit 29e98b3

1 file changed

Lines changed: 84 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 84 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,85 @@
1-
## [Version 2.3.0](https://github.com/jscs-dev/node-jscs/compare/v2.2.1...v2.3.0) (10-07-2015):
1+
## Version [2.3.1](https://github.com/jscs-dev/node-jscs/compare/v2.3.0...v2.3.1) (10-14-2015):
2+
3+
A bunch of bug fixes in this release!
4+
5+
### The Future
6+
7+
We are probably going to start 3.0 for the next release (mainly integrating [CST](https://github.com/cst/cst) into JSCS). If you want to know more about CST check out the [previous changelog](https://github.com/jscs-dev/node-jscs/blob/master/CHANGELOG.md#-つ-_-つ--give-cst).
8+
9+
Our current plan is to move our 3.0/cst branch to master and then create a 2.x branch to continue to release bug fixes / contributer PRs. The core team will be mainly focused on tackling issues on our [3.0 roadmap](https://github.com/jscs-dev/node-jscs/issues/1854) (which we are still planning). We would love to hear your feedback on what you think should be in 3.0 and beyond!
10+
11+
### Bug Fixes:
12+
13+
* [`disallowMultipleVarDecl`](http://jscs.info/rule/disallowMultipleVarDecl) - improve `{"allExcept": ["require"]}` logic (ValYouW)
14+
15+
```js
16+
// Allow MemberExpressions: require('a').b.c;
17+
var fs = require('fs');
18+
var Emitter = require('events').EventEmitter;
19+
```
20+
21+
* [`disallowSpaceAfterObjectKeys`](http://jscs.info/rule/disallowSpaceAfterObjectKeys) - Allow no space after key with `align` option. (Andrey Ermakov)
22+
23+
24+
```js
25+
// this should be allowed
26+
var f = {
27+
"name": 1,
28+
"x": 2
29+
};
30+
```
31+
32+
* [`disallowUnusedParams`](http://jscs.info/rule/disallowUnusedParams) - correctly output unused param name (Oleg Gaidarenko)
33+
34+
```js
35+
// Should output:
36+
// Param unusedParam is not used at input
37+
var a = function(unusedParam) {}
38+
```
39+
40+
* [`requireDollarBeforejQueryAssignment`](http://jscs.info/rule/requireDollarBeforejQueryAssignment) - validate all keys (Brian Dixon)
41+
42+
```js
43+
// check all keys
44+
var x = {
45+
bar: 1,
46+
foo: $(".foo") // error here
47+
};
48+
```
49+
50+
* [`requireDollarBeforejQueryAssignment`](http://jscs.info/rule/requireDollarBeforejQueryAssignment) - Ignore array
51+
destructuring (Simen Bekkhus)
52+
53+
```js
54+
// Don't error with this
55+
const [beep, boop] = meep;
56+
var $s = $("#id")
57+
```
58+
59+
* `CLI` - "auto-configure" argument should always be at the end
60+
(Oleg Gaidarenko)
61+
62+
```bash
63+
// correct autoconfigure args
64+
jscs --autoconfigure ./files/here
65+
```
66+
67+
* `js-file` - make parser not confuse token types (Oleg Gaidarenko)
68+
69+
```js
70+
// Fixes issues with keywords like with
71+
class A {
72+
catch() {}
73+
}
74+
```
75+
76+
Again, a big thanks to everything using [JSCS](jscs.info)! Definitely continue to report any bugs and new ideas! We always appreciate any help/PRs!
77+
78+
We'll probably be moving more of the new rule/option issues to [`orphaned`](https://github.com/jscs-dev/node-jscs/issues?q=label%3Aorphaned+is%3Aclosed) which just means that they are on hold but anyone can still PR it or reopen it later. Remember to tweet at us at [@jscs_dev](https://twitter.com/jscs_dev) and chat with us on our [gitter room](https://gitter.im/jscs-dev/node-jscs)!
79+
80+
@hzoo
81+
82+
## Version [2.3.0](https://github.com/jscs-dev/node-jscs/compare/v2.2.1...v2.3.0) (10-07-2015):
283

384
A quick update! A few more rules, preset updates, and bug fixes!
485

@@ -83,7 +164,7 @@ Again, a big thanks to everything using JSCS! Definitely continue to report any
83164
* Misc: Update CHANGELOG.md (Craig Klementowski)
84165
* Misc: Use Chai (Marat Dulin)
85166

86-
## [Version 2.2.1](https://github.com/jscs-dev/node-jscs/compare/v2.2.0...v2.2.1) (09-29-2015):
167+
## Version [2.2.1](https://github.com/jscs-dev/node-jscs/compare/v2.2.0...v2.2.1) (09-29-2015):
87168

88169
### Bug Fix:
89170

@@ -92,7 +173,7 @@ Quick fix related to checker not returning correctly with excluded files.
92173
- [`f12830a`](https://github.com/jscs-dev/node-jscs/commit/f12830a469959f3543c51bfc632fe37292ea6d09) [#1816](https://github.com/jscs-dev/node-jscs/issues/1816)
93174
- Internal: `Checker` - return correct arguments for excluded files ([markelog](https://github.com/markelog))
94175

95-
## [Version 2.2.0](https://github.com/jscs-dev/node-jscs/compare/v2.1.1...v2.2.0) (09-28-2015):
176+
## Version [2.2.0](https://github.com/jscs-dev/node-jscs/compare/v2.1.1...v2.2.0) (09-28-2015):
96177

97178
Again, it's been way too long since the last version; we're going to be releasing more often in the future!
98179

0 commit comments

Comments
 (0)