@pengzhanbo/eslint-config-react 0.3.2 → 0.3.5

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/dist/index.d.ts +12 -16
  2. package/package.json +16 -16
package/dist/index.d.ts CHANGED
@@ -1,18 +1,14 @@
1
- var index = {
2
- extends: [
3
- "plugin:react/recommended",
4
- "plugin:react-hooks/recommended",
5
- "@pengzhanbo/eslint-config-ts"
6
- ],
7
- settings: {
8
- react: {
9
- version: "17.0"
10
- }
11
- },
12
- rules: {
13
- "jsx-quotes": ["error", "prefer-double"],
14
- "react/react-in-jsx-scope": "off"
15
- }
1
+ declare const _default: {
2
+ extends: string[];
3
+ settings: {
4
+ react: {
5
+ version: string;
6
+ };
7
+ };
8
+ rules: {
9
+ 'jsx-quotes': string[];
10
+ 'react/react-in-jsx-scope': string;
11
+ };
16
12
  };
17
13
 
18
- export { index as default };
14
+ export { _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pengzhanbo/eslint-config-react",
3
- "version": "0.3.2",
3
+ "version": "0.3.5",
4
4
  "author": "pengzhanbo <q942450674@outlook.com> (https://github/pengzhanbo/)",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/pengzhanbo/configs#readme",
@@ -42,29 +42,29 @@
42
42
  "eslint": ">=7.4.0"
43
43
  },
44
44
  "dependencies": {
45
- "@typescript-eslint/eslint-plugin": "^5.48.0",
46
- "@typescript-eslint/parser": "^5.48.0",
47
- "eslint-config-prettier": "^8.6.0",
45
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
46
+ "@typescript-eslint/parser": "^5.59.2",
47
+ "eslint-config-prettier": "^8.8.0",
48
48
  "eslint-config-standard": "^17.0.0",
49
49
  "eslint-plugin-eslint-comments": "^3.2.0",
50
50
  "eslint-plugin-html": "^7.1.0",
51
- "eslint-plugin-import": "^2.26.0",
52
- "eslint-plugin-jsonc": "^2.6.0",
53
- "eslint-plugin-n": "^15.6.0",
51
+ "eslint-plugin-import": "^2.27.5",
52
+ "eslint-plugin-jsonc": "^2.7.0",
53
+ "eslint-plugin-n": "^15.7.0",
54
54
  "eslint-plugin-promise": "^6.1.1",
55
- "eslint-plugin-react": "^7.31.11",
55
+ "eslint-plugin-react": "^7.32.2",
56
56
  "eslint-plugin-react-hooks": "^4.6.0",
57
- "eslint-plugin-unicorn": "^43.0.2",
58
- "eslint-plugin-yml": "^1.4.0",
59
- "jsonc-eslint-parser": "^2.1.0",
60
- "yaml-eslint-parser": "^1.1.0",
61
- "@pengzhanbo/eslint-config-ts": "0.3.2"
57
+ "eslint-plugin-unicorn": "^46.0.0",
58
+ "eslint-plugin-yml": "^1.5.0",
59
+ "jsonc-eslint-parser": "^2.2.0",
60
+ "yaml-eslint-parser": "^1.2.0",
61
+ "@pengzhanbo/eslint-config-ts": "0.3.5"
62
62
  },
63
63
  "devDependencies": {
64
- "eslint": "^8.31.0",
64
+ "eslint": "^8.39.0",
65
65
  "react": "^18.2.0",
66
- "typescript": "^4.9.4",
67
- "unbuild": "^0.8.11"
66
+ "typescript": "^5.0.4",
67
+ "unbuild": "^1.2.1"
68
68
  },
69
69
  "scripts": {
70
70
  "build": "unbuild",