@storm-software/eslint 0.83.1 → 0.83.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 +11 -14
- 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
|
@@ -12896,6 +12896,15 @@ function getStormConfig(options = {
|
|
|
12896
12896
|
const useUnicorn = options.useUnicorn ?? true;
|
|
12897
12897
|
const react = options.react ?? {};
|
|
12898
12898
|
const useReactCompiler = options.useReactCompiler ?? false;
|
|
12899
|
+
const bannerConfig = {
|
|
12900
|
+
...plugin.configs["recommended"],
|
|
12901
|
+
rules: {
|
|
12902
|
+
"banner/banner": [
|
|
12903
|
+
"error",
|
|
12904
|
+
{ commentType: "block", numNewlines: 2, repositoryName: options.name }
|
|
12905
|
+
]
|
|
12906
|
+
}
|
|
12907
|
+
};
|
|
12899
12908
|
const configs = [
|
|
12900
12909
|
// Prettier
|
|
12901
12910
|
prettierConfig,
|
|
@@ -12906,17 +12915,7 @@ function getStormConfig(options = {
|
|
|
12906
12915
|
// files: [CODE_FILE],
|
|
12907
12916
|
// rules: importRules
|
|
12908
12917
|
// },
|
|
12909
|
-
|
|
12910
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12911
|
-
{
|
|
12912
|
-
...plugin.configs["recommended"],
|
|
12913
|
-
rules: {
|
|
12914
|
-
"banner/banner": [
|
|
12915
|
-
"error",
|
|
12916
|
-
{ commentType: "block", numNewlines: 2, repositoryName: options.name }
|
|
12917
|
-
]
|
|
12918
|
-
}
|
|
12919
|
-
},
|
|
12918
|
+
bannerConfig,
|
|
12920
12919
|
// NX
|
|
12921
12920
|
{
|
|
12922
12921
|
plugins: { "@nx": nxPlugin }
|
|
@@ -13011,9 +13010,7 @@ function getStormConfig(options = {
|
|
|
13011
13010
|
plugins: { tsdoc },
|
|
13012
13011
|
rules: config
|
|
13013
13012
|
});
|
|
13014
|
-
typescriptConfigs.push(
|
|
13015
|
-
...plugin.configs["recommended"]
|
|
13016
|
-
);
|
|
13013
|
+
typescriptConfigs.push(bannerConfig);
|
|
13017
13014
|
configs.push(
|
|
13018
13015
|
...tsEslint$1.config({
|
|
13019
13016
|
files: [TS_FILE],
|
package/package.json
CHANGED