eslint-plugin-th-rules 1.5.0 → 1.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.5.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.0...v1.5.1) (2024-02-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixed ([9730e96](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9730e96ff296ccd4afbc278fefd176f2684b89cb))
7
+
1
8
  # [1.5.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.4.2...v1.5.0) (2024-02-26)
2
9
 
3
10
 
package/README.md CHANGED
@@ -13,6 +13,7 @@ This repository contains custom ESLint rules to enhance code quality and consist
13
13
 
14
14
  ## Configurations
15
15
 
16
+ ### All
16
17
  To add all of the rules into your project, add the following configuration into your ESLint configuration file:
17
18
 
18
19
  ```json
@@ -21,6 +22,34 @@ To add all of the rules into your project, add the following configuration into
21
22
  }
22
23
  ```
23
24
 
25
+ ### All React
26
+ ```json
27
+ {
28
+ "extends": ["plugin:th-rules/all-react"]
29
+ }
30
+ ```
31
+
32
+ ### All React Native
33
+ ```json
34
+ {
35
+ "extends": ["plugin:th-rules/all-react-native"]
36
+ }
37
+ ```
38
+
39
+ ### Recommended
40
+ ```json
41
+ {
42
+ "extends": ["plugin:th-rules/recommended"]
43
+ }
44
+ ```
45
+
46
+ ### Basic
47
+ ```json
48
+ {
49
+ "extends": ["plugin:th-rules/basic"]
50
+ }
51
+ ```
52
+
24
53
  ## Rules
25
54
 
26
55
  ### 1. No-Destruction Rule
package/bun.lockb CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-th-rules",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "A List of custom ESLint rules created by Tomer Horowitz",
5
5
  "keywords": [
6
6
  "eslint",
@@ -24,6 +24,7 @@
24
24
  "eslint-plugin-jsdoc": "^48.2.0",
25
25
  "eslint-plugin-react": "^7.33.2",
26
26
  "eslint-plugin-react-hooks": "^4.6.0",
27
+ "eslint-plugin-react-native": "^4.1.0",
27
28
  "requireindex": "^1.2.0"
28
29
  },
29
30
  "devDependencies": {
@@ -40,6 +41,7 @@
40
41
  "eslint-doc-generator": "^1.0.0",
41
42
  "eslint-plugin-eslint-plugin": "^5.0.0",
42
43
  "eslint-plugin-node": "^11.1.0",
44
+ "eslint-plugin-unicorn": "^51.0.1",
43
45
  "mocha": "^10.0.0",
44
46
  "npm-run-all": "^4.1.5",
45
47
  "xo": "^0.57.0"