@foray1010/eslint-config 11.0.0 → 11.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.
- package/CHANGELOG.md +6 -0
- package/bases/react.mjs +0 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@11.0.0...@foray1010/eslint-config@11.0.1) (2023-08-13)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **deps:** update dependency eslint-plugin-testing-library to v6 ([2f9ae02](https://github.com/foray1010/common-presets/commit/2f9ae029f9032b8380dcccb3fb68f1d3f91bcce6))
|
|
11
|
+
|
|
6
12
|
## [11.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.5.1...@foray1010/eslint-config@11.0.0) (2023-08-10)
|
|
7
13
|
|
|
8
14
|
### ⚠ BREAKING CHANGES
|
package/bases/react.mjs
CHANGED
|
@@ -82,14 +82,10 @@ const reactConfig = [
|
|
|
82
82
|
eventModules: ['fire-event'],
|
|
83
83
|
},
|
|
84
84
|
],
|
|
85
|
-
// global flag /g holds state and might cause false-positives while querying for elements
|
|
86
|
-
'testing-library/no-global-regexp-flag-in-query': 'error',
|
|
87
85
|
// explicitly assert the element to prevent reader missed the test cases
|
|
88
86
|
'testing-library/prefer-explicit-assert': 'error',
|
|
89
87
|
// prefer @testing-library/user-event over fireEvent
|
|
90
88
|
'testing-library/prefer-user-event': 'error',
|
|
91
|
-
// as `wait` is deprecated
|
|
92
|
-
'testing-library/prefer-wait-for': 'error',
|
|
93
89
|
},
|
|
94
90
|
},
|
|
95
91
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@foray1010/eslint-config",
|
|
4
|
-
"version": "11.0.
|
|
4
|
+
"version": "11.0.1",
|
|
5
5
|
"homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/foray1010/common-presets/issues",
|
|
7
7
|
"repository": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint-plugin-react": "^7.32.2",
|
|
40
40
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
41
41
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
42
|
-
"eslint-plugin-testing-library": "^
|
|
42
|
+
"eslint-plugin-testing-library": "^6.0.0",
|
|
43
43
|
"eslint-plugin-unicorn": "^48.0.0",
|
|
44
44
|
"globals": "^13.19.0"
|
|
45
45
|
},
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "6510be6a4ab9f4b36745c7f5c5d2e995a2ab7770"
|
|
71
71
|
}
|