Skip to content

Commit 14c974e

Browse files
Merge pull request #3685 from github/dependabot/npm_and_yarn/extensions/ql-vscode/typescript-eslint-7954a73ad2
Bump the typescript-eslint group across 1 directory with 2 updates
2 parents 8326ef3 + cddf078 commit 14c974e

File tree

32 files changed

+452
-238
lines changed

32 files changed

+452
-238
lines changed

extensions/ql-vscode/.eslintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@ node_modules/
33
out/
44
build/
55

6+
# Ignore js files
7+
.eslintrc.js
8+
jest.config.js
9+
test/vscode-tests/activated-extension/jest-runner-vscode.config.js
10+
test/vscode-tests/cli-integration/jest-runner-vscode.config.js
11+
test/vscode-tests/jest-runner-vscode.config.base.js
12+
test/vscode-tests/minimal-workspace/jest-runner-vscode.config.js
13+
test/vscode-tests/no-workspace/jest-runner-vscode.config.js
14+
615
# Include the Storybook config
716
!.storybook

extensions/ql-vscode/.eslintrc.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const baseConfig = {
4545
"@typescript-eslint/no-invalid-this": "off",
4646
"@typescript-eslint/no-shadow": "off",
4747
"prefer-const": ["warn", { destructuring: "all" }],
48-
"@typescript-eslint/no-throw-literal": "error",
48+
"@typescript-eslint/only-throw-error": "error",
4949
"@typescript-eslint/consistent-type-imports": "error",
5050
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
5151
curly: ["error", "all"],
@@ -133,18 +133,7 @@ module.exports = {
133133
...baseConfig.rules,
134134
// We want to allow mocking of functions in modules, so we need to allow namespace imports.
135135
"import/no-namespace": "off",
136-
"@typescript-eslint/ban-types": [
137-
"error",
138-
{
139-
// For a full list of the default banned types, see:
140-
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.md
141-
extendDefaults: true,
142-
types: {
143-
// Don't complain about the `Function` type in test files. (Default is `true`.)
144-
Function: false,
145-
},
146-
},
147-
],
136+
"@typescript-eslint/no-unsafe-function-type": "off",
148137
},
149138
},
150139
{

extensions/ql-vscode/gulpfile.ts/appInsights.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { src, dest } from "gulp";
2-
// eslint-disable-next-line @typescript-eslint/no-var-requires,import/no-commonjs
2+
// eslint-disable-next-line @typescript-eslint/no-require-imports,import/no-commonjs
33
const replace = require("gulp-replace");
44

55
/** Inject the application insights key into the telemetry file */

0 commit comments

Comments
 (0)