Skip to content

Commit

Permalink
feat: make recommended defaults easier to copy (#739)
Browse files Browse the repository at this point in the history
By including the whole recommended string we prevent wrong usage.
  • Loading branch information
dpschen committed Nov 17, 2022
1 parent 7f98081 commit 74dbf95
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,12 @@ These extensions will add syntax highlighting for `.browserslistrc` files.
]
```

* If you want to change the default set of browsers, we recommend combining
`last 2 versions`, `not dead` with a usage number like `> 0.2%`. This is
because `last n versions` on its own does not add popular old versions, while
only using a percentage above `0.2%` will in the long run make popular
browsers even more popular. We might run into a monopoly and stagnation
situation, as we had with Internet Explorer 6. Please use this setting
with caution.
* If you want to change the default set of browsers, we recommend including
`last 2 versions, not dead, > 0.2%`. This is because `last n versions` on its
own does not add popular old versions, while only using a percentage of usage
numbers above `0.2%` will in the long run make popular browsers even more
popular. We might run into a monopoly and stagnation situation, as we had with
Internet Explorer 6. Please use this setting with caution.
* Select browsers directly (`last 2 Chrome versions`) only if you are making
a web app for a kiosk with one browser. There聽are a lot of browsers
on the market. If you are making general web app you should respect
Expand Down

0 comments on commit 74dbf95

Please sign in to comment.