Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

docs(readme): update #69

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default defineFlatConfig([
// ...
```

## After
### After

```js
import { config, env, extend, plugins } from '@archoleat/eslint-flat-compatibility';
Expand All @@ -68,7 +68,6 @@ export default defineFlatConfig([
),

// Mimic env
// Types available
...env({
es2020: true,
node: true,
Expand All @@ -78,7 +77,6 @@ export default defineFlatConfig([
...plugins('airbnb', 'react'),

// Translate an entire config
// Types available
...config({
env: {
es2020: true,
Expand Down