File tree Expand file tree Collapse file tree 5 files changed +11
-186
lines changed Expand file tree Collapse file tree 5 files changed +11
-186
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,14 @@ export default tseslint.config(
10
10
// Ignores formatting rules that will be handled by Prettier
11
11
eslintConfigPrettier ,
12
12
{
13
- files : [
14
- '**/*.ts' ,
15
- '**/*.js' ,
16
- '**/*.mjs'
17
- ] ,
13
+ name : "globalignores" ,
18
14
ignores : [
19
- '**/node_modules/**'
15
+ '**/node_modules/**' ,
16
+ 'jest.config.js' ,
17
+ 'src/external/**' ,
18
+ '.vscode-test-web/**' ,
19
+ 'dist/**' ,
20
+ 'out/**'
20
21
]
21
22
}
22
23
) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function registerOpenWorkflowFile(context: vscode.ExtensionContext) {
22
22
const textDocument = await vscode . workspace . openTextDocument ( fileUri ) ;
23
23
await vscode . window . showTextDocument ( textDocument ) ;
24
24
return ;
25
- } catch ( e ) {
25
+ } catch {
26
26
// Ignore error and show error message below
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ export class RepoVariablesNode extends vscode.TreeItem {
16
16
let variables : VariableNode [ ] = [ ] ;
17
17
try {
18
18
variables = await this . gitHubRepoContext . client . paginate (
19
+ // @ts -expect-error FIXME: Type error after newer rules available. This will be fixed in octokit bump
19
20
this . gitHubRepoContext . client . actions . listRepoVariables ,
20
21
{
21
22
owner : this . gitHubRepoContext . owner ,
22
23
repo : this . gitHubRepoContext . name ,
23
24
per_page : 100
24
25
} ,
26
+ // @ts -expect-error FIXME: Type error after newer rules available. This will be fixed in octokit bump
25
27
response => response . data . map ( s => new VariableNode ( this . gitHubRepoContext , s ) )
26
28
) ;
27
29
} catch ( e ) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export async function getContextStringForWorkflow(workflowUri: vscode.Uri): Prom
42
42
43
43
return context . join ( "" ) ;
44
44
}
45
- } catch ( e ) {
45
+ } catch {
46
46
// Ignore
47
47
}
48
48
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments