Update ESLint config to flat format #6344
main.yml
on: pull_request
Check workflows
4s
Matrix: Build, lint, and test / Test platform compatibility
Matrix: Build, lint, and test / Prepare
Update pull request
/
Determine whether this issue comment was on a pull request from a fork
Code scanner
/
Run security scan
4m 47s
Build, lint, and test
/
Build "@metamask/snaps-simulator"
1m 42s
Build, lint, and test
/
Build "@metamask/test-snaps"
54s
Build, lint, and test
/
Generate LavaMoat policy
1m 14s
Build, lint, and test
/
Lint
2m 33s
Update pull request
/
React to the comment
Matrix: Build, lint, and test / E2E Test
Matrix: Build, lint, and test / Test
Build, lint, and test
/
Upload coverage to Codecov
0s
Update pull request
/
Regenerate LavaMoat policies
Update pull request
/
Update Chrome
Update pull request
/
Update examples
Determine whether this is a release merge commit
0s
Re-run failed jobs
0s
Publish Snaps Simulator to `staging` folder
/
Publish to GitHub Pages
Update pull request
/
Commit result
All jobs pass
0s
Publish release
/
Determine whether this release updates the iframe execution environment
Publish release
/
Determine whether this release updates the simulator
Publish release
/
Determine whether this release updates test snaps
Publish release
/
Configure iframe execution environment release
Publish release
/
Publish to NPM
Publish release
/
...
/
Publish to GitHub Pages
publish-release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish execution environment
Annotations
13 errors and 13 warnings
Build, lint, and test / Test (20.x, @metamask/snaps-simulator)
Process completed with exit code 1.
|
Build, lint, and test / Test (18.x, @metamask/snaps-simulator)
Process completed with exit code 1.
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/index.ts#L6
`./initHandler` import should occur before import of `../../builders`
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.test.ts#L13
`./initHandler` import should occur before import of `../../test-utils`
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.test.ts#L14
`./initUtils` import should occur before import of `../../test-utils`
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L1
Definition for rule 'import/no-extraneous-dependencies' was not found
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L2
There should be at least one empty line between import groups
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L2
`@metamask/create-snap/package.json` import should occur after import of `./initUtils`
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L15
`../../types/yargs` type import should occur after import of `./initUtils`
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L41
Caution: `semver` also has a named export `minVersion`. Check if you meant to write `import {minVersion} from 'semver'` instead
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L43
Caution: `semver` also has a named export `satisfies`. Check if you meant to write `import {satisfies} from 'semver'` instead
|
Build, lint, and test / Lint:
packages/create-snap/src/cmds/init/initHandler.ts#L74
'error' is defined but never used
|
All jobs pass
Process completed with exit code 1.
|
Build, lint, and test / Prepare (18.x)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Build, lint, and test / Prepare (18.x)
Cache not found for keys: snaps-execution-environments-build-Linux-18.x-3808df908fba20bcd8b64e29f8ca4e066233d5c7
|
Build, lint, and test / Prepare (20.x)
Cache not found for keys: snaps-execution-environments-build-Linux-20.x-3808df908fba20bcd8b64e29f8ca4e066233d5c7
|
Code scanner / Run security scan
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/snaps/snaps/.github/workflows/main.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.
|
Code scanner / Run security scan
Cache not found for keys: codeql-trap-1-2.20.4-javascript-b5d3ed39641da280176f088f145093ff50220452, codeql-trap-1-2.20.4-javascript-
|
Build, lint, and test / Build "@metamask/snaps-simulator"
Cache not found for keys: webpack-vendor-Linux-f3a88ee68d7cc0bcb2cbae0ee75e07ec6a8703847940f8f5aad3107a7c559271
|
Build, lint, and test / Build "@metamask/snaps-simulator"
Cache not found for keys: e2e-simulator-build-Linux-3808df908fba20bcd8b64e29f8ca4e066233d5c7
|
Build, lint, and test / Build
Cache not found for keys: build-source-Linux-3808df908fba20bcd8b64e29f8ca4e066233d5c7
|
|
Build, lint, and test / Lint:
packages/snaps-browserify-plugin/src/plugin.ts#L148
Avoid calling back inside of a promise
|
Build, lint, and test / Lint:
packages/snaps-execution-environments/src/common/BaseSnapExecutor.ts#L201
Avoid using promises inside of callbacks
|
|
|