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(
1010 // Ignores formatting rules that will be handled by Prettier
1111 eslintConfigPrettier ,
1212 {
13- files : [
14- '**/*.ts' ,
15- '**/*.js' ,
16- '**/*.mjs'
17- ] ,
13+ name : "globalignores" ,
1814 ignores : [
19- '**/node_modules/**'
15+ '**/node_modules/**' ,
16+ 'jest.config.js' ,
17+ 'src/external/**' ,
18+ '.vscode-test-web/**' ,
19+ 'dist/**' ,
20+ 'out/**'
2021 ]
2122 }
2223) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function registerOpenWorkflowFile(context: vscode.ExtensionContext) {
2222 const textDocument = await vscode . workspace . openTextDocument ( fileUri ) ;
2323 await vscode . window . showTextDocument ( textDocument ) ;
2424 return ;
25- } catch ( e ) {
25+ } catch {
2626 // Ignore error and show error message below
2727 }
2828 }
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ export class RepoVariablesNode extends vscode.TreeItem {
1616 let variables : VariableNode [ ] = [ ] ;
1717 try {
1818 variables = await this . gitHubRepoContext . client . paginate (
19+ // @ts -expect-error FIXME: Type error after newer rules available. This will be fixed in octokit bump
1920 this . gitHubRepoContext . client . actions . listRepoVariables ,
2021 {
2122 owner : this . gitHubRepoContext . owner ,
2223 repo : this . gitHubRepoContext . name ,
2324 per_page : 100
2425 } ,
26+ // @ts -expect-error FIXME: Type error after newer rules available. This will be fixed in octokit bump
2527 response => response . data . map ( s => new VariableNode ( this . gitHubRepoContext , s ) )
2628 ) ;
2729 } catch ( e ) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export async function getContextStringForWorkflow(workflowUri: vscode.Uri): Prom
4242
4343 return context . join ( "" ) ;
4444 }
45- } catch ( e ) {
45+ } catch {
4646 // Ignore
4747 }
4848
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments