Skip to content

Commit 9ee3b65

Browse files
authored
Merge pull request #10 from neubig/add-lint-workflow
Add lint workflow and fix linting issues
2 parents 4546151 + 134033a commit 9ee3b65

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
cache: 'npm'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run ESLint
25+
run: npm run lint

src/PullRequestViewer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
import React, { useState, useEffect } from 'react';
5-
import axios from 'axios';
65
import { Octokit } from '@octokit/rest';
76
import Select from 'react-select';
87

0 commit comments

Comments
 (0)