eslint-config-fe 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,6 @@ jobs:
18
18
  with:
19
19
  node-version: 14
20
20
  registry-url: https://registry.npmjs.org/
21
- - run: npm i
22
21
  - run: npm publish
23
22
  env:
24
23
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- npm install --save-dev eslint @babel/core @babel/eslint-parser @babel/eslint-plugin eslint-config-fe
13
+ npm install --save-dev eslint eslint-config-fe
14
14
  ```
15
15
 
16
16
  ## Usage
@@ -27,30 +27,12 @@ npm install --save-dev eslint @babel/core @babel/eslint-parser @babel/eslint-plu
27
27
 
28
28
  [learn more](https://github.com/fengxinming/eslint-config-fe/blob/main/index.js)
29
29
 
30
- #### Base rules .eslintrc
31
-
32
- ```js
33
- {
34
- extends: ["fe/base"]
35
- }
36
- ```
37
-
38
- [learn more](https://github.com/fengxinming/eslint-config-fe/blob/main/base.js)
39
-
40
30
  ### React eslint config
41
31
 
42
32
  ```bash
43
33
  npm install --save-dev @babel/preset-react eslint-plugin-react eslint-plugin-react-hooks
44
34
  ```
45
35
 
46
- #### babel.config.js
47
-
48
- ```js
49
- module.exports = {
50
- presets: ['@babel/preset-react']
51
- };
52
- ```
53
-
54
36
  #### .eslintrc
55
37
 
56
38
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-fe",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "ESLint config for Front End.",
5
5
  "main": "index.js",
6
6
  "scripts": {