Skip to content

Commit

Permalink
fix: remove @scopes from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
azz authored Dec 14, 2017
1 parent b43a9de commit 58cd916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ Forbids importing specific files from a monorepo package.

```js
// Bad
import '@company/module/src/foo.js';
import 'module/src/foo.js';

// Good
import { foo } from '@company/module';
import { foo } from 'module';
```

### `monorepo/no-relative-import` (fixable)
Expand All @@ -58,5 +58,5 @@ Forbids importing other packages from the monorepo with a relative path.
import module from '../module';

// Good
import module from '@company/module';
import module from 'module';
```

0 comments on commit 58cd916

Please sign in to comment.