@foray1010/eslint-config 10.2.0 → 10.2.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 -2
- package/package.json +2 -2
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
|
+
## [10.2.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.2.0...@foray1010/eslint-config@10.2.1) (2023-03-29)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **eslint-config:** disable react/jsx-no-leaked-render as it does not recognize boolean type ([995d096](https://github.com/foray1010/common-presets/commit/995d096efa3627e46b48133ef9994fb4883a64c7))
|
|
11
|
+
|
|
6
12
|
## [10.2.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.1.0...@foray1010/eslint-config@10.2.0) (2023-03-29)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/bases/react.mjs
CHANGED
|
@@ -31,8 +31,6 @@ const reactConfig = [
|
|
|
31
31
|
...eslintPluginReactHooks.configs['recommended']?.rules,
|
|
32
32
|
// avoid unexpected form submits
|
|
33
33
|
'react/button-has-type': 'error',
|
|
34
|
-
// avoid displaying unexpected value, and align coding style with react native
|
|
35
|
-
'react/jsx-no-leaked-render': 'error',
|
|
36
34
|
'react/jsx-no-useless-fragment': [
|
|
37
35
|
'error',
|
|
38
36
|
{
|
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": "10.2.
|
|
4
|
+
"version": "10.2.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": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "60e70bc680f7b1b43f4f45e4a7760306d1edc5ca"
|
|
68
68
|
}
|