Skip to content

Commit 6c1785c

Browse files
chore(deps-dev): bump the npm-dependencies group with 13 updates (#127)
* chore(deps-dev): bump the npm-dependencies group with 13 updates Bumps the npm-dependencies group with 13 updates: | Package | From | To | | --- | --- | --- | | [@microsoft/eslint-formatter-sarif](https://github.com/Microsoft/sarif-js-sdk) | `3.0.0` | `3.1.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `16.18.89` | `25.0.3` | | [@types/rimraf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rimraf) | `2.0.5` | `4.0.5` | | [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) | `1.87.0` | `1.107.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.62.0` | `8.50.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.62.0` | `8.50.0` | | [@vscode/test-electron](https://github.com/Microsoft/vscode-test) | `2.3.9` | `2.5.2` | | [esbuild](https://github.com/evanw/esbuild) | `0.25.9` | `0.27.2` | | [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.39.2` | | [glob](https://github.com/isaacs/node-glob) | `8.1.0` | `13.0.0` | | [mocha](https://github.com/mochajs/mocha) | `10.8.2` | `11.7.5` | | [prettier](https://github.com/prettier/prettier) | `3.2.5` | `3.7.4` | | [typescript](https://github.com/microsoft/TypeScript) | `4.9.5` | `5.9.3` | Updates `@microsoft/eslint-formatter-sarif` from 3.0.0 to 3.1.0 - [Release notes](https://github.com/Microsoft/sarif-js-sdk/releases) - [Changelog](https://github.com/microsoft/sarif-js-sdk/blob/main/RELEASE.md) - [Commits](https://github.com/Microsoft/sarif-js-sdk/commits) Updates `@types/node` from 16.18.89 to 25.0.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/rimraf` from 2.0.5 to 4.0.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rimraf) Updates `@types/vscode` from 1.87.0 to 1.107.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode) Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 8.50.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 5.62.0 to 8.50.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/parser) Updates `@vscode/test-electron` from 2.3.9 to 2.5.2 - [Changelog](https://github.com/microsoft/vscode-test/blob/main/CHANGELOG.md) - [Commits](microsoft/vscode-test@v2.3.9...v2.5.2) Updates `esbuild` from 0.25.9 to 0.27.2 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](evanw/esbuild@v0.25.9...v0.27.2) Updates `eslint` from 8.57.0 to 9.39.2 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.0...v9.39.2) Updates `glob` from 8.1.0 to 13.0.0 - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v8.1.0...v13.0.0) Updates `mocha` from 10.8.2 to 11.7.5 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/v11.7.5/CHANGELOG.md) - [Commits](mochajs/mocha@v10.8.2...v11.7.5) Updates `prettier` from 3.2.5 to 3.7.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.2.5...3.7.4) Updates `typescript` from 4.9.5 to 5.9.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.9.5...v5.9.3) --- updated-dependencies: - dependency-name: "@microsoft/eslint-formatter-sarif" dependency-version: 3.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: "@types/node" dependency-version: 25.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: "@types/rimraf" dependency-version: 4.0.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: "@types/vscode" dependency-version: 1.107.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.50.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.50.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: "@vscode/test-electron" dependency-version: 2.5.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: esbuild dependency-version: 0.27.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: eslint dependency-version: 9.39.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: glob dependency-version: 13.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: mocha dependency-version: 11.7.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: prettier dependency-version: 3.7.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: typescript dependency-version: 5.9.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * chore: update dependencies and eslint config * chore: fix linter errors * chore: fix all remaining lint errors * chore: revert "toctou" handling * chore: fix csp warning * chore: prettier --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Filipe Casal <[email protected]>
1 parent 319d3c4 commit 6c1785c

15 files changed

+1767
-976
lines changed

.eslintrc.cjs

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
const js = require("@eslint/js");
2+
const tseslint = require("@typescript-eslint/eslint-plugin");
3+
const tsParser = require("@typescript-eslint/parser");
4+
const stylistic = require("@stylistic/eslint-plugin");
5+
6+
const tsFiles = ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"];
7+
8+
module.exports = [
9+
{
10+
ignores: ["out", "dist", "**/*.d.ts", "esbuild.js"],
11+
},
12+
js.configs.recommended,
13+
...tseslint.configs["flat/recommended-type-checked"],
14+
stylistic.configs["disable-legacy"],
15+
{
16+
files: tsFiles,
17+
languageOptions: {
18+
parser: tsParser,
19+
parserOptions: {
20+
project: ["./tsconfig.json"],
21+
},
22+
},
23+
plugins: {
24+
"@typescript-eslint": tseslint,
25+
"@stylistic": stylistic,
26+
},
27+
rules: {
28+
// Disable 'no-unused-vars' for variables starting with `_`
29+
"no-unused-vars": "off",
30+
"@typescript-eslint/no-unused-vars": [
31+
"warn",
32+
{
33+
argsIgnorePattern: "^_",
34+
varsIgnorePattern: "^_",
35+
caughtErrorsIgnorePattern: "^_",
36+
},
37+
],
38+
"@typescript-eslint/naming-convention": "warn",
39+
"@stylistic/semi": "warn",
40+
"@typescript-eslint/explicit-function-return-type": "warn",
41+
curly: "warn",
42+
eqeqeq: "warn",
43+
"no-throw-literal": "warn",
44+
semi: "off",
45+
},
46+
},
47+
];

.eslintrc.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ node_modules
66
*.mov
77
*.vsix
88
*.sarif*
9-
PLAN.md
10-
codeql-alerts.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ We use ESLint and Prettier to enforce a consistent code style.
225225

226226
```bash
227227
# run ESLint
228-
npx eslint -c .eslintrc.json .
228+
npx eslint -c .eslintrc.cjs .
229229

230230
# run Prettier
231231
npx prettier --write .

0 commit comments

Comments
 (0)