Skip to content

Commit

Permalink
a code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
tizmagik committed Aug 31, 2016
1 parent 27c7675 commit 159034c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/max-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Forbid modules to have too many dependencies (`import` or `require` statements).

This is a useful rule because a module with too many dependencies is code smell, and usually indicates the module is doing too much and/or should be broken up into smaller modules.
This is a useful rule because a module with too many dependencies is a code smell, and usually indicates the module is doing too much and/or should be broken up into smaller modules.

Importing multiple named exports from a single module will only count once (e.g. `import {x, y, z} from './foo'` will only count as a single dependency).

Expand Down

0 comments on commit 159034c

Please sign in to comment.