eslint-plugin-th-rules 1.7.0 → 1.8.0

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,15 @@
1
+ # [1.8.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.7.0...v1.8.0) (2024-06-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Remove eslint-plugin-github from recommended config ([989a59f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/989a59f47ff67864499a8ee7f34354feccae71a9))
7
+
8
+
9
+ ### Features
10
+
11
+ * Added typescript-eslint strict rules ([be91f38](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/be91f38d1f2a1f452d0b92755d58ce728b544066))
12
+
1
13
  # [1.7.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.6.1...v1.7.0) (2024-06-15)
2
14
 
3
15
 
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.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "A List of custom ESLint rules created by Tomer Horowitz",
5
5
  "keywords": [
6
6
  "eslint",
@@ -21,7 +21,6 @@
21
21
  "eslint-config-jsdoc": "^15.4.0",
22
22
  "eslint-config-xo": "^0.45.0",
23
23
  "eslint-config-xo-react": "^0.27.0",
24
- "eslint-plugin-github": "^5.0.1",
25
24
  "eslint-plugin-jsdoc": "^48.2.12",
26
25
  "eslint-plugin-react": "^7.34.2",
27
26
  "eslint-plugin-react-hooks": "^4.6.2",
@@ -31,12 +30,14 @@
31
30
  },
32
31
  "devDependencies": {
33
32
  "@codedependant/semantic-release-docker": "^5.0.3",
33
+ "@eslint/js": "^9.5.0",
34
34
  "@semantic-release/changelog": "^6.0.3",
35
35
  "@semantic-release/commit-analyzer": "^13.0.0",
36
36
  "@semantic-release/git": "^10.0.1",
37
37
  "@semantic-release/github": "^10.0.6",
38
38
  "@semantic-release/npm": "^12.0.1",
39
39
  "@semantic-release/release-notes-generator": "^14.0.0",
40
+ "@types/eslint__js": "^8.42.3",
40
41
  "@types/requireindex": "^1.2.4",
41
42
  "@types/xo": "^0.39.8",
42
43
  "bun-types": "latest",
@@ -48,6 +49,8 @@
48
49
  "eslint-plugin-unicorn": "^54.0.0",
49
50
  "mocha": "^10.4.0",
50
51
  "npm-run-all": "^4.1.5",
52
+ "typescript": "^5.4.5",
53
+ "typescript-eslint": "^7.13.0",
51
54
  "xo": "^0.58.0"
52
55
  },
53
56
  "peerDependencies": {
package/src/index.js CHANGED
@@ -5,8 +5,12 @@
5
5
  const requireIndex = require('requireindex');
6
6
 
7
7
  const recommended = {
8
- plugins: ['th-rules', 'github', 'sonarjs'],
9
- extends: ['plugin:github/recommended', 'plugin:sonarjs/recommended-legacy'],
8
+ plugins: ['th-rules', 'sonarjs'],
9
+ extends: [
10
+ 'plugin:@typescript-eslint/strict-type-checked',
11
+ 'plugin:@typescript-eslint/stylistic-type-checked',
12
+ 'plugin:sonarjs/recommended-legacy',
13
+ ],
10
14
  rules: {
11
15
  'th-rules/no-destructuring': 'error',
12
16
  'th-rules/no-default-export': 'error',