@graphcommerce/eslint-config-pwa 4.0.6 → 4.1.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/CHANGELOG.md +18 -0
- package/index.js +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1353](https://github.com/graphcommerce-org/graphcommerce/pull/1353) [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba) Thanks [@paales](https://github.com/paales)! - Eslint: enable rules that were previously disabled and make fixes
|
|
8
|
+
|
|
9
|
+
## 4.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1341](https://github.com/graphcommerce-org/graphcommerce/pull/1341) [`2e29c5852`](https://github.com/graphcommerce-org/graphcommerce/commit/2e29c585247d356e3027be92beb7815f2070c855) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
|
|
14
|
+
|
|
15
|
+
## 4.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#1330](https://github.com/graphcommerce-org/graphcommerce/pull/1330) [`872f1c2d0`](https://github.com/graphcommerce-org/graphcommerce/commit/872f1c2d028ddb62e1b7d9c261a6d68379842d86) Thanks [@paales](https://github.com/paales)! - Add rule: '@mui/system' import is restricted from being used. Please use `@mui/material'` instead.
|
|
20
|
+
|
|
3
21
|
## 4.0.6
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/index.js
CHANGED
|
@@ -77,16 +77,12 @@ module.exports = {
|
|
|
77
77
|
'jsx-a11y/anchor-is-valid': 'off',
|
|
78
78
|
|
|
79
79
|
// react
|
|
80
|
-
'react/jsx-one-expression-per-line': 'off',
|
|
81
80
|
'react/prop-types': 'off',
|
|
82
81
|
'react/jsx-props-no-spreading': 'off',
|
|
83
82
|
'react/react-in-jsx-scope': 'off',
|
|
84
|
-
'react/no-unescaped-entities': 'off',
|
|
85
83
|
'react/require-default-props': 'off',
|
|
86
|
-
'react/destructuring-assignment': 'off',
|
|
87
84
|
'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }],
|
|
88
85
|
'react-hooks/exhaustive-deps': ['error', { additionalHooks: '(useIsomorphicLayoutEffect)' }],
|
|
89
|
-
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
|
|
90
86
|
'react/jsx-no-duplicate-props': ['error', { ignoreCase: false }],
|
|
91
87
|
'react/function-component-definition': 'off',
|
|
92
88
|
|
|
@@ -110,6 +106,10 @@ module.exports = {
|
|
|
110
106
|
name: 'next/image',
|
|
111
107
|
message: "Please use `import { Image } from '@graphcommerce/image'` instead.",
|
|
112
108
|
},
|
|
109
|
+
{
|
|
110
|
+
name: '@mui/system',
|
|
111
|
+
message: "Please use `@mui/material'` instead.",
|
|
112
|
+
},
|
|
113
113
|
],
|
|
114
114
|
},
|
|
115
115
|
],
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/eslint-config-pwa",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.1.2",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@graphcommerce/prettier-config-pwa": "^4.0.4",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
|
12
12
|
"@typescript-eslint/parser": "^5.14.0",
|
|
13
13
|
"eslint-config-airbnb": "^19.0.4",
|
|
14
|
-
"eslint-config-airbnb-typescript": "^16.1.
|
|
14
|
+
"eslint-config-airbnb-typescript": "^16.1.3",
|
|
15
15
|
"eslint-config-prettier": "^8.5.0",
|
|
16
16
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
17
17
|
"eslint-plugin-import": "^2.25.4",
|