eslint-plugin-th-rules 1.10.0 → 1.11.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/.yarn/releases/yarn-4.4.0.cjs +925 -0
- package/.yarnrc.yml +1 -1
- package/CHANGELOG.md +14 -0
- package/bun.lockb +0 -0
- package/package.json +21 -20
- package/src/index.js +12 -1
- package/.yarn/releases/yarn-4.3.0.cjs +0 -894
package/.yarnrc.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.11.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.0...v1.11.1) (2024-08-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow eslint-disable comments ([e210edd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e210edd0510a9b4575953d3ee039f8d70ec3ef89))
|
|
7
|
+
|
|
8
|
+
# [1.11.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.10.0...v1.11.0) (2024-08-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* added no comments ([8fcc0b7](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/8fcc0b7f7d0e0866584d478093aa835cf55acef1))
|
|
14
|
+
|
|
1
15
|
# [1.10.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.9.0...v1.10.0) (2024-08-02)
|
|
2
16
|
|
|
3
17
|
|
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.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "A List of custom ESLint rules created by Tomer Horowitz",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -19,46 +19,47 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"eslint-config-jsdoc": "^15.4.0",
|
|
22
|
-
"eslint-config-xo": "^0.
|
|
22
|
+
"eslint-config-xo": "^0.46.0",
|
|
23
23
|
"eslint-config-xo-react": "^0.27.0",
|
|
24
|
-
"eslint-plugin-jsdoc": "^
|
|
25
|
-
"eslint-plugin-
|
|
24
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
25
|
+
"eslint-plugin-no-comments": "^1.1.10",
|
|
26
|
+
"eslint-plugin-react": "^7.35.0",
|
|
26
27
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
27
28
|
"eslint-plugin-react-native": "^4.1.0",
|
|
28
29
|
"eslint-plugin-security": "^3.0.1",
|
|
29
|
-
"eslint-plugin-sonarjs": "^1.0.
|
|
30
|
+
"eslint-plugin-sonarjs": "^1.0.4",
|
|
30
31
|
"requireindex": "^1.2.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@codedependant/semantic-release-docker": "^5.0.3",
|
|
34
|
-
"@eslint/js": "^9.
|
|
35
|
+
"@eslint/js": "^9.9.0",
|
|
35
36
|
"@semantic-release/changelog": "^6.0.3",
|
|
36
37
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
37
38
|
"@semantic-release/git": "^10.0.1",
|
|
38
|
-
"@semantic-release/github": "^10.
|
|
39
|
+
"@semantic-release/github": "^10.1.6",
|
|
39
40
|
"@semantic-release/npm": "^12.0.1",
|
|
40
|
-
"@semantic-release/release-notes-generator": "^14.0.
|
|
41
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
41
42
|
"@types/eslint-plugin-security": "^3.0.0",
|
|
42
43
|
"@types/eslint__js": "^8.42.3",
|
|
43
44
|
"@types/requireindex": "^1.2.4",
|
|
44
|
-
"@types/xo": "^0.39.
|
|
45
|
+
"@types/xo": "^0.39.9",
|
|
45
46
|
"bun-types": "latest",
|
|
46
|
-
"eslint": "^9.
|
|
47
|
+
"eslint": "^9.9.0",
|
|
47
48
|
"eslint-doc-generator": "^1.7.1",
|
|
48
|
-
"eslint-plugin-eslint-plugin": "^6.
|
|
49
|
+
"eslint-plugin-eslint-plugin": "^6.2.0",
|
|
49
50
|
"eslint-plugin-node": "^11.1.0",
|
|
50
|
-
"eslint-plugin-sonarjs": "^1.0.
|
|
51
|
-
"eslint-plugin-unicorn": "^
|
|
52
|
-
"mocha": "^10.
|
|
51
|
+
"eslint-plugin-sonarjs": "^1.0.4",
|
|
52
|
+
"eslint-plugin-unicorn": "^55.0.0",
|
|
53
|
+
"mocha": "^10.7.3",
|
|
53
54
|
"npm-run-all": "^4.1.5",
|
|
54
|
-
"typescript": "^5.4
|
|
55
|
-
"typescript-eslint": "^
|
|
56
|
-
"xo": "^0.
|
|
55
|
+
"typescript": "^5.5.4",
|
|
56
|
+
"typescript-eslint": "^8.1.0",
|
|
57
|
+
"xo": "^0.59.3"
|
|
57
58
|
},
|
|
58
59
|
"peerDependencies": {
|
|
59
|
-
"eslint": ">=9.
|
|
60
|
-
"typescript": "^5.4
|
|
60
|
+
"eslint": ">=9.9.0",
|
|
61
|
+
"typescript": "^5.5.4"
|
|
61
62
|
},
|
|
62
63
|
"license": "ISC",
|
|
63
|
-
"packageManager": "yarn@4.
|
|
64
|
+
"packageManager": "yarn@4.4.0"
|
|
64
65
|
}
|
package/src/index.js
CHANGED
|
@@ -6,7 +6,11 @@ const requireIndex = require('requireindex');
|
|
|
6
6
|
|
|
7
7
|
const configs = {};
|
|
8
8
|
configs.recommended = {
|
|
9
|
-
plugins: [
|
|
9
|
+
plugins: [
|
|
10
|
+
'th-rules',
|
|
11
|
+
'sonarjs',
|
|
12
|
+
'no-comments',
|
|
13
|
+
],
|
|
10
14
|
extends: [
|
|
11
15
|
'plugin:sonarjs/recommended-legacy',
|
|
12
16
|
'plugin:security/recommended-legacy',
|
|
@@ -23,6 +27,13 @@ configs.recommended = {
|
|
|
23
27
|
'new-cap': 'off',
|
|
24
28
|
'no-await-in-loop': 'off',
|
|
25
29
|
camelcase: 'warn',
|
|
30
|
+
'no-comments/disallowComments': [
|
|
31
|
+
'error',
|
|
32
|
+
{
|
|
33
|
+
allow: ['eslint-disable', 'TODO', 'FIXME', 'NOTE', 'DEBUG'],
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
|
|
26
37
|
},
|
|
27
38
|
env: {
|
|
28
39
|
node: true,
|