Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions generators/app/dependencyVersions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/assert": "^1.5.11",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"typescript-eslint": "^8.39.0",
"eslint": "^9.32.0",
"glob": "^11.0.3",
"mocha": "^11.7.1",
Expand Down
7 changes: 3 additions & 4 deletions generators/app/templates/ext-command-ts/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import typescriptEslint from "typescript-eslint";

export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint,
"@typescript-eslint": typescriptEslint.plugin,
},

languageOptions: {
parser: tsParser,
parser: typescriptEslint.parser,
ecmaVersion: 2022,
sourceType: "module",
},
Expand Down
3 changes: 1 addition & 2 deletions generators/app/templates/ext-command-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
<%- dep("@types/vscode") %>,
<%- dep("@types/mocha") %>,
<%- dep("@types/node") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("eslint") %>,
<%- dep("typescript") %>,
<%- dep("@vscode/test-cli") %>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<%- dep("@types/vscode") %>,
<%- dep("@types/mocha") %>,
<%- dep("@types/node") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("eslint") %>,
<%- dep("esbuild") %>,
<%- dep("npm-run-all") %>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
<%- dep("@types/vscode") %>,
<%- dep("@types/mocha") %>,
<%- dep("@types/node") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("eslint") %>,
<%- dep("typescript") %>,
<%- dep("ts-loader") %>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
<%- dep("@types/mocha") %>,
<%- dep("@types/assert") %>,
<%- dep("eslint") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("mocha") %>,
<%- dep("typescript") %>,
<%- dep("@vscode/test-web") %>,
Expand Down
7 changes: 3 additions & 4 deletions generators/app/templates/ext-command-web/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import typescriptEslint from "typescript-eslint";

export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint,
"@typescript-eslint": typescriptEslint.plugin,
},

languageOptions: {
parser: tsParser,
parser: typescriptEslint.parser,
ecmaVersion: 2022,
sourceType: "module",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
<%- dep("@types/mocha") %>,
<%- dep("@types/assert") %>,
<%- dep("eslint") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("mocha") %>,
<%- dep("typescript") %>,
<%- dep("@vscode/test-web") %>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import typescriptEslint from "typescript-eslint";

export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint,
"@typescript-eslint": typescriptEslint.plugin,
},

languageOptions: {
parser: tsParser,
parser: typescriptEslint.parser,
ecmaVersion: 2022,
sourceType: "module",
},
Expand Down
3 changes: 1 addition & 2 deletions generators/app/templates/ext-notebook-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
<%- dep("@types/mocha") %>,
<%- dep("@types/node") %>,
<%- dep("@types/webpack-env") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("typescript-eslint") %>,
<%- dep("@types/vscode-notebook-renderer") %>,
<%- dep("@types/vscode") %>,
<%- dep("css-loader") %>,
Expand Down