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

Commit 5063e3b

Browse files
committed
Prepare for version 1.11.0
1 parent bb1f2e9 commit 5063e3b

File tree

2 files changed

+66
-3
lines changed

2 files changed

+66
-3
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
## Version 1.11.0
2+
3+
### Preset Updates
4+
* Preset: add "requireSpaceBetweenArguments" rule to all presets (Oleg Gaidarenko)
5+
* Presets: Remove use of outdated validateJSDoc rule (Joel Kemp)
6+
* Preset: Add "requireSpacesInsideParentheses" to jquery preset (Oleg Gaidarenko)
7+
* Preset: switch multipleVarDecl rule in airbnb preset (Martin Bohal)
8+
* Preset: change value of "requireDotNotation" rule for jquery preset (Oleg Gaidarenko)
9+
10+
### New Config Options
11+
* Configuration: Auto-generation (Joel Kemp)
12+
* Config: Add support for custom Esprima options. (Chris Rebert)
13+
14+
### New Rules / Rule Values
15+
* New Rule: disallowKeywordsInComments (Joe Sepi)
16+
* New Rules: (require|disallow)SpacesInsideBrackets (Mike Sherov)
17+
* validateIndentation: new rule value - includeEmptyLines (Jonathan Gawrych)
18+
* disallowTrailingWhitespace: new rule value - ignoreEmptyLines (Jonathan Gawrych)
19+
* New Rule: disallowCurlyBraces (Henry Zhu)
20+
* requireCapitalizedConstructors: accept list of exempt constructors (Sam L'ecuyer)
21+
* validateIndentation: exception to indentation rules for module pattern (Mike Sherov)
22+
23+
### Bug Fixes
24+
* (require|disallow)SpacesInsideArrayBrackets: only check for ArrayExpressions (Mike Sherov)
25+
* JsFile: remove all duplicate tokens. (Mike Sherov)
26+
* ObjectExpression Rules: take into account shorthand syntax. (Mike Sherov)
27+
* disallowSpaceBeforeKeywords: don't report an error on back-to-back keywords (Mike Sherov)
28+
* requireParenthesesAroundIIFE: fix crash on semicolon-free IIFE (Yuheng Zhang)
29+
* Parsing: tolerate non-leading import statements (Chris Rebert)
30+
* requireCapitalizedComments: improve letter recognition (Mathias Bynens)
31+
* requireSpaces*: fix error message to 'Exactly one space required' (Henry Zhu)
32+
* StringChecker: leading hashbangs should still report correct error line numbers (Mike Sherov)
33+
* validateIndentation: don't check bracelets else indentation. (Mike Sherov)
34+
* validateIndentation: don't consider return when classifying break indentation (Mike Sherov)
35+
* validateIndentation: fix multiline while in doWhile statements (Mike Sherov)
36+
* validateIndentation: ensure pushes and pops are matching (Mike Sherov)
37+
* validateIndentation: ensure semicolon free indentations are on correct line (Mike Sherov)
38+
* SpaceBetweenArguments: catch call expression arguments (Oleg Gaidarenko)
39+
* token-assert: add check for document start to prevent crashes (Alexej Yaroshevich)
40+
* requireSpaceBeforeBlockStatements: reworded an error message (Alexej Yaroshevich)
41+
42+
### Infrastructure Changes
43+
* js-file: added getCommentAfter/BeforeToken functions (Alexej Yaroshevich)
44+
* cleanup: remove lib/token-helper (Mike Sherov)
45+
* JsFile: move getLinesWithCommentsRemoved from comment-helper (Mike Sherov)
46+
47+
### Misc.
48+
* disallowSpacesInsideArrayBrackets: fix rule name in example (Gustavo Henke)
49+
* Misc: update dependencies (Oleg Gaidarenko)
50+
* various rules: use tokenAssert (Henry Zhu)
51+
* Speed up builds by using Docker-based Travis CI (Pavel Strashkin)
52+
* 100% code coverage on various files(Mike Sherov)
53+
* disallowSpace(Before | After)Keywords: more tests (Alexej Yaroshevich)
54+
* requireCurlyBrace: more tests (Alexej Yaroshevich)
55+
* CLI: correct JSDoc comment (Oleg Gaidarenko)
56+
* requireQuotedKeysInObjects: fixing file permissions (Joe Sepi)
57+
* Changelog: correct version number (Oleg Gaidarenko)
58+
* Docs: add missed commit to the changelog (Oleg Gaidarenko)
59+
* Misc: .editorconfig - fix for invalid indent_style value (Dmitriy Schekhovtsov)
60+
* Update regenerate to ~1.2.1 (Chris Rebert)
61+
* Add description to commander CLI help (Chris Rebert)
62+
163
## Version 1.10.0
264
* Preset: correct wikimedia preset test (Oleg Gaidarenko)
365
* Preset: correct jquery preset test (Oleg Gaidarenko)

MAINTAIN.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ Publishing a new version
7575
Clean up the changelog by manually clarifying and reordering the messages. Ensure the changes are listed in following order:
7676
1. breaking changes.
7777
1. preset updates.
78-
1. new rules.
79-
1. new options.
78+
1. new CLI or config options.
79+
1. new rules or rule values.
8080
1. bug fixes.
81-
1. infrastructure or docs changes.
81+
1. infrastructure changes.
82+
1. tests-only, docs changes, contributor minutia.
8283
1. Commit the changelog update with the message: `Prepare for version x.x.x`.
8384
1. Set a new version and tag: `npm version x.x.x`.
8485
1. Push changes and tags: `git push && git push --tags`.

0 commit comments

Comments
 (0)