@mscharley/eslint-config 1.8.1 → 1.8.4

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 CHANGED
@@ -1,6 +1,50 @@
1
1
  {
2
2
  "name": "@mscharley/eslint-config",
3
3
  "entries": [
4
+ {
5
+ "version": "1.8.4",
6
+ "tag": "@mscharley/eslint-config_v1.8.4",
7
+ "date": "Fri, 18 Mar 2022 07:40:16 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "fix: bump dependency updates"
12
+ }
13
+ ],
14
+ "dependency": [
15
+ {
16
+ "comment": "Updating dependency \"@mscharley/prettier-config\" to `1.2.3`"
17
+ },
18
+ {
19
+ "comment": "Updating dependency \"@mscharley/prettier-config\" to `1.2.3`"
20
+ }
21
+ ]
22
+ }
23
+ },
24
+ {
25
+ "version": "1.8.3",
26
+ "tag": "@mscharley/eslint-config_v1.8.3",
27
+ "date": "Wed, 02 Mar 2022 01:14:53 GMT",
28
+ "comments": {
29
+ "patch": [
30
+ {
31
+ "comment": "fix: buggy testing rules"
32
+ }
33
+ ]
34
+ }
35
+ },
36
+ {
37
+ "version": "1.8.2",
38
+ "tag": "@mscharley/eslint-config_v1.8.2",
39
+ "date": "Wed, 02 Mar 2022 01:05:01 GMT",
40
+ "comments": {
41
+ "patch": [
42
+ {
43
+ "comment": "fix: dependencies"
44
+ }
45
+ ]
46
+ }
47
+ },
4
48
  {
5
49
  "version": "1.8.1",
6
50
  "tag": "@mscharley/eslint-config_v1.8.1",
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 00:53:04 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 18 Mar 2022 07:40:16 GMT and should not be manually modified.
4
+
5
+ ## 1.8.4
6
+ Fri, 18 Mar 2022 07:40:16 GMT
7
+
8
+ ### Patches
9
+
10
+ - fix: bump dependency updates
11
+
12
+ ## 1.8.3
13
+ Wed, 02 Mar 2022 01:14:53 GMT
14
+
15
+ ### Patches
16
+
17
+ - fix: buggy testing rules
18
+
19
+ ## 1.8.2
20
+ Wed, 02 Mar 2022 01:05:01 GMT
21
+
22
+ ### Patches
23
+
24
+ - fix: dependencies
4
25
 
5
26
  ## 1.8.1
6
27
  Wed, 02 Mar 2022 00:53:04 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', // For TS projects or mixed TS/JS projects.
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", "src/**/*.jsx"],
52
+ files: ["src/**/*.{js,jsx}"],
54
53
  rules: { "deprecation/deprecation": "warn" },
55
54
  },
56
55
  ],
package/eslint.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": ["eslint:recommended", "./prettier", "./testing"],
2
+ "extends": ["eslint:recommended", "./prettier"],
3
3
  "parser": "espree",
4
4
  "env": {
5
5
  "commonjs": true,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
- extends: ['./eslint', './typescript'],
2
+ extends: ['./eslint', './typescript', './testing'],
3
3
  reportUnusedDisableDirectives: true,
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mscharley/eslint-config",
3
- "version": "1.8.1",
3
+ "version": "1.8.4",
4
4
  "description": "ESLint presets that I use a lot",
5
5
  "main": "index.json",
6
6
  "scripts": {
@@ -32,31 +32,33 @@
32
32
  },
33
33
  "homepage": "https://github.com/mscharley/node-presets#readme",
34
34
  "peerDependencies": {
35
- "@mscharley/prettier-config": "1.2.2",
36
- "@typescript-eslint/parser": "^5.13.0",
37
- "@typescript-eslint/eslint-plugin": "^5.13.0",
38
- "eslint": "^8.10.0",
39
- "eslint-config-prettier": "^8.4.0",
35
+ "@mscharley/prettier-config": "1.2.3",
36
+ "@typescript-eslint/parser": "^5.15.0",
37
+ "@typescript-eslint/eslint-plugin": "^5.15.0",
38
+ "eslint": "^8.11.0",
39
+ "eslint-config-prettier": "^8.5.0",
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
- "prettier": "^2.5.1",
43
+ "eslint-plugin-react": "^7.29.4",
44
+ "eslint-plugin-react-hooks": "^4.3.0",
45
+ "prettier": "^2.6.0",
44
46
  "typescript": "^4.5.3"
45
47
  },
46
48
  "devDependencies": {
47
- "@mscharley/prettier-config": "1.2.2",
48
- "@typescript-eslint/parser": "^5.13.0",
49
- "@typescript-eslint/eslint-plugin": "^5.13.0",
50
- "eslint": "^8.10.0",
51
- "eslint-config-prettier": "^8.4.0",
49
+ "@mscharley/prettier-config": "1.2.3",
50
+ "@typescript-eslint/parser": "^5.15.0",
51
+ "@typescript-eslint/eslint-plugin": "^5.15.0",
52
+ "eslint": "^8.11.0",
53
+ "eslint-config-prettier": "^8.5.0",
52
54
  "eslint-plugin-deprecation": "^1.3.2",
53
55
  "eslint-plugin-node": "^11.1.0",
54
56
  "eslint-plugin-prettier": "^4.0.0",
55
- "eslint-plugin-react": "^7.29.2",
57
+ "eslint-plugin-react": "^7.29.4",
56
58
  "eslint-plugin-react-hooks": "^4.3.0",
57
- "prettier": "^2.5.1",
58
- "lint-staged": "~12.3.4",
59
+ "prettier": "^2.6.0",
60
+ "lint-staged": "~12.3.7",
59
61
  "typescript": "~4.6.2",
60
- "npm-check-updates": "~12.5.0"
62
+ "npm-check-updates": "~12.5.4"
61
63
  }
62
64
  }