Skip to content

Commit

Permalink
changelog + docs updates for #296
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed May 2, 2016
1 parent a17afb1 commit 518d80f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
- [`newline-after-import`], new rule. ([#245], thanks [@singles])
- Added an `optionalDependencies` option to [`no-extraneous-dependencies`] to allow/forbid optional dependencies ([#266], thanks [@jfmengels]).

### Fixed
- [`extensions`]: fallback to source path for extension enforcement if imported
module is not resolved. Also, never report for builtins (i.e. `path`). ([#296])

## resolvers/webpack/0.2.4 - 2016-04-29
### Changed
- automatically find webpack config with `interpret`-able extensions ([#287], thanks [@taion])
Expand Down Expand Up @@ -190,6 +194,7 @@ for info on changes for earlier releases.
[`named`]: ./docs/rules/named.md
[`newline-after-import`]: ./docs/rules/newline-after-import.md

[#296]: https://github.com/benmosher/eslint-plugin-import/pull/296
[#289]: https://github.com/benmosher/eslint-plugin-import/pull/289
[#288]: https://github.com/benmosher/eslint-plugin-import/pull/288
[#287]: https://github.com/benmosher/eslint-plugin-import/pull/287
Expand Down
4 changes: 4 additions & 0 deletions docs/rules/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ import bar from './bar';
import Component from './Component'

import express from 'express/index';

import * as path from 'path';
```

The following patterns are considered problems when configuration set to "always":
Expand All @@ -78,6 +80,8 @@ import bar from './bar.json';
import Component from './Component.jsx'

import express from 'express/index.js';

import * as path from 'path';
```

## When Not To Use It
Expand Down

0 comments on commit 518d80f

Please sign in to comment.