@graphcommerce/eslint-config-pwa 9.0.4-canary.9 → 9.0.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.md +7 -17
- package/index.js +1 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.4
|
|
3
|
+
## 9.0.4
|
|
4
4
|
|
|
5
|
-
## 9.0.
|
|
5
|
+
## 9.0.3
|
|
6
6
|
|
|
7
|
-
## 9.0.
|
|
7
|
+
## 9.0.3-canary.0
|
|
8
8
|
|
|
9
|
-
## 9.0.
|
|
9
|
+
## 9.0.2
|
|
10
10
|
|
|
11
|
-
## 9.0.
|
|
11
|
+
## 9.0.2-canary.0
|
|
12
12
|
|
|
13
|
-
## 9.0.
|
|
13
|
+
## 9.0.1
|
|
14
14
|
|
|
15
|
-
## 9.0.
|
|
16
|
-
|
|
17
|
-
## 9.0.4-canary.2
|
|
18
|
-
|
|
19
|
-
## 9.0.4-canary.1
|
|
20
|
-
|
|
21
|
-
### Patch Changes
|
|
22
|
-
|
|
23
|
-
- [#2470](https://github.com/graphcommerce-org/graphcommerce/pull/2470) [`29e2956`](https://github.com/graphcommerce-org/graphcommerce/commit/29e29562267741c28a181cbf90bd1fe5442d47f6) - Components must have Theme parameter to avoid significant compiler slowdown. ([@paales](https://github.com/paales))
|
|
24
|
-
|
|
25
|
-
## 9.0.4-canary.0
|
|
15
|
+
## 9.0.1-canary.1
|
|
26
16
|
|
|
27
17
|
## 9.0.0
|
|
28
18
|
|
package/index.js
CHANGED
|
@@ -46,14 +46,6 @@ module.exports = {
|
|
|
46
46
|
message:
|
|
47
47
|
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
|
|
48
48
|
},
|
|
49
|
-
{
|
|
50
|
-
selector: 'TSTypeReference[typeName.name="SxProps"]:not([typeParameters])',
|
|
51
|
-
message: 'SxProps must have Theme parameter to avoid significant compiler slowdown.',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
selector: 'TSTypeReference[typeName.name="Components"]:not([typeParameters])',
|
|
55
|
-
message: 'Components must have Theme parameter to avoid significant compiler slowdown.',
|
|
56
|
-
},
|
|
57
49
|
],
|
|
58
50
|
|
|
59
51
|
// plugin:import/recommended & plugin:import/typescript
|
|
@@ -181,10 +173,6 @@ module.exports = {
|
|
|
181
173
|
files: ['*.tsx'],
|
|
182
174
|
rules: { 'import/no-default-export': ['error'] },
|
|
183
175
|
},
|
|
184
|
-
{
|
|
185
|
-
files: ['**/copy/**/*.tsx'],
|
|
186
|
-
rules: { 'import/no-extraneous-dependencies': 'off' },
|
|
187
|
-
},
|
|
188
176
|
{
|
|
189
177
|
files: ['**/pages/**/*.tsx'],
|
|
190
178
|
rules: { 'import/no-default-export': 'off' },
|
|
@@ -204,7 +192,7 @@ module.exports = {
|
|
|
204
192
|
},
|
|
205
193
|
},
|
|
206
194
|
{
|
|
207
|
-
files: ['**/*.spec.ts', '**/*.spec.tsx', '**/__tests__/**', 'scripts/**'
|
|
195
|
+
files: ['**/*.spec.ts', '**/*.spec.tsx', '**/__tests__/**', 'scripts/**'],
|
|
208
196
|
env: {
|
|
209
197
|
jest: true,
|
|
210
198
|
},
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "@graphcommerce/eslint-config-pwa",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.4
|
|
5
|
+
"version": "9.0.4",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@graphcommerce/typescript-config-pwa": "9.0.4
|
|
9
|
-
"@next/eslint-plugin-next": "15.1.
|
|
8
|
+
"@graphcommerce/typescript-config-pwa": "9.0.4",
|
|
9
|
+
"@next/eslint-plugin-next": "15.1.0",
|
|
10
10
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
11
11
|
"@typescript-eslint/parser": "^7.18.0",
|
|
12
12
|
"eslint": "^8.57.1",
|