Skip to content

Commit

Permalink
fix: imports (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
oakcask authored Apr 30, 2024
1 parent 0060ef4 commit a68d689
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion __tests__/action.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as github from '@actions/github'
import * as core from '@actions/core'
import fs from 'fs'
import fs from 'node:fs'
import { main } from '../src/action'

const gh = github.getOctokit('_')
Expand Down
2 changes: 0 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export default [
...compat.config({
extends: [
'standard',
// 'plugin:import/recommended',
// 'plugin:n/recommended',
'plugin:promise/recommended',
'plugin:jest/recommended'
]
Expand Down
4 changes: 2 additions & 2 deletions src/github.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as github from '@actions/github'
import { RequestParameters } from '@octokit/graphql/dist-types/types'
import { NextIssueLabelsQuery, NextIssueLabelsQueryVariables } from './generated/graphql'
import type { RequestParameters } from '@octokit/graphql/dist-types/types'
import type { NextIssueLabelsQuery, NextIssueLabelsQueryVariables } from './generated/graphql'

export type Github = ReturnType<typeof github.getOctokit>

Expand Down

0 comments on commit a68d689

Please sign in to comment.