@10stars/config 13.2.0 → 13.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.
Files changed (2) hide show
  1. package/eslint.config.ts +11 -1
  2. package/package.json +1 -1
package/eslint.config.ts CHANGED
@@ -109,6 +109,16 @@ const addPluginReactHooksConfigurable = () =>
109
109
  },
110
110
  }) satisfies Linter.Config
111
111
 
112
+ const addPluginReactExtra = () =>
113
+ [
114
+ eslintReact.configs["recommended-typescript"],
115
+ {
116
+ rules: {
117
+ "@eslint-react/dom/no-dangerously-set-innerhtml": 0, // we use for specific cases
118
+ },
119
+ },
120
+ ] satisfies Linter.Config[]
121
+
112
122
  const addPluginImport = () =>
113
123
  [
114
124
  importPlugin.flatConfigs.recommended,
@@ -166,7 +176,7 @@ export default tseslint.config(
166
176
  ...addPluginRegexp(),
167
177
  addPluginNoRelativeImportPaths(),
168
178
  ...addPluginReact(),
169
- eslintReact.configs["recommended-typescript"],
179
+ ...addPluginReactExtra(),
170
180
  addPluginReactHooksConfigurable(),
171
181
  ...addPluginImport(),
172
182
  addPluginSimpleImportSort(),
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "13.2.0",
7
+ "version": "13.2.1",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "bin": {