@storm-software/eslint 0.56.0 → 0.57.0
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/dist/preset.mjs +6 -1
- package/package.json +1 -1
package/dist/preset.mjs
CHANGED
|
@@ -13104,7 +13104,7 @@ function getStormConfig(options = {
|
|
|
13104
13104
|
// https://www.npmjs.com/package/eslint-plugin-unicorn
|
|
13105
13105
|
...unicorn.configs["flat/recommended"].rules,
|
|
13106
13106
|
// Banner
|
|
13107
|
-
...plugin.configs["recommended"][1]
|
|
13107
|
+
...plugin.configs["recommended"][1]?.rules,
|
|
13108
13108
|
...config$1,
|
|
13109
13109
|
"banner/banner": [
|
|
13110
13110
|
"error",
|
|
@@ -13126,6 +13126,11 @@ function getStormConfig(options = {
|
|
|
13126
13126
|
"react-hooks": reactHooks,
|
|
13127
13127
|
"jsx-a11y": jsxA11y
|
|
13128
13128
|
};
|
|
13129
|
+
typescriptConfig.settings = {
|
|
13130
|
+
react: {
|
|
13131
|
+
version: "detect"
|
|
13132
|
+
}
|
|
13133
|
+
};
|
|
13129
13134
|
typescriptConfig.rules = {
|
|
13130
13135
|
...typescriptConfig.rules,
|
|
13131
13136
|
// React
|
package/package.json
CHANGED