Skip to content

Commit 1d425a0

Browse files
chore(deps): bump super-linter/super-linter from 7.4.0 to 8.0.0 (#47)
* chore(deps): bump super-linter/super-linter from 7.4.0 to 8.0.0 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 7.4.0 to 8.0.0. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](super-linter/super-linter@1215045...5119dcd) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: add extensions to relative imports * chore: turn off problematic ESLint rule --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Sanders <[email protected]>
1 parent 40229d4 commit 1d425a0

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/linters/.eslintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ rules:
4040
'eslint-comments/no-unused-disable': 'off',
4141
'i18n-text/no-en': 'off',
4242
'import/no-namespace': 'off',
43+
'import/no-unresolved': 'off',
4344
'no-console': 'off',
4445
'no-unused-vars': 'off',
4546
'prettier/prettier': 'error',

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Lint Codebase
4040
id: super-linter
41-
uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0
41+
uses: super-linter/super-linter/slim@5119dcd8011e92182ce8219d9e9efc82f16fddb6 # v8.0.0
4242
env:
4343
DEFAULT_BRANCH: main
4444
FILTER_REGEX_EXCLUDE: dist/**/*

__tests__/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
*/
44
import { describe, expect, it, vi } from 'vitest';
55

6-
import * as main from '../src/main';
6+
import * as main from '../src/main.js';
77

88
// Mock the action's entrypoint
99
const runMock = vi.spyOn(main, 'run').mockImplementation(async () => {});
1010

1111
describe('index', () => {
1212
it('calls run when imported', async () => {
13-
await import('../src/index');
13+
await import('../src/index.js');
1414

1515
expect(runMock).toHaveBeenCalled();
1616
});

__tests__/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import * as path from 'node:path';
66
import * as cache from '@actions/cache';
77
import * as core from '@actions/core';
88

9-
import * as main from '../src/main';
9+
import * as main from '../src/main.js';
1010
import {
1111
mockGetBooleanInput,
1212
mockGetInput,
1313
mockGetMultilineInput,
1414
mockGlobGenerator,
1515
mockHttpGet
16-
} from './utils';
16+
} from './utils.js';
1717

1818
vi.mock('@actions/cache');
1919
vi.mock('@actions/core');

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* The entrypoint for the action.
33
*/
4-
import { run } from './main';
4+
import { run } from './main.js';
55

66
// eslint-disable-next-line @typescript-eslint/no-floating-promises
77
run();

0 commit comments

Comments
 (0)