Skip to content

Commit

Permalink
Resolve violations of import/no-extraneous-dependencies lint
Browse files Browse the repository at this point in the history
Fixes #201
  • Loading branch information
Chris Raynor committed Sep 29, 2020
1 parent 228546a commit 8200c13
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"import/no-amd": "error",
"import/no-commonjs": "error",
"import/no-dynamic-require": "error",
"import/no-extraneous-dependencies": ["error", {"devDependencies": false}],
"import/no-extraneous-dependencies": ["error"],
"import/no-namespace": "off",
"import/no-unresolved": "error",
"import/no-webpack-loader-syntax": "error",
Expand Down Expand Up @@ -46,7 +46,6 @@
"@typescript-eslint/restrict-template-expressions": "off",
"func-style": "off",
"github/no-then": "off",
"import/no-extraneous-dependencies": "off",
"no-shadow": "off"
}
}]
Expand Down
7 changes: 2 additions & 5 deletions lib/codeql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codeql.js.map

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"md5": "^2.2.1",
"path": "^0.12.7",
"semver": "^7.3.2",
"uuid": "^8.3.0",
"zlib": "^1.0.5"
},
"//": [
Expand Down
3 changes: 1 addition & 2 deletions src/codeql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ import * as toolcache from "@actions/tool-cache";
import * as toolrunnner from "@actions/exec/lib/toolrunner";
import * as util from "./util";

import uuidV4 from "uuid/v4";

import { IHeaders } from "@actions/http-client/interfaces";
import { Language } from "./languages";
import { Logger } from "./logging";
import { errorMatchers } from "./error-matcher";
import { getRequiredEnvParam } from "./actions-util";
import { toolrunnerErrorCatcher } from "./toolrunner-error-catcher";
import { v4 as uuidV4 } from "uuid";

type Options = Array<string | number | boolean>;

Expand Down

0 comments on commit 8200c13

Please sign in to comment.