UNPKG

1.47 kBMarkdownView Raw
1# @cowtech/eslint-config
2
3[![Package Version](https://img.shields.io/npm/v/@cowtech/eslint-config.svg)](https://npm.im/@cowtech/eslint-config)
4[![Dependency Status](https://img.shields.io/david/cowtech/eslint-config)](https://david-dm.org/cowtech/eslint-config)
5
6CowTech style ESLint config
7
8https://sw.cowtech.it/eslint-config
9
10Starting 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
14In your ESLint configuration file, insert the following statement:
15
16```javascript
17// ...
18"extends": "./node_modules/@cowtech/eslint-config"
19// ...
20```
21
22Other 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
39Copyright (C) 2017 and above Shogun <shogun@cowtech.it>.
40
41Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.