Skip to content

Commit 62d5bc7

Browse files
dependabot[bot]Copilotrzhao271
authored
Bump eslint from 8.57.1 to 10.3.0 (#303)
* Bump eslint from 8.57.1 to 10.3.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 10.3.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v10.3.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.2.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Migrate ESLint config to flat config for ESLint 10 Agent-Logs-Url: https://github.com/microsoft/vscode-python-tools-extension-template/sessions/58957eb5-d657-48df-8b91-cbfeb8fc6f07 Co-authored-by: rzhao271 <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rzhao271 <[email protected]>
1 parent f1f10bc commit 62d5bc7

4 files changed

Lines changed: 513 additions & 531 deletions

File tree

.eslintrc.json

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

eslint.config.js

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

0 commit comments

Comments
 (0)