Skip to content

Commit

Permalink
fixup! fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
virkt25 committed Jun 13, 2018
1 parent 8f3b193 commit aceaa39
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/site/Controller-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ the name.

The tool will prompt you for:

- **Name of the controller.** If the name had been supplied from the command line,
the prompt is skipped and the controller is built with the name from the
- **Name of the controller.** If the name had been supplied from the command
line, the prompt is skipped and the controller is built with the name from the
command-line argument.
- **Type of the controller.** You can select from the following types:
- **Empty Controller** - An empty controller definition
Expand Down
3 changes: 2 additions & 1 deletion docs/site/Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ values for writing web applications and APIs. For more information, see
**Controller**: The implementation of API endpoints.

**DataSource**: A named configuration for a Connector instance that represents
data in an external system. For more information, see [DataSource](DataSource.md).
data in an external system. For more information, see
[DataSource](DataSource.md).

**Element:** The building blocks of a Sequence, such as route, params, and
result. For more information, see [Sequence](Sequence.md#elements).
Expand Down
1 change: 0 additions & 1 deletion examples/todo/test/acceptance/application.acceptance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {TodoListApplication} from '../../src/application';
import {TodoRepository} from '../../src/repositories/';
import {givenTodo} from '../helpers';
import {Todo} from '../../src/models/';
import {BindingScope} from '@loopback/context';

describe('Application', () => {
let app: TodoListApplication;
Expand Down
1 change: 0 additions & 1 deletion packages/boot/src/booters/datasource.booter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import {CoreBindings} from '@loopback/core';
import {AppWithRepository, juggler, Class} from '@loopback/repository';
import {inject} from '@loopback/context';
import {kebabCase} from 'lodash';
import {ArtifactOptions} from '../interfaces';
import {BaseArtifactBooter} from './base-artifact.booter';
import {BootBindings} from '../keys';
Expand Down
3 changes: 1 addition & 2 deletions packages/boot/test/fixtures/datasource.artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

import {inject} from '@loopback/core';
import {juggler, DataSource} from '@loopback/repository';
import {juggler} from '@loopback/repository';

export class DbDataSource extends juggler.DataSource {
static dataSourceName = 'db';
Expand Down
1 change: 0 additions & 1 deletion packages/repository/src/mixins/repository.mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {Repository} from '../repositories/repository';
import {juggler} from '../repositories/legacy-juggler-bridge';
import {Application} from '@loopback/core';
import {BindingScope} from '@loopback/context';
import {DataSource} from '..';

/**
* A mixin class for Application that creates a .repository()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
Command,
NamedParameters,
PositionalParameters,
Connector,
} from '../../../';
import {Application, Component} from '@loopback/core';

Expand Down

0 comments on commit aceaa39

Please sign in to comment.