mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: lint code blocks in docs with ESLint (#42113)
This commit is contained in:
@@ -303,6 +303,7 @@ without having to step through the isolated world.
|
||||
|
||||
```js title='main.js (Main Process)'
|
||||
const { BrowserWindow, app, MessageChannelMain } = require('electron')
|
||||
|
||||
const path = require('node:path')
|
||||
|
||||
app.whenReady().then(async () => {
|
||||
|
||||
Reference in New Issue
Block a user