Skip to content

Commit cc02df3

Browse files
authored
Enable testing overrides (#9)
1 parent ac0ee3c commit cc02df3

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
### Removed
1313

14+
## [2.3.0] - 2017-10-29
15+
### Changed
16+
* `padding-line-between-statements` - multiple exports don't need new lines.
17+
* `array-element-newline` - disabled for tests
18+
* `array-bracket-newline` - disabled for tests
19+
1420
## [2.2.0] - 2017-10-29
1521
### Added
1622

index.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ module.exports = {
284284
{blankLine: 'always', prev: '*', next: 'function'},
285285
{blankLine: 'always', prev: '*', next: 'export'},
286286
{blankLine: 'always', prev: '*', next: 'cjs-export'},
287-
{blankLine: 'always', prev: 'cjs-import', next: '*'},
287+
{blankLine: 'any', prev: 'cjs-export', next: 'cjs-export'},
288+
{blankLine: 'any', prev: 'cjs-import', next: '*'},
288289
{blankLine: 'any', prev: 'cjs-import', next: 'cjs-import'}
289290
],
290291
'for-direction': 'error',
@@ -315,16 +316,18 @@ module.exports = {
315316
{blankLine: 'always', prev: 'directive', next: '*'},
316317
{blankLine: 'any', prev: ['for', 'do', 'while'], next: '*'},
317318
{blankLine: 'any', prev: '*', next: 'for'},
318-
{blankLine: 'always', prev: 'import', next: '*'},
319+
{blankLine: 'any', prev: 'import', next: '*'},
319320
{blankLine: 'any', prev: 'import', next: 'import'},
320321
{blankLine: 'any', prev: 'if', next: '*'},
321322
{blankLine: 'any', prev: 'function', next: '*'},
322323
{blankLine: 'any', prev: '*', next: 'function'},
323-
{blankLine: 'always', prev: '*', next: 'export'},
324-
{blankLine: 'always', prev: '*', next: 'cjs-export'},
325-
{blankLine: 'always', prev: 'cjs-import', next: '*'},
324+
{blankLine: 'any', prev: '*', next: 'export'},
325+
{blankLine: 'any', prev: '*', next: 'cjs-export'},
326+
{blankLine: 'any', prev: 'cjs-import', next: '*'},
326327
{blankLine: 'any', prev: 'cjs-import', next: 'cjs-import'}
327-
]
328+
],
329+
'array-element-newline': 'off',
330+
'array-bracket-newline': 'off'
328331
}
329332
}
330333
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-tc",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "ESLint shareable config for TC's projects",
55
"keywords": [
66
"eslintconfig",

0 commit comments

Comments
 (0)