Skip to content

Commit

Permalink
feat(type-def): add eslint disable commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Jan 31, 2019
1 parent 0fb2683 commit 99c0fbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/createTypedefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import {baseConfigPath} from './baseConfigPath'
const JsonToTS = require('json-to-ts')

const file = `Config.d.ts`
const ts = ['/* tslint:disable */']
.concat(JsonToTS(config, {rootName: 'Config'}))
.join('\n')
const ts = ['/* tslint:disable */', '/* eslint-disable */'].concat(JsonToTS(config, {rootName: 'Config'})).join('\n')

fs.writeFileSync(path.resolve(process.cwd(), baseConfigPath(process), file), ts)

0 comments on commit 99c0fbb

Please sign in to comment.