@aiou/eslint-config 0.3.2 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +54 -0
  2. package/package.json +10 -10
package/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # @aiou/eslint-config
2
+ *my eslint config*
3
+
4
+ [![npm](https://img.shields.io/npm/v/@aiou/eslint-config)](https://www.npmjs.com/package/@aiou/eslint-config) [![GitHub](https://img.shields.io/npm/l/@aiou/eslint-config)](https://github.com/JiangWeixian/eslint-config/tree/master/packages/default)
5
+
6
+ ## features
7
+
8
+ - 🙈 built in ignore patterns from [nodejs's gitignore](https://github.com/github/gitignore/blob/master/Node.gitignore) and with common eslint ignore patterns like `jest`, etc..
9
+ - 💅 friendly fix reporter
10
+
11
+ <div align='center'>
12
+
13
+ <img src="https://user-images.githubusercontent.com/6839576/148364688-6a9fa8ac-94a3-4897-89fc-a3b64606e93c.png" width="400px" />
14
+
15
+ *▲ @aiou/eslint-plugin-progress*
16
+
17
+ </div>
18
+
19
+ ## rules
20
+
21
+ extends from
22
+
23
+ ```tsx
24
+ eslint-plugin-prettier
25
+ eslint-config-standard
26
+ eslint-plugin-eslint-comments
27
+ eslint-plugin-html
28
+ eslint-plugin-import
29
+ eslint-plugin-jsonc
30
+ eslint-plugin-n (forked eslint-plugin-node)
31
+ eslint-plugin-promise
32
+ eslint-plugin-unicorn
33
+ eslint-plugin-yml
34
+ eslint-plugin-react
35
+ eslint-plugin-react-hooks
36
+ @typescript-eslint/eslint-plugin
37
+ ```
38
+
39
+ ## install
40
+
41
+ ```console
42
+ npm install @aiou/eslint-config --save-dev
43
+ ```
44
+
45
+ ## usage
46
+
47
+ in `.eslintrc.js`
48
+
49
+ ```
50
+ module.exports = {
51
+ "extends": ["@aiou"]
52
+ }
53
+ ```
54
+
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "name": "@aiou/eslint-config",
3
- "version": "0.3.2",
3
+ "version": "0.5.1",
4
4
  "description": "eslint config for aiou template",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "author": "JW <jiangweixian1994@gmail.com> (https://github.com/jiangweixian/)",
8
+ "main": "index.js",
8
9
  "files": [
9
10
  "index.js"
10
11
  ],
11
- "main": "index.js",
12
12
  "publishConfig": {
13
13
  "access": "public"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "eslint": ">=7.4.0",
17
- "prettier": ">=2.2.1",
18
- "pretty-quick": ">=3.1.0"
17
+ "prettier": ">=2.2.1"
19
18
  },
20
19
  "dependencies": {
21
- "@aiou/eslint-config-react": "^0.2.2",
22
- "@aiou/eslint-ignore": "^0.1.2",
23
- "@aiou/eslint-plugin-progress": "^0.1.7",
20
+ "@aiou/eslint-config-react": "^0.4.1",
21
+ "@aiou/eslint-ignore": "^0.2.0",
22
+ "@aiou/eslint-plugin-progress": "^0.2.0",
24
23
  "eslint-config-prettier": "^8.3.0",
25
- "eslint-plugin-prettier": "^3.4.1"
24
+ "eslint-plugin-prettier": "^4.0.0"
26
25
  },
27
26
  "devDependencies": {
28
- "eslint": "^7.32.0"
29
- }
27
+ "eslint": "^8.6.0"
28
+ },
29
+ "readme": "# @aiou/eslint-config\n*my eslint config*\n\n[![npm](https://img.shields.io/npm/v/@aiou/eslint-config)](https://www.npmjs.com/package/@aiou/eslint-config) [![GitHub](https://img.shields.io/npm/l/@aiou/eslint-config)](https://github.com/JiangWeixian/eslint-config/tree/master/packages/default) \n\n## features\n\n- 🙈 built in ignore patterns from [nodejs's gitignore](https://github.com/github/gitignore/blob/master/Node.gitignore) and with common eslint ignore patterns like `jest`, etc..\n- 💅 friendly fix reporter\n\n <div align='center'>\n\n <img src=\"https://user-images.githubusercontent.com/6839576/148364688-6a9fa8ac-94a3-4897-89fc-a3b64606e93c.png\" width=\"400px\" />\n\n *▲ @aiou/eslint-plugin-progress*\n\n </div>\n \n## rules\n\nextends from \n\n```tsx\neslint-plugin-prettier\neslint-config-standard\neslint-plugin-eslint-comments\neslint-plugin-html\neslint-plugin-import\neslint-plugin-jsonc\neslint-plugin-n (forked eslint-plugin-node)\neslint-plugin-promise\neslint-plugin-unicorn\neslint-plugin-yml\neslint-plugin-react\neslint-plugin-react-hooks\n@typescript-eslint/eslint-plugin\n```\n\n## install\n\n```console\nnpm install @aiou/eslint-config --save-dev\n```\n\n## usage\n\nin `.eslintrc.js`\n\n```\nmodule.exports = {\n \"extends\": [\"@aiou\"]\n}\n```\n\n"
30
30
  }