1 | # eslint config
|
2 |
|
3 | A common eslint config for use in ta-interaktiv projects.
|
4 |
|
5 | ## Installation
|
6 |
|
7 | Add config and peer dependencies:
|
8 |
|
9 | ```bash
|
10 | yarn add @ta-interaktiv/eslint-config --dev
|
11 | ```
|
12 |
|
13 | Then add a the following to `.eslintrc`:
|
14 |
|
15 | ```json
|
16 | {
|
17 | "extends": "@ta-interaktiv"
|
18 | }
|
19 | ```
|
20 |
|
21 | Why is this so complicated? Because the [maintainers at eslint think that
|
22 | this solution is actually semantically purer than defining these things as
|
23 | actual dependencies, which they are]().
|
24 |
|
25 | ## Supports
|
26 | * [StandardJS](https://standardjs.com)
|
27 | * JSX
|
28 | * [Flow](https://flow.org)
|
29 | * [Jest](http://facebook.github.io/jest/) |
\ | No newline at end of file |