Skip to content

Commit 7d29a4b

Browse files
h9jianggopherbot
authored andcommitted
extension/package.json: bump gts to 7.0.0
Upgrade gts to 7.0.0, migrate to ESLint v9 flat config (eslint.config.js), and update lint directives. Before: 3 low, 18 high After: 3 low, 10 high Change-Id: I33b4a090fabfdc53a6c3bbc6bc1cfb3dce963ae5 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/807480 Auto-Submit: Hongxiang Jiang <hxjiang@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Peter Weinberger <pjw@google.com>
1 parent 258026c commit 7d29a4b

44 files changed

Lines changed: 1332 additions & 1010 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

extension/.eslintignore

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

extension/eslint.config.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const gts = require('gts');
2+
3+
module.exports = [
4+
...gts,
5+
{
6+
ignores: ['out/**', 'dist/**', 'build/**', 'node_modules/**', '.vscode-test/**']
7+
},
8+
{
9+
linterOptions: {
10+
reportUnusedDisableDirectives: 'warn'
11+
},
12+
rules: {
13+
// TODO(hxjiang): fix problem reported and enable all the rules below.
14+
'@typescript-eslint/no-floating-promises': 'off',
15+
'@typescript-eslint/no-explicit-any': 'off',
16+
'@typescript-eslint/no-unused-vars': 'off',
17+
'n/no-missing-import': 'off',
18+
'n/no-unpublished-import': 'off',
19+
'n/no-extraneous-import': 'off',
20+
'n/no-deprecated-api': 'off',
21+
'n/no-unsupported-features/node-builtins': 'off'
22+
}
23+
}
24+
];

0 commit comments

Comments
 (0)