@commercetools-frontend/eslint-config-mc-app 21.14.0 → 21.14.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @commercetools-frontend/eslint-config-mc-app
2
2
 
3
+ ## 21.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2776](https://github.com/commercetools/merchant-center-application-kit/pull/2776) [`00d9edcb4`](https://github.com/commercetools/merchant-center-application-kit/commit/00d9edcb49a144797ba3690db012e429e88a30fa) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies
8
+
9
+ - Updated dependencies [[`00d9edcb4`](https://github.com/commercetools/merchant-center-application-kit/commit/00d9edcb49a144797ba3690db012e429e88a30fa)]:
10
+ - @commercetools-frontend/babel-preset-mc-app@21.14.2
11
+
12
+ ## 21.14.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#2797](https://github.com/commercetools/merchant-center-application-kit/pull/2797) [`03e9772de`](https://github.com/commercetools/merchant-center-application-kit/commit/03e9772def9106107a192c9c93a05f4e49e5f124) Thanks [@tdeekens](https://github.com/tdeekens)! - Remove `jest/no-jest-import` rule from ESLint configs.
17
+
18
+ This allows consumers of our configs to update to `eslint-plugin-jest` v27 which removes the rule as a breaking change.
19
+
20
+ - Updated dependencies []:
21
+ - @commercetools-frontend/babel-preset-mc-app@21.14.1
22
+
3
23
  ## 21.14.0
4
24
 
5
25
  ### Patch Changes
@@ -260,7 +260,6 @@ const craRules = {
260
260
  'jest/no-identical-title': statusCode.error,
261
261
  'jest/no-interpolation-in-snapshots': statusCode.error,
262
262
  'jest/no-jasmine-globals': statusCode.error,
263
- 'jest/no-jest-import': statusCode.error,
264
263
  'jest/no-mocks-import': statusCode.error,
265
264
  'jest/valid-describe-callback': statusCode.error,
266
265
  'jest/valid-expect': statusCode.error,
package/index.js CHANGED
@@ -108,6 +108,15 @@ module.exports = {
108
108
  'react/jsx-uses-react': statusCode.off,
109
109
  'react/react-in-jsx-scope': statusCode.off,
110
110
  }),
111
+ 'react/no-unknown-property': [
112
+ statusCode.error,
113
+ {
114
+ ignore: [
115
+ // To allow using Emotion's `css` prop: https://emotion.sh/docs/css-prop
116
+ 'css',
117
+ ],
118
+ },
119
+ ],
111
120
  },
112
121
 
113
122
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/eslint-config-mc-app",
3
- "version": "21.14.0",
3
+ "version": "21.14.2",
4
4
  "description": "ESLint config used by a Custom Application.",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -15,30 +15,30 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@babel/core": "^7.18.6",
19
- "@babel/eslint-parser": "^7.18.2",
20
- "@commercetools-frontend/babel-preset-mc-app": "^21.14.0",
18
+ "@babel/core": "^7.19.0",
19
+ "@babel/eslint-parser": "^7.18.9",
20
+ "@commercetools-frontend/babel-preset-mc-app": "^21.14.2",
21
21
  "@rushstack/eslint-patch": "^1.1.4",
22
- "@typescript-eslint/eslint-plugin": "^5.30.6",
23
- "@typescript-eslint/parser": "^5.30.6",
22
+ "@typescript-eslint/eslint-plugin": "^5.37.0",
23
+ "@typescript-eslint/parser": "^5.37.0",
24
24
  "confusing-browser-globals": "^1.0.11",
25
25
  "eslint-config-prettier": "^8.5.0",
26
- "eslint-import-resolver-typescript": "^3.2.5",
26
+ "eslint-import-resolver-typescript": "^3.5.1",
27
27
  "eslint-plugin-cypress": "^2.12.1",
28
28
  "eslint-plugin-import": "^2.26.0",
29
- "eslint-plugin-jest": "^26.5.3",
29
+ "eslint-plugin-jest": "^26.9.0",
30
30
  "eslint-plugin-jest-dom": "^4.0.2",
31
- "eslint-plugin-jsx-a11y": "^6.6.0",
31
+ "eslint-plugin-jsx-a11y": "^6.6.1",
32
32
  "eslint-plugin-prettier": "^4.2.1",
33
- "eslint-plugin-react": "^7.30.1",
33
+ "eslint-plugin-react": "^7.31.8",
34
34
  "eslint-plugin-react-hooks": "^4.6.0",
35
- "eslint-plugin-testing-library": "^5.5.1"
35
+ "eslint-plugin-testing-library": "^5.6.4"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "eslint": "8.x"
39
39
  },
40
40
  "devDependencies": {
41
- "eslint": "8.22.0"
41
+ "eslint": "8.23.1"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=14"