1 | # @cowtech/eslint-config
|
2 |
|
3 | [![Package Version](https://img.shields.io/npm/v/@cowtech/eslint-config.svg)](https://npmjs.com/package/@cowtech/eslint-config)
|
4 | [![Dependency Status](https://img.shields.io/gemnasium/github.com/cowtech/eslint-config.svg)](https://gemnasium.com/github.com/cowtech/eslint-config)
|
5 |
|
6 | CowTech style ESLint config
|
7 |
|
8 | https://github.com/cowtech/eslint-config
|
9 |
|
10 | Starting from version **4.19.0**, it is now based on [standard](https://standardjs.com/) which will differ on only few specific cases.
|
11 |
|
12 | ## Usage
|
13 |
|
14 | In your ESLint configuration file, insert the following statement:
|
15 |
|
16 | ```javascript
|
17 | // ...
|
18 | "extends": "./node_modules/@cowtech/eslint-config"
|
19 | // ...
|
20 | ```
|
21 |
|
22 | Other than the default one, here's the possible alternatives:
|
23 |
|
24 | * **react**: `./node_modules/@cowtech/eslint-config/react`
|
25 |
|
26 | Differs from standard by enforcing **double** quotes in JSX attributes.
|
27 |
|
28 | ## Contributing to @cowtech/eslint-config
|
29 |
|
30 | * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
31 | * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
32 | * Fork the project.
|
33 | * Start a feature/bugfix branch.
|
34 | * Commit and push until you are happy with your contribution.
|
35 | * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
36 |
|
37 | ## Copyright
|
38 |
|
39 | Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
|
40 |
|
41 | Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|