Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Dec 23, 2022
1 parent 7a41c41 commit aa12328
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ const compat = new FlatCompat({
export default [

// mimic ESLintRC-style extends
compat.extends("standard", "example"),
...compat.extends("standard", "example"),

// mimic environments
compat.env({
...compat.env({
es2020: true,
node: true
}),

// mimic plugins
compat.plugins("airbnb", "react"),
...compat.plugins("airbnb", "react"),

// translate an entire config
compat.config({
...compat.config({
plugins: ["airbnb", "react"],
extends: "standard",
env: {
Expand Down

0 comments on commit aa12328

Please sign in to comment.