Skip to content
Permalink
Browse files

Add no unused imports rule in tsconfig

  • Loading branch information...
blyszcz committed Aug 29, 2018
1 parent 86347fe commit 6501610afcc26f2c40a05e75beb0015e580e313a
Showing with 4 additions and 4 deletions.
  1. +1 −0 src/infrastructure/storage/in-env.ts
  2. +0 −1 src/infrastructure/storage/in-file.ts
  3. +0 −1 src/services/cli/index.ts
  4. +3 −2 tsconfig.json
@@ -37,6 +37,7 @@ export default class InEnvStorage implements Storage {
return Boolean(await this.get(key.toUpperCase()));
}

// tslint:disable-next-line
public async clear() {}

private updateEnvsInFile() {
@@ -1,4 +1,3 @@
import * as fs from 'fs';
import IFileRepository from '../repository/file-repository.types';
import IStorage from './storage';

@@ -1,6 +1,5 @@
#!/usr/bin/env node

import { AwilixContainer } from 'awilix';
import * as dotenv from 'dotenv';
import { ILogger } from 'tsh-node-common';
import * as yargs from 'yargs';
@@ -5,11 +5,12 @@
"declaration": true,
"strict": true,
"allowSyntheticDefaultImports": false,
"outDir": "build"
"outDir": "build",
"noUnusedLocals": true
},
"exclude": [
"node_modules",
"**/*.spec.ts",
"build/**"
]
}
}

0 comments on commit 6501610

Please sign in to comment.
You can’t perform that action at this time.