eslint-config-heck 1.4.0 → 1.5.2
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/.releaserc.json +3 -0
- package/CHANGELOG.md +152 -0
- package/node.js +5 -13
- package/package.json +18 -12
package/.releaserc.json
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# [1.5.0](https://github.com/atheck/eslint-config-heck/compare/v1.4.0...v1.5.0) (2022-03-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add new typescript linting rules ([ee6162e](https://github.com/atheck/eslint-config-heck/commit/ee6162eaaf2f59094f494127c457ba4029c30df5))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# [1.4.0](https://github.com/atheck/eslint-config-heck/compare/v1.3.1...v1.4.0) (2022-02-27)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add new rules ([6fe363d](https://github.com/atheck/eslint-config-heck/commit/6fe363d9a4d981337d251a29bac84e9be18ddac5))
|
|
16
|
+
* enable option to report unused disable directives ([b18e91a](https://github.com/atheck/eslint-config-heck/commit/b18e91a1bbcb7ab5bf42c3d80aaa08edc169450e))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [1.3.1](https://github.com/atheck/eslint-config-heck/compare/v1.3.0...v1.3.1) (2022-01-18)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* modify options of @typescript-eslint/explicit-function-return-type rule ([a66e2d6](https://github.com/atheck/eslint-config-heck/commit/a66e2d6d5edee403d218e27c9e9d3085b875e4bc))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [1.3.0](https://github.com/atheck/eslint-config-heck/compare/v1.2.0...v1.3.0) (2022-01-18)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* add and update new and modified rules ([a466ddc](https://github.com/atheck/eslint-config-heck/commit/a466ddcad0be6f32085df41ad5c0c7b0cb367681))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [1.2.0](https://github.com/atheck/eslint-config-heck/compare/v1.1.2...v1.2.0) (2021-12-03)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* replace deprecation plugin with @delagen/depreaction ([c07f621](https://github.com/atheck/eslint-config-heck/commit/c07f621d05e721a396f75ec5e4d9fb20b6e9cb5b))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## [1.1.2](https://github.com/atheck/eslint-config-heck/compare/v1.1.1...v1.1.2) (2021-12-03)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* change order in react sort-comp rule ([0ce0b78](https://github.com/atheck/eslint-config-heck/commit/0ce0b786edaf9a5049ac0a1f98269715cbc3990f))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [1.1.1](https://github.com/atheck/eslint-config-heck/compare/v1.1.0...v1.1.1) (2021-11-30)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* use avoidEscape option in quotes rule ([cb0b732](https://github.com/atheck/eslint-config-heck/commit/cb0b732a6fb0329892d203a06e1a909c2db2511b))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# [1.1.0](https://github.com/atheck/eslint-config-heck/compare/v1.0.0...v1.1.0) (2021-11-29)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
* use advanced config of array-type-spacing rule ([d78a729](https://github.com/atheck/eslint-config-heck/commit/d78a7293749b0c1df9a219ca5a00ae8a7ea878a5))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
# [1.0.0](https://github.com/atheck/eslint-config-heck/compare/v0.1.4...v1.0.0) (2021-11-28)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Features
|
|
78
|
+
|
|
79
|
+
* add eslint-plugin-typescript-heck ([6075e26](https://github.com/atheck/eslint-config-heck/commit/6075e26f23b9e9c111e256296a60ad95400dc805))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## [0.1.4](https://github.com/atheck/eslint-config-heck/compare/v0.1.3...v0.1.4) (2021-11-23)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* modify some rules ([b6a51a3](https://github.com/atheck/eslint-config-heck/commit/b6a51a35292f8abf6b97f08d799fcb2277fdf562))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## [0.1.3](https://github.com/atheck/eslint-config-heck/compare/v0.1.2...v0.1.3) (2021-11-22)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* modify some rules ([3187118](https://github.com/atheck/eslint-config-heck/commit/31871182cc4df92d92ff42dae9798c13f88bca77))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## [0.1.2](https://github.com/atheck/eslint-config-heck/compare/v0.1.1...v0.1.2) (2021-11-21)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Bug Fixes
|
|
105
|
+
|
|
106
|
+
* modify object-curly-spacing rule ([15c0a9f](https://github.com/atheck/eslint-config-heck/commit/15c0a9fd7d10a7a0090be2c249e798a5dfc9271d))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## [0.1.1](https://github.com/atheck/eslint-config-heck/compare/v0.1.0...v0.1.1) (2021-11-19)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Features
|
|
114
|
+
|
|
115
|
+
* modified some rules ([276ec84](https://github.com/atheck/eslint-config-heck/commit/276ec848d4b416b5e932aa681d266dd1298a8e20))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
# [0.1.0](https://github.com/atheck/eslint-config-heck/compare/v0.0.4...v0.1.0) (2021-11-17)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## [0.0.4](https://github.com/atheck/eslint-config-heck/compare/v0.0.3...v0.0.4) (2021-11-10)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Bug Fixes
|
|
127
|
+
|
|
128
|
+
* update eslint jest plugin rules ([705c86a](https://github.com/atheck/eslint-config-heck/commit/705c86a2d75f95a975188064f49979b1d5bf6c17))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## [0.0.3](https://github.com/atheck/eslint-config-heck/compare/v0.0.2...v0.0.3) (2021-11-10)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## [0.0.2](https://github.com/atheck/eslint-config-heck/compare/v0.0.1...v0.0.2) (2021-11-10)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## [0.0.1](https://github.com/atheck/eslint-config-heck/compare/9fd6de87a11caab48a79eb3831d74470cab22f03...v0.0.1) (2021-11-10)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Features
|
|
144
|
+
|
|
145
|
+
* activate rules only for js ([c5a6ebf](https://github.com/atheck/eslint-config-heck/commit/c5a6ebfaf565cc1305047947ac26bea103e05562))
|
|
146
|
+
* add deprecation plugin and rules ([d064788](https://github.com/atheck/eslint-config-heck/commit/d064788d75a81ad0104aeba44ba4b0b603854296))
|
|
147
|
+
* add eslint rules and test files ([9fd6de8](https://github.com/atheck/eslint-config-heck/commit/9fd6de87a11caab48a79eb3831d74470cab22f03))
|
|
148
|
+
* add more typescript rules ([3e8f21d](https://github.com/atheck/eslint-config-heck/commit/3e8f21d72b1bb5cc4cbc643eb08c7ae7e475d57b))
|
|
149
|
+
* add more typescript rules ([5657b83](https://github.com/atheck/eslint-config-heck/commit/5657b836788da0864c5eb998dd898f58fc2f54d5))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
package/node.js
CHANGED
|
@@ -921,6 +921,7 @@ const overrides = [
|
|
|
921
921
|
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
922
922
|
"@typescript-eslint/no-non-null-assertion": "error",
|
|
923
923
|
"@typescript-eslint/no-parameter-properties": "off",
|
|
924
|
+
"@typescript-eslint/no-redundant-type-constituents": "error",
|
|
924
925
|
"@typescript-eslint/no-require-imports": "error",
|
|
925
926
|
"@typescript-eslint/no-this-alias": "error",
|
|
926
927
|
"@typescript-eslint/no-type-alias": "off",
|
|
@@ -935,6 +936,7 @@ const overrides = [
|
|
|
935
936
|
"@typescript-eslint/no-unsafe-call": "error",
|
|
936
937
|
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
937
938
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
939
|
+
"@typescript-eslint/no-useless-empty-export": "error",
|
|
938
940
|
"@typescript-eslint/no-var-requires": "error",
|
|
939
941
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
940
942
|
"@typescript-eslint/prefer-as-const": "error",
|
|
@@ -985,19 +987,7 @@ const overrides = [
|
|
|
985
987
|
"brace-style": "off",
|
|
986
988
|
"@typescript-eslint/brace-style": "error",
|
|
987
989
|
"comma-dangle": "off",
|
|
988
|
-
"@typescript-eslint/comma-dangle": [
|
|
989
|
-
"error",
|
|
990
|
-
{
|
|
991
|
-
arrays: "always-multiline",
|
|
992
|
-
objects: "always-multiline",
|
|
993
|
-
imports: "always-multiline",
|
|
994
|
-
exports: "always-multiline",
|
|
995
|
-
functions: "never",
|
|
996
|
-
enums: "always-multiline",
|
|
997
|
-
generics: "never",
|
|
998
|
-
tuples: "always-multiline",
|
|
999
|
-
},
|
|
1000
|
-
],
|
|
990
|
+
"@typescript-eslint/comma-dangle": ["error", "always-multiline"],
|
|
1001
991
|
"comma-spacing": "off",
|
|
1002
992
|
"@typescript-eslint/comma-spacing": "error",
|
|
1003
993
|
"default-param-last": "off",
|
|
@@ -1123,6 +1113,8 @@ const overrides = [
|
|
|
1123
1113
|
omitLastInOneLineBlock: false,
|
|
1124
1114
|
},
|
|
1125
1115
|
],
|
|
1116
|
+
"space-before-blocks": "off",
|
|
1117
|
+
"@typescript-eslint/space-before-blocks": "error",
|
|
1126
1118
|
"space-before-function-paren": "off",
|
|
1127
1119
|
"@typescript-eslint/space-before-function-paren": "error",
|
|
1128
1120
|
"space-infix-ops": "off",
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"install-peers": "npm install --no-save react",
|
|
8
|
-
"lint": "eslint --ext '.ts,.tsx' ."
|
|
8
|
+
"lint": "eslint --ext '.ts,.tsx' .",
|
|
9
|
+
"semantic-release": "semantic-release"
|
|
9
10
|
},
|
|
10
11
|
"keywords": [
|
|
11
12
|
"ESLint",
|
|
@@ -17,21 +18,26 @@
|
|
|
17
18
|
"license": "MIT",
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@delagen/eslint-plugin-deprecation": "1.3.2",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
21
|
-
"@typescript-eslint/parser": "5.
|
|
22
|
-
"eslint": "8.
|
|
23
|
-
"eslint-plugin-jest": "26.1.
|
|
24
|
-
"eslint-plugin-react": "7.29.
|
|
25
|
-
"eslint-plugin-typescript-heck": "1.2.
|
|
26
|
-
"eslint-plugin-unicorn": "41.0.
|
|
27
|
-
"typescript": "4.
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "5.17.0",
|
|
22
|
+
"@typescript-eslint/parser": "5.17.0",
|
|
23
|
+
"eslint": "8.12.0",
|
|
24
|
+
"eslint-plugin-jest": "26.1.3",
|
|
25
|
+
"eslint-plugin-react": "7.29.4",
|
|
26
|
+
"eslint-plugin-typescript-heck": "1.2.1",
|
|
27
|
+
"eslint-plugin-unicorn": "41.0.1",
|
|
28
|
+
"typescript": "4.6.3"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@types/jest": "27.4.1",
|
|
31
|
-
"@types/react": "17.0.
|
|
32
|
-
"jest": "27.5.1"
|
|
32
|
+
"@types/react": "17.0.43",
|
|
33
|
+
"jest": "27.5.1",
|
|
34
|
+
"semantic-release": "19.0.2"
|
|
33
35
|
},
|
|
34
36
|
"peerDependencies": {
|
|
35
37
|
"react": ">=16.8.0"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "https://github.com/atheck/eslint-config-heck.git"
|
|
36
42
|
}
|
|
37
43
|
}
|