Skip to content

Commit 97d4ac9

Browse files
authored
Merge pull request #41 from advanced-security/dependabot/npm_and_yarn/main/development-dependencies-e4ba0c8eb3
chore: bump the development-dependencies group across 1 directory with 9 updates
2 parents 9b0b31b + cecffb1 commit 97d4ac9

File tree

5 files changed

+393
-589
lines changed

5 files changed

+393
-589
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111
- Updated TypeScript compilation target and lib from `ES2020` to `ES2022` to support `ErrorOptions` type used by updated `@octokit/request-error` dependency
12+
- Added explicit `types: ["node", "vscode"]` to `tsconfig.json` for TypeScript 6 compatibility (TypeScript 6 no longer implicitly includes `@types/node`)
13+
- Migrated ESLint configuration from `.eslintrc.json` to `eslint.config.js` (flat config) for ESLint 10 compatibility
1214

1315
## [0.1.0] - 2025-06-26
1416

eslint.config.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// @ts-check
2+
const tseslint = require("@typescript-eslint/eslint-plugin");
3+
const tsparser = require("@typescript-eslint/parser");
4+
5+
/** @type {import("eslint").Linter.Config[]} */
6+
module.exports = [
7+
{
8+
ignores: ["out/**", "dist/**", "**/*.d.ts"],
9+
},
10+
{
11+
files: ["src/**/*.ts"],
12+
languageOptions: {
13+
parser: tsparser,
14+
parserOptions: {
15+
ecmaVersion: 6,
16+
sourceType: "module",
17+
},
18+
},
19+
plugins: {
20+
"@typescript-eslint": tseslint,
21+
},
22+
rules: {
23+
"@typescript-eslint/naming-convention": [
24+
"warn",
25+
{
26+
selector: "import",
27+
format: ["camelCase", "PascalCase"],
28+
},
29+
],
30+
curly: "warn",
31+
eqeqeq: "warn",
32+
"no-throw-literal": "warn",
33+
semi: "off",
34+
},
35+
},
36+
];

0 commit comments

Comments
 (0)