1
1
# ESLint config
2
2
3
3
[ ![ Build Status] ( https://github.com/merkle-open/eslint-config/workflows/ci/badge.svg )] ( https://github.com/merkle-open/eslint-config/actions )
4
- [ ![ npm] ( https://img.shields.io/npm/v/@namics /eslint-config.svg )] ( https://www.npmjs.com/package/@namics /eslint-config )
4
+ [ ![ npm] ( https://img.shields.io/npm/v/@merkle-open /eslint-config.svg )] ( https://www.npmjs.com/package/@merkle-open /eslint-config )
5
5
[ ![ Codestyle] ( https://img.shields.io/badge/codestyle-merkle-green.svg )] ( https://github.com/merkle-open/eslint-config )
6
6
7
7
## Installation
8
8
9
9
``` bash
10
- $ npm install --save-dev eslint eslint-plugin-import @namics /eslint-config
10
+ $ npm install --save-dev eslint eslint-plugin-import @merkle-open /eslint-config
11
11
```
12
12
13
13
## Usage Typescript (recommended)
14
14
15
- - ` @namics /eslint-config/configurations/typescript-browser ` - typescript + browser
16
- - ` @namics /eslint-config/configurations/typescript-react ` - typescript + react
17
- - ` @namics /eslint-config/configurations/typescript-node ` - typescript + node
15
+ - ` @merkle-open /eslint-config/configurations/typescript-browser ` - typescript + browser
16
+ - ` @merkle-open /eslint-config/configurations/typescript-react ` - typescript + react
17
+ - ` @merkle-open /eslint-config/configurations/typescript-node ` - typescript + node
18
18
19
19
_ package.json_
20
20
@@ -41,21 +41,21 @@ You need to update the eslint.validate setting to:
41
41
42
42
## Usage ES8 (ES2017)
43
43
44
- - ` @namics /eslint-config/configurations/es8-browser ` - ES8 + browser
45
- - ` @namics /eslint-config/configurations/es8-react ` - ES8 + react
46
- - ` @namics /eslint-config/configurations/es8-node ` - ES8 + node
44
+ - ` @merkle-open /eslint-config/configurations/es8-browser ` - ES8 + browser
45
+ - ` @merkle-open /eslint-config/configurations/es8-react ` - ES8 + react
46
+ - ` @merkle-open /eslint-config/configurations/es8-node ` - ES8 + node
47
47
48
48
## Usage ES7 (ES2016)
49
49
50
- - ` @namics /eslint-config/configurations/es7-browser ` - ES7 + browser (deprecated)
51
- - ` @namics /eslint-config/configurations/es7-react ` - ES7 + react (deprecated)
52
- - ` @namics /eslint-config/configurations/es7-node ` - ES7 + node
50
+ - ` @merkle-open /eslint-config/configurations/es7-browser ` - ES7 + browser (deprecated)
51
+ - ` @merkle-open /eslint-config/configurations/es7-react ` - ES7 + react (deprecated)
52
+ - ` @merkle-open /eslint-config/configurations/es7-node ` - ES7 + node
53
53
54
54
## Usage ES6 (ES2015) - deprecated
55
55
56
- - ` @namics /eslint-config/configurations/es6-browser ` - ES6 + browser (deprecated)
57
- - ` @namics /eslint-config/configurations/es6-react ` - ES6 + react (deprecated)
58
- - ` @namics /eslint-config/configurations/es6-node ` - ES6 + node (deprecated)
56
+ - ` @merkle-open /eslint-config/configurations/es6-browser ` - ES6 + browser (deprecated)
57
+ - ` @merkle-open /eslint-config/configurations/es6-react ` - ES6 + react (deprecated)
58
+ - ` @merkle-open /eslint-config/configurations/es6-node ` - ES6 + node (deprecated)
59
59
60
60
## Usage with Prettier
61
61
@@ -65,7 +65,7 @@ You need to update the eslint.validate setting to:
65
65
66
66
```
67
67
module.exports = {
68
- extends: require.resolve('@namics /eslint-config/configurations/es8-browser.js'),
68
+ extends: require.resolve('@merkle-open /eslint-config/configurations/es8-browser.js'),
69
69
};
70
70
```
71
71
0 commit comments