Skip to content

Commit

Permalink
Added test and note to CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubsta committed Oct 24, 2016
1 parent cd37890 commit 4c54e9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel

## [Unreleased]
### Fixed
- [`prefer-default-export`] handles flow `export type` ([#484])
- [`prefer-default-export`] handles re-exported default exports ([#609])
- Fix crash when using `newline-after-import` with decorators ([#592])
- Properly report `newline-after-import` when next line is a decorator
Expand Down
5 changes: 5 additions & 0 deletions tests/src/rules/prefer-default-export.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ ruleTester.run('prefer-default-export', rule, {
import * as foo from './foo';`,
}),

test({
code: `export type UserId = number;`,
parser: 'babel-eslint',
}),

// ...SYNTAX_CASES,
],
invalid: [
Expand Down

0 comments on commit 4c54e9e

Please sign in to comment.