@mscharley/eslint-config 1.8.0 → 1.8.3
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.json +36 -0
- package/CHANGELOG.md +22 -1
- package/README.md +2 -3
- package/eslint.json +1 -1
- package/index.js +1 -1
- package/package.json +5 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mscharley/eslint-config",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "1.8.3",
|
|
6
|
+
"tag": "@mscharley/eslint-config_v1.8.3",
|
|
7
|
+
"date": "Wed, 02 Mar 2022 01:14:53 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "fix: buggy testing rules"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"version": "1.8.2",
|
|
18
|
+
"tag": "@mscharley/eslint-config_v1.8.2",
|
|
19
|
+
"date": "Wed, 02 Mar 2022 01:05:01 GMT",
|
|
20
|
+
"comments": {
|
|
21
|
+
"patch": [
|
|
22
|
+
{
|
|
23
|
+
"comment": "fix: dependencies"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"version": "1.8.1",
|
|
30
|
+
"tag": "@mscharley/eslint-config_v1.8.1",
|
|
31
|
+
"date": "Wed, 02 Mar 2022 00:53:04 GMT",
|
|
32
|
+
"comments": {
|
|
33
|
+
"patch": [
|
|
34
|
+
{
|
|
35
|
+
"comment": "fix: add required package dependencies"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
4
40
|
{
|
|
5
41
|
"version": "1.8.0",
|
|
6
42
|
"tag": "@mscharley/eslint-config_v1.8.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Change Log - @mscharley/eslint-config
|
|
2
2
|
|
|
3
|
-
This log was last generated on Wed, 02 Mar 2022
|
|
3
|
+
This log was last generated on Wed, 02 Mar 2022 01:14:53 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 1.8.3
|
|
6
|
+
Wed, 02 Mar 2022 01:14:53 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- fix: buggy testing rules
|
|
11
|
+
|
|
12
|
+
## 1.8.2
|
|
13
|
+
Wed, 02 Mar 2022 01:05:01 GMT
|
|
14
|
+
|
|
15
|
+
### Patches
|
|
16
|
+
|
|
17
|
+
- fix: dependencies
|
|
18
|
+
|
|
19
|
+
## 1.8.1
|
|
20
|
+
Wed, 02 Mar 2022 00:53:04 GMT
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
|
|
24
|
+
- fix: add required package dependencies
|
|
4
25
|
|
|
5
26
|
## 1.8.0
|
|
6
27
|
Wed, 02 Mar 2022 00:45:39 GMT
|
package/README.md
CHANGED
|
@@ -25,8 +25,7 @@ $ npm install --save-dev @mscharley/eslint-config @mscharley/prettier-config
|
|
|
25
25
|
module.exports = {
|
|
26
26
|
root: true,
|
|
27
27
|
extends: [
|
|
28
|
-
'@mscharley', //
|
|
29
|
-
// '@mscharley/eslint-config/eslint', // For JS-only projects.
|
|
28
|
+
'@mscharley', // Baseline rules for any TS or JS project.
|
|
30
29
|
'@mscharley/eslint-config/node', // For projects running on NodeJS.
|
|
31
30
|
// '@mscharley/eslint-config/react', // For projects running React.
|
|
32
31
|
],
|
|
@@ -50,7 +49,7 @@ module.exports = {
|
|
|
50
49
|
overrides: [
|
|
51
50
|
{
|
|
52
51
|
// This must be a valid path inside your TypeScript source folders.
|
|
53
|
-
files: ["src/**/*.js
|
|
52
|
+
files: ["src/**/*.{js,jsx}"],
|
|
54
53
|
rules: { "deprecation/deprecation": "warn" },
|
|
55
54
|
},
|
|
56
55
|
],
|
package/eslint.json
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mscharley/eslint-config",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "ESLint presets that I use a lot",
|
|
5
5
|
"main": "index.json",
|
|
6
6
|
"scripts": {
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"eslint-plugin-deprecation": "^1.3.2",
|
|
41
41
|
"eslint-plugin-node": "^11.1.0",
|
|
42
42
|
"eslint-plugin-prettier": "^4.0.0",
|
|
43
|
+
"eslint-plugin-react": "^7.29.2",
|
|
44
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
43
45
|
"prettier": "^2.5.1",
|
|
44
46
|
"typescript": "^4.5.3"
|
|
45
47
|
},
|
|
@@ -52,6 +54,8 @@
|
|
|
52
54
|
"eslint-plugin-deprecation": "^1.3.2",
|
|
53
55
|
"eslint-plugin-node": "^11.1.0",
|
|
54
56
|
"eslint-plugin-prettier": "^4.0.0",
|
|
57
|
+
"eslint-plugin-react": "^7.29.2",
|
|
58
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
55
59
|
"prettier": "^2.5.1",
|
|
56
60
|
"lint-staged": "~12.3.4",
|
|
57
61
|
"typescript": "~4.6.2",
|