@graphcommerce/eslint-config-pwa 3.1.9 β†’ 4.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +79 -61
  2. package/index.js +3 -0
  3. package/package.json +13 -12
package/CHANGELOG.md CHANGED
@@ -1,115 +1,133 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [3.1.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.1.4...@graphcommerce/eslint-config-pwa@3.1.5) (2021-11-12)
3
+ ## 4.0.1
7
4
 
5
+ ### Patch Changes
8
6
 
9
- ### Bug Fixes
7
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
+ so that the packages link to back to the website and repository
10
+ - Updated dependencies
11
+ [[`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)]:
12
+ - @graphcommerce/prettier-config-pwa@4.0.1
13
+ - @graphcommerce/typescript-config-pwa@4.0.1
10
14
 
11
- * eslint doesn't start properly ([3e01cfb](https://github.com/ho-nl/m2-pwa/commit/3e01cfb89ef73de2b520399c9428b88114844b02))
15
+ ## 4.0.0
12
16
 
17
+ ### Major Changes
13
18
 
19
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
20
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
21
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
14
22
 
23
+ ### Patch Changes
15
24
 
25
+ - Updated dependencies
26
+ [[`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)]:
27
+ - @graphcommerce/typescript-config-pwa@4.0.0
28
+ - @graphcommerce/prettier-config-pwa@4.0.0
16
29
 
17
- # [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.8...@graphcommerce/eslint-config-pwa@3.1.0) (2021-10-21)
18
-
30
+ All notable changes to this project will be documented in this file. See
31
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
19
32
 
20
- ### Features
33
+ ## [3.1.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.1.4...@graphcommerce/eslint-config-pwa@3.1.5) (2021-11-12)
21
34
 
22
- * **graphql-mesh:** remove the api project and use a single project πŸŽ‰πŸ‘©β€πŸ‘©β€πŸ‘¦β€πŸ‘¦ ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
35
+ ### Bug Fixes
23
36
 
