Permalink
Cannot retrieve contributors at this time
42 lines (29 sloc)
1.5 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@github/browserslist-config/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# browserslist-config | |
The GitHub browserslist config. | |
## How is this used on GitHub? | |
We use `browserslist` to power tools that guide developers to use APIs and syntax that is implemented by the [browsers we support](https://github.com/github/browser-support). These tools include [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat), [eslint-plugin-escompat](https://github.com/keithamus/eslint-plugin-escompat) and [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env). | |
## Usage | |
Install the package using `npm`. | |
```sh | |
npm install --save-dev @github/browserslist-config | |
``` | |
Add the `browserslist` key to your `package.json`. | |
```diff | |
diff --git a/package.json b/package.json | |
index 2ecef3d..260838f 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -5,6 +5,7 @@ | |
"keywords": [ | |
"prettier" | |
], | |
+ "browserslist": "extends @github/browserslist-config", | |
"license": "MIT", | |
"author": "GitHub Inc.", | |
"main": "index.js" | |
``` | |
[Check out the `browserslist` documentation for more info on sharing configurations](https://github.com/browserslist/browserslist#shareable-configs). | |
## Contributing | |
Contributing should only be done by GitHub staff and PRs are approved by `@github/web-systems` as the CODEOWNERS of this library. GitHub Staff can use [github/browser-support-cli](https://github.com/github/browser-support-cli) to get production data on browser usage for github.com. | |
## License | |
Distributed under the MIT license. See LICENSE for details. |