Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
2.1.0 / 2017-05-11
==================
General refresh pulling in feedback from developers, and various new updates from airbnb standards.

**General**
- Some minor cleanup of descriptions and code examples.

**Variables**
- 2.7 Added rule to discourage chaining assignments

**Objects**
- 3.8 Added new rule to prefer the object spread operator to copy Objects

**Arrays**
- 4.6 Added new rule to encourage line breaks after open and close array brackets

**Strings**
- 6.2 Modified rule to encourage long strings on a single line, instead of forbidding them

**Functions**
- 7.3 Added better caution around when and when not to use default parameters
- 7.11 Modified early exit rule to encourage a single return at the end of the function, unless asserting guard condition

**Classes**
- 9.5 Added rule to discourage duplicate class member declarations

**Modules**
- 10.4 Removed rule relating to exporting directly from an import, since it didn't add value

**Comparison**
- 13.3 Combined two separate rules relating to shortcut syntax into one single rule

**Whitespace**
- 16.13 Clarified that max line length of 100 characters apply to function code only, not strings

**Commas**
- 17.2 Revised rule to clarify that trailing commas are not required for single line arrayys/objects

**Asynchronous Operations**
- 23.2 Added new preferred example using `await`

**ESlint**
- Updated ruleset to comply with eslint 3.19.0 and babel-eslint 7.2.2
- Updated deprecated option for `eqeqeq`
- Added ignore options for `no-param-assign`
- Added `no-use-before-define` rule
- Added `no-global-assign` rule
- Added `no-unused-vars` rule
- Modified `max-len` rule to ignore long strings
- Added `rest-spread-spacing` rule

2.0.1 / 2016-06-09
==================
Published initial version of ESLint ruleset to enforce standards.
Expand Down
Loading