Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 0463daf

Browse files
committed
Fixed ts-lint
1 parent 897c7b3 commit 0463daf

File tree

2 files changed

+16
-16
lines changed
  • packages/luis/src/commands/luis/generate

2 files changed

+16
-16
lines changed

packages/luis/src/commands/luis/generate/cs.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import { CLIError, Command, flags } from '@microsoft/bf-cli-command'
2-
import { camelCase, upperFirst } from 'lodash'
1+
import {Command, flags} from '@microsoft/bf-cli-command'
2+
import {camelCase, upperFirst} from 'lodash'
33
import * as path from 'path'
44

5-
import { LuisToCsConverter } from '../../../parser/converters/luis-to-cs-converter'
6-
import { Utils } from '../../../utils'
5+
import {LuisToCsConverter} from '../../../parser/converters/luis-to-cs-converter'
6+
import {Utils} from '../../../utils'
77

88
const fs = require('fs-extra')
99

1010
export default class LuisGenerateCs extends Command {
1111
static description = 'Generate:cs generates a strongly typed C# source code from an exported (json) LUIS model.'
1212

1313
static flags: flags.Input<any> = {
14-
in: flags.string({ description: 'Source .lu file(s) or LUIS application JSON model' }),
15-
out: flags.string({ description: 'Output file or folder name. If not specified stdout will be used as output', default: '' }),
16-
className: flags.string({ description: 'Name of the class' }),
14+
in: flags.string({description: 'Source .lu file(s) or LUIS application JSON model'}),
15+
out: flags.string({description: 'Output file or folder name. If not specified stdout will be used as output', default: ''}),
16+
className: flags.string({description: 'Name of the class'}),
1717
}
1818

1919
reorderEntities(app: any, name: string): void {
@@ -23,7 +23,7 @@ export default class LuisGenerateCs extends Command {
2323
}
2424

2525
async run() {
26-
const { flags } = this.parse(LuisGenerateCs)
26+
const {flags} = this.parse(LuisGenerateCs)
2727
let space = 'Luis'
2828
let stdInput = await this.readStdin()
2929

packages/luis/src/commands/luis/generate/ts.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import { CLIError, Command, flags } from '@microsoft/bf-cli-command'
2-
import { camelCase, kebabCase, upperFirst } from 'lodash'
1+
import {Command, flags} from '@microsoft/bf-cli-command'
2+
import {camelCase, kebabCase, upperFirst} from 'lodash'
33
import * as path from 'path'
44

5-
import { LuisToTsConverter } from '../../../parser/converters/luis-to-ts-converter'
6-
import { Utils } from '../../../utils'
5+
import {LuisToTsConverter} from '../../../parser/converters/luis-to-ts-converter'
6+
import {Utils} from '../../../utils'
77

88
const fs = require('fs-extra')
99

1010
export default class LuisGenerateTs extends Command {
1111
static description = 'Generate:ts generates a strongly typed typescript source code from an exported (json) LUIS model.'
1212

1313
static flags: flags.Input<any> = {
14-
in: flags.string({ description: 'Source .lu file(s) or LUIS application JSON model' }),
15-
out: flags.string({ description: 'Output file or folder name. If not specified stdout will be used as output', default: '' }),
16-
className: flags.string({ description: 'Name of the class' }),
14+
in: flags.string({description: 'Source .lu file(s) or LUIS application JSON model'}),
15+
out: flags.string({description: 'Output file or folder name. If not specified stdout will be used as output', default: ''}),
16+
className: flags.string({description: 'Name of the class'}),
1717
}
1818

1919
reorderEntities(app: any, name: string): void {
@@ -23,7 +23,7 @@ export default class LuisGenerateTs extends Command {
2323
}
2424

2525
async run() {
26-
const { flags } = this.parse(LuisGenerateTs)
26+
const {flags} = this.parse(LuisGenerateTs)
2727
let stdInput = await this.readStdin()
2828

2929
const pathPrefix = path.isAbsolute(flags.in) ? '' : process.cwd()

0 commit comments

Comments
 (0)