@storm-software/eslint 0.83.0 → 0.83.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/README.md +1 -1
- package/dist/preset.mjs +28 -24
- 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
|
@@ -12845,29 +12845,24 @@ const plugin = {
|
|
|
12845
12845
|
},
|
|
12846
12846
|
processors: {}
|
|
12847
12847
|
};
|
|
12848
|
-
plugin.configs && (plugin.configs.recommended =
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
|
-
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
"!**/.nx/**/*"
|
|
12865
|
-
],
|
|
12866
|
-
rules: {
|
|
12867
|
-
"banner/banner": ["error", { commentType: "block", numNewlines: 2 }]
|
|
12868
|
-
}
|
|
12848
|
+
plugin.configs && (plugin.configs.recommended = {
|
|
12849
|
+
name: "banner/recommended",
|
|
12850
|
+
plugins: { banner: plugin },
|
|
12851
|
+
files: [
|
|
12852
|
+
CODE_FILE,
|
|
12853
|
+
"!**/docs/**/*",
|
|
12854
|
+
"!**/crates/**/*",
|
|
12855
|
+
"!**/tmp/**/*",
|
|
12856
|
+
"!**/dist/**/*",
|
|
12857
|
+
"!**/coverage/**/*",
|
|
12858
|
+
"!**/node_modules/**/*",
|
|
12859
|
+
"!**/.cache/**/*",
|
|
12860
|
+
"!**/.nx/**/*"
|
|
12861
|
+
],
|
|
12862
|
+
rules: {
|
|
12863
|
+
"banner/banner": ["error", { commentType: "block", numNewlines: 2 }]
|
|
12869
12864
|
}
|
|
12870
|
-
|
|
12865
|
+
});
|
|
12871
12866
|
|
|
12872
12867
|
const formatConfig = (name, config = []) => {
|
|
12873
12868
|
return config.map((config2, index) => {
|
|
@@ -12896,6 +12891,7 @@ function getStormConfig(options = {
|
|
|
12896
12891
|
react: {},
|
|
12897
12892
|
useReactCompiler: false
|
|
12898
12893
|
}, ...userConfigs) {
|
|
12894
|
+
const tsconfig = options.tsconfig ?? "./tsconfig.base.json";
|
|
12899
12895
|
const tsConfigType = options.tsConfigType || "eslint-recommended";
|
|
12900
12896
|
const useUnicorn = options.useUnicorn ?? true;
|
|
12901
12897
|
const react = options.react ?? {};
|
|
@@ -12912,7 +12908,15 @@ function getStormConfig(options = {
|
|
|
12912
12908
|
// },
|
|
12913
12909
|
// Banner
|
|
12914
12910
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12915
|
-
|
|
12911
|
+
{
|
|
12912
|
+
...plugin.configs["recommended"],
|
|
12913
|
+
rules: {
|
|
12914
|
+
"banner/banner": [
|
|
12915
|
+
"error",
|
|
12916
|
+
{ commentType: "block", numNewlines: 2, repositoryName: options.name }
|
|
12917
|
+
]
|
|
12918
|
+
}
|
|
12919
|
+
},
|
|
12916
12920
|
// NX
|
|
12917
12921
|
{
|
|
12918
12922
|
plugins: { "@nx": nxPlugin }
|
|
@@ -13032,7 +13036,7 @@ function getStormConfig(options = {
|
|
|
13032
13036
|
parserOptions: {
|
|
13033
13037
|
emitDecoratorMetadata: true,
|
|
13034
13038
|
experimentalDecorators: true,
|
|
13035
|
-
project:
|
|
13039
|
+
project: tsconfig,
|
|
13036
13040
|
projectService: true,
|
|
13037
13041
|
sourceType: "module",
|
|
13038
13042
|
projectFolderIgnoreList: [
|
package/package.json
CHANGED