@storm-software/eslint 0.87.1 → 0.87.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/README.md +1 -1
- package/dist/preset.mjs +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.mjs
CHANGED
|
@@ -13051,15 +13051,20 @@ function getStormConfig(options = {
|
|
|
13051
13051
|
{
|
|
13052
13052
|
...reactPlugin.configs?.recommended,
|
|
13053
13053
|
plugins: { "react": reactPlugin },
|
|
13054
|
-
parserOptions: {},
|
|
13055
13054
|
files: ["**/*.tsx"],
|
|
13055
|
+
languageOptions: {
|
|
13056
|
+
parserOptions: {
|
|
13057
|
+
ecmaFeatures: {
|
|
13058
|
+
jsx: true
|
|
13059
|
+
}
|
|
13060
|
+
}
|
|
13061
|
+
},
|
|
13056
13062
|
ignores: [...ignores, ...options.ignores || []],
|
|
13057
13063
|
...react
|
|
13058
13064
|
},
|
|
13059
13065
|
{
|
|
13060
13066
|
...reactHooks.configs?.recommended,
|
|
13061
13067
|
plugins: { "react-hooks": reactHooks },
|
|
13062
|
-
parserOptions: {},
|
|
13063
13068
|
files: [TS_FILE],
|
|
13064
13069
|
ignores: [...ignores, ...options.ignores || []]
|
|
13065
13070
|
}
|
|
@@ -13092,6 +13097,8 @@ function getStormConfig(options = {
|
|
|
13092
13097
|
configs.push({
|
|
13093
13098
|
files: [TS_FILE],
|
|
13094
13099
|
languageOptions: {
|
|
13100
|
+
sourceType: "module",
|
|
13101
|
+
ecmaVersion: "latest",
|
|
13095
13102
|
globals: {
|
|
13096
13103
|
...Object.fromEntries(
|
|
13097
13104
|
Object.keys(globals).flatMap(
|
|
@@ -13107,12 +13114,7 @@ function getStormConfig(options = {
|
|
|
13107
13114
|
"Storm": "readonly"
|
|
13108
13115
|
},
|
|
13109
13116
|
parserOptions: {
|
|
13110
|
-
emitDecoratorMetadata: true,
|
|
13111
|
-
experimentalDecorators: true,
|
|
13112
13117
|
project: tsconfig,
|
|
13113
|
-
projectService: true,
|
|
13114
|
-
sourceType: "module",
|
|
13115
|
-
projectFolderIgnoreList: [...ignores, ...options.ignores || []],
|
|
13116
13118
|
...options.parserOptions
|
|
13117
13119
|
}
|
|
13118
13120
|
},
|
package/package.json
CHANGED