Skip to content

Commit

Permalink
Fix second import
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Aug 30, 2022
1 parent 9f0fd51 commit 5e1ece2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content/blog/2022-08-08-new-config-system-part-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ For now, you can access `FlatESLint` through the `use-at-your-own-risk` entrypoi

```js
// ESM
import { FlatESLint } from "eslint/use-at-your-own-risk";
import pkg from "eslint/use-at-your-own-risk";
const { FlatESLint } = pkg;

// CommonJS
const { FlatESLint } = require("eslint/use-at-your-own-risk");
Expand Down

0 comments on commit 5e1ece2

Please sign in to comment.