Skip to content

Commit

Permalink
Use recommended settings in tsconfig for Node 10 (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck authored Aug 20, 2020
1 parent 4f7cead commit 2dd5923
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eslint-bridge/src/rules/no-implicit-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import { Rule } from 'eslint';
import * as estree from 'estree';
import * as builtins from 'builtin-modules';
import builtins from 'builtin-modules';
import * as path from 'path';
import * as fs from 'fs';
import * as ts from 'typescript';
Expand Down
2 changes: 1 addition & 1 deletion eslint-bridge/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { Server } from 'http';
import * as express from 'express';
import express from 'express';
import { RequestHandler } from 'express';
import * as bodyParser from 'body-parser';
import {
Expand Down
7 changes: 5 additions & 2 deletions eslint-bridge/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "es6",
"target": "es2018",
"module": "commonjs",
"lib": ["dom", "es2017"],
"lib": ["es2018"],
"declaration": true,
"outDir": "../lib",
"strict": true,
Expand All @@ -11,6 +11,9 @@
"noUnusedParameters": true,
"allowSyntheticDefaultImports": true,
"composite": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [
"../node_modules/@types",
"../typings"
Expand Down

0 comments on commit 2dd5923

Please sign in to comment.