-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
6,124 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Editor configuration normalization | ||
# @see http://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = LF | ||
insert_final_newline = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: '@studiometa/eslint-config', | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@studiometa/prettier-config'); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,47 @@ | ||
# browserslist-config | ||
A shareable Browserlist config. | ||
# Browserslists config | ||
|
||
[![NPM Version](https://img.shields.io/npm/v/@studiometa/browserslist-config.svg?style=flat-square)](https://www.npmjs.com/package/@studiometa/browserslist-config) | ||
|
||
> A shareable Browserlist configuration. | ||
## Installation | ||
|
||
Install the package via NPM: | ||
|
||
```bash | ||
npm install --save-dev @studiometa/browserslist-config | ||
``` | ||
|
||
## Usage | ||
|
||
Extend the configuration in your project's `package.json` file: | ||
|
||
```json | ||
{ | ||
"browserslist": [ | ||
"extends @studiometa/browserslist-config" | ||
] | ||
} | ||
``` | ||
|
||
See the [documentation on shareable configuration](https://github.com/browserslist/browserslist#shareable-configs) for more information. | ||
|
||
The exported configuration matches the following: | ||
|
||
``` | ||
> 0.2% | ||
last 4 versions | ||
not dead | ||
node >= 10 | ||
``` | ||
|
||
If you need to add support for Internet Explorer 10, you can add it to your project's `package.json` file: | ||
|
||
```json | ||
{ | ||
"browserslist": [ | ||
"extends @studiometa/browserslist-config", | ||
"IE 10" | ||
] | ||
} | ||
``` |
Oops, something went wrong.