eslint-config-beslogic 4.2.0 → 4.2.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 +8 -0
- package/package.json +1 -1
- package/react.mjs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.2.2
|
|
4
|
+
|
|
5
|
+
- Exclude `<select>` and `<textarea>` from `react/jsx-props-no-spreading` as it is very often needed for custom inputs and validation using Higher Order Components
|
|
6
|
+
|
|
7
|
+
## 4.2.1
|
|
8
|
+
|
|
9
|
+
- Exclude `<input>` from `react/jsx-props-no-spreading` as it is very often needed for custom inputs and validation using Higher Order Components
|
|
10
|
+
|
|
3
11
|
## 4.2.0
|
|
4
12
|
|
|
5
13
|
- `@typescript-eslint/no-floating-promises` is now ignored on `i18next.changeLanguage` as it is known to not throw and already `console.warn` itself
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-beslogic",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "ESLint rules, plugins and configs used at Beslogic",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"// dependencies": "Run for ourselves when we install dependencies w/o running npm i afterward",
|
package/react.mjs
CHANGED
|
@@ -145,7 +145,9 @@ export default tseslint.config(
|
|
|
145
145
|
"error",
|
|
146
146
|
{
|
|
147
147
|
"explicitSpread": "ignore",
|
|
148
|
-
"custom": "ignore"
|
|
148
|
+
"custom": "ignore",
|
|
149
|
+
// Very often needed for custom inputs and validation using Higher Order Components
|
|
150
|
+
"exceptions": ["input", "select", "textarea"]
|
|
149
151
|
}
|
|
150
152
|
],
|
|
151
153
|
"react/prop-types": "off",
|