37
+ - eslint doesn't start properly
38
+ ([3e01cfb](https://github.com/ho-nl/m2-pwa/commit/3e01cfb89ef73de2b520399c9428b88114844b02))
24
39
 
40
+ # [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.8...@graphcommerce/eslint-config-pwa@3.1.0) (2021-10-21)
25
41
 
42
+ ### Features
26
43
 
44
+ - **graphql-mesh:** remove the api project and use a single project πŸŽ‰πŸ‘©β€πŸ‘©β€πŸ‘¦β€πŸ‘¦
45
+ ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
27
46
 
28
47
  ## [3.0.3](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.2...@graphcommerce/eslint-config-pwa@3.0.3) (2021-09-28)
29
48
 
30
-
31
49
  ### Bug Fixes
32
50
 
33
- * eslint not working ([68c76b3](https://github.com/ho-nl/m2-pwa/commit/68c76b3f4bc1f7dbf490b331e72f0d91afc634bf))
34
-
35
-
36
-
37
-
51
+ - eslint not working
52
+ ([68c76b3](https://github.com/ho-nl/m2-pwa/commit/68c76b3f4bc1f7dbf490b331e72f0d91afc634bf))
38
53
 
39
54
  ## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@3.0.0...@graphcommerce/eslint-config-pwa@3.0.1) (2021-09-27)
40
55
 
41
56
  **Note:** Version bump only for package @graphcommerce/eslint-config-pwa
42
57
 
43
-
44
-
45
-
46
-
47
58
  # 3.0.0 (2021-09-27)
48
59
 
49
-
50
60
  ### Bug Fixes
51
61
 
52
- * [@typescript-eslint](https://github.com/typescript-eslint) package not found ([09ccae0](https://github.com/ho-nl/m2-pwa/commit/09ccae09605e0bab83a2168677e9752d16b24e9d))
53
- * disable prefer-default-export for ts files as they are usually libraries ([7c91b32](https://github.com/ho-nl/m2-pwa/commit/7c91b32d008ffdf1651d5255891f602f7b27e534))
54
- * **eslint-config:** allow console.info ([ea55b1d](https://github.com/ho-nl/m2-pwa/commit/ea55b1d3fe08bacae8044fb111c74c5497e5a591))
55
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
56
- * make eslint config compatible with eslint-config-prettier@8.0.0 ([a4978f9](https://github.com/ho-nl/m2-pwa/commit/a4978f968c0115279e2cb7457d4502f70d7d05d4))
57
- * move back to yarn 1.19.1 ([ce36c53](https://github.com/ho-nl/m2-pwa/commit/ce36c53b94c0f834b5e4da5e0d7e3b2bb02754bf))
58
- * playwright.ts files error ([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
59
- * remove cyclic dependencies ([8a59389](https://github.com/ho-nl/m2-pwa/commit/8a5938943a97634cce57c68bb369c6e77e7a0288))
60
- * remove unused property from eslint config ignorePatterns ([a8a7af1](https://github.com/ho-nl/m2-pwa/commit/a8a7af1754542bd5b445e54642e563ac6c386913))
61
-
62
+ - [@typescript-eslint](https://github.com/typescript-eslint) package not found
63
+ ([09ccae0](https://github.com/ho-nl/m2-pwa/commit/09ccae09605e0bab83a2168677e9752d16b24e9d))
64
+ - disable prefer-default-export for ts files as they are usually libraries
65
+ ([7c91b32](https://github.com/ho-nl/m2-pwa/commit/7c91b32d008ffdf1651d5255891f602f7b27e534))
66
+ - **eslint-config:** allow console.info
67
+ ([ea55b1d](https://github.com/ho-nl/m2-pwa/commit/ea55b1d3fe08bacae8044fb111c74c5497e5a591))
68
+ - ignore md files from triggering version updates
69
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
70
+ - make eslint config compatible with eslint-config-prettier@8.0.0
71
+ ([a4978f9](https://github.com/ho-nl/m2-pwa/commit/a4978f968c0115279e2cb7457d4502f70d7d05d4))
72
+ - move back to yarn 1.19.1
73
+ ([ce36c53](https://github.com/ho-nl/m2-pwa/commit/ce36c53b94c0f834b5e4da5e0d7e3b2bb02754bf))
74
+ - playwright.ts files error
75
+ ([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
76
+ - remove cyclic dependencies
77
+ ([8a59389](https://github.com/ho-nl/m2-pwa/commit/8a5938943a97634cce57c68bb369c6e77e7a0288))
78
+ - remove unused property from eslint config ignorePatterns
79
+ ([a8a7af1](https://github.com/ho-nl/m2-pwa/commit/a8a7af1754542bd5b445e54642e563ac6c386913))
62
80
 
63
81
  ### Features
64
82
 
65
- * added eslint-plugin-next to have more linting ([599c9f0](https://github.com/ho-nl/m2-pwa/commit/599c9f0ff7c07cae3791d6bda819beabaed82f4e))
66
- * created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
67
- * **eslint:** no-relative-packages, prevent importing other packages by relative paths ([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
68
- * **framer-next-pages:** enable dragging when the content isn’t scrollable ([3df9115](https://github.com/ho-nl/m2-pwa/commit/3df9115d3fbf72dbe547780f0bc6ce80e42b9e47))
69
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
70
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
71
- * renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
72
- * upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
73
- * use official nextjs image endpoint ([0e76ab4](https://github.com/ho-nl/m2-pwa/commit/0e76ab4cece15d4d6f192cb938588a34abaebe8a))
74
-
75
-
83
+ - added eslint-plugin-next to have more linting
84
+ ([599c9f0](https://github.com/ho-nl/m2-pwa/commit/599c9f0ff7c07cae3791d6bda819beabaed82f4e))
85
+ - created stacked-pages package
86
+ ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
87
+ - **eslint:** no-relative-packages, prevent importing other packages by relative paths
88
+ ([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
89
+ - **framer-next-pages:** enable dragging when the content isn’t scrollable
90
+ ([3df9115](https://github.com/ho-nl/m2-pwa/commit/3df9115d3fbf72dbe547780f0bc6ce80e42b9e47))
91
+ - next.js 11
92
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
93
+ - **playwright:** added new playwright package to enable browser testing
94
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
95
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
96
+ [@reachdigital](https://github.com/reachdigital)
97
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
98
+ - upgrade to node 14
99
+ ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
100
+ - use official nextjs image endpoint
101
+ ([0e76ab4](https://github.com/ho-nl/m2-pwa/commit/0e76ab4cece15d4d6f192cb938588a34abaebe8a))
76
102
 
77
103
  ## 2.0.8 (2020-10-28)
78
104
 
79
-
80
105
  ### Features
81
106
 
82
- * split into packages ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
83
-
107
+ - split into packages
108
+ ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
84
109
 
85
110
  ### BREAKING CHANGES
86
111
 
87
- * huge folder structure refactor, please read README to reinstall
88
-
89
-
90
-
91
-
112
+ - huge folder structure refactor, please read README to reinstall
92
113
 
93
114
  # [2.102.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@2.101.0...@graphcommerce/eslint-config-pwa@2.102.0) (2021-07-28)
94
115
 
95
-
96
116
  ### Features
97
117
 
98
- * **eslint:** no-relative-packages, prevent importing other packages by relative paths ([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
99
-
100
-
101
-
102
-
118
+ - **eslint:** no-relative-packages, prevent importing other packages by relative paths
119
+ ([b3d23b0](https://github.com/ho-nl/m2-pwa/commit/b3d23b0217f808bb251ecaf67ccc618f9a10eefe))
103
120
 
104
121
  # [2.101.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/eslint-config-pwa@2.100.10...@graphcommerce/eslint-config-pwa@2.101.0) (2021-07-26)
105
122
 
106
-
107
123
  ### Bug Fixes
108
124
 
109
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
110
- * playwright.ts files error ([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
111
-
125
+ - ignore md files from triggering version updates
126
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
127
+ - playwright.ts files error
128
+ ([4296f64](https://github.com/ho-nl/m2-pwa/commit/4296f648b11ea2a01e220cc0cbe1f6114e83e747))
112
129
 
113
130
  ### Features
114
131
 
115
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
132
+ - **playwright:** added new playwright package to enable browser testing
133
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
package/index.js CHANGED
@@ -66,6 +66,7 @@ module.exports = {
66
66
  'react/jsx-key': ['error', { checkFragmentShorthand: true }],
67
67
  'react/jsx-no-duplicate-props': ['error', { ignoreCase: false }],
68
68
  'react/require-default-props': 'off',
69
+ 'react/destructuring-assignment': 'off',
69
70
 
70
71
  '@typescript-eslint/explicit-function-return-type': 'off',
71
72
  '@typescript-eslint/no-unsafe-assignment': 'off',
@@ -102,6 +103,8 @@ module.exports = {
102
103
 
103
104
  // Remove when fixed: https://github.com/airbnb/javascript/pull/2501/files
104
105
  'react/function-component-definition': 'off',
106
+
107
+ 'prefer-const': ['error', { destructuring: 'all' }],
105
108
  },
106
109
  overrides: [
107
110
  {
package/package.json CHANGED
@@ -1,27 +1,28 @@
1
1
  {
2
2
  "name": "@graphcommerce/eslint-config-pwa",
3
- "version": "3.1.9",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "4.0.1",
4
6
  "main": "index.js",
5
7
  "dependencies": {
6
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
7
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
8
- "@next/eslint-plugin-next": "^12.0.7",
9
- "@typescript-eslint/eslint-plugin": "^5.7.0",
10
- "@typescript-eslint/parser": "^5.7.0",
11
- "eslint": "^8.4.1",
12
- "eslint-config-airbnb": "^19.0.2",
8
+ "@graphcommerce/prettier-config-pwa": "^4.0.1",
9
+ "@graphcommerce/typescript-config-pwa": "^4.0.1",
10
+ "@next/eslint-plugin-next": "^12.0.10",
11
+ "@typescript-eslint/eslint-plugin": "^5.11.0",
12
+ "@typescript-eslint/parser": "^5.11.0",
13
+ "eslint": "^8.8.0",
14
+ "eslint-config-airbnb": "^19.0.4",
13
15
  "eslint-config-airbnb-typescript": "^16.1.0",
14
16
  "eslint-config-prettier": "^8.3.0",
15
17
  "eslint-import-resolver-webpack": "^0.13.2",
16
- "eslint-plugin-import": "^2.25.3",
18
+ "eslint-plugin-import": "^2.25.4",
17
19
  "eslint-plugin-jsx-a11y": "^6.5.1",
18
- "eslint-plugin-react": "^7.27.1",
20
+ "eslint-plugin-react": "^7.28.0",
19
21
  "eslint-plugin-react-hooks": "^4.3.0"
20
22
  },
21
23
  "sideEffects": false,
22
24
  "engines": {
23
25
  "node": "14.x"
24
26
  },
25
- "prettier": "@graphcommerce/prettier-config-pwa",
26
- "gitHead": "06b4426d199de9ec2a9d2ac86d42ab047e59e7e7"
27
+ "prettier": "@graphcommerce/prettier-config-pwa"
27
28
  }