@storm-software/eslint 0.127.0 → 0.129.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/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.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Linter } from 'eslint';
|
|
2
2
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
-
import { O as OptionsConfig, R as RuleOptions, T as TypedFlatConfigItem, A as Awaitable, C as ConfigNames } from './types-
|
|
3
|
+
import { O as OptionsConfig, R as RuleOptions, T as TypedFlatConfigItem, A as Awaitable, C as ConfigNames } from './types-CqEOmL6d.js';
|
|
4
4
|
import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
|
|
5
5
|
import '@stylistic/eslint-plugin';
|
|
6
6
|
import '@typescript-eslint/parser';
|
package/dist/preset.js
CHANGED
|
@@ -845,7 +845,7 @@ __name(imports, "imports");
|
|
|
845
845
|
import defu2 from "defu";
|
|
846
846
|
import globalsLib from "globals";
|
|
847
847
|
async function javascript(options = {}) {
|
|
848
|
-
const { lineEndings = "unix", overrides = {},
|
|
848
|
+
const { lineEndings = "unix", overrides = {}, name = "", globals = {} } = options;
|
|
849
849
|
return [
|
|
850
850
|
{
|
|
851
851
|
name: "storm/javascript/setup",
|
|
@@ -885,7 +885,7 @@ async function javascript(options = {}) {
|
|
|
885
885
|
{
|
|
886
886
|
commentType: "block",
|
|
887
887
|
numNewlines: 1,
|
|
888
|
-
repositoryName,
|
|
888
|
+
repositoryName: name,
|
|
889
889
|
lineEndings
|
|
890
890
|
}
|
|
891
891
|
]
|
|
@@ -2553,7 +2553,7 @@ async function node() {
|
|
|
2553
2553
|
],
|
|
2554
2554
|
"node/prefer-global/process": [
|
|
2555
2555
|
"error",
|
|
2556
|
-
"
|
|
2556
|
+
"always"
|
|
2557
2557
|
],
|
|
2558
2558
|
"node/process-exit-as-throw": "error"
|
|
2559
2559
|
}
|
|
@@ -3835,7 +3835,7 @@ function getOverrides(options, key) {
|
|
|
3835
3835
|
}
|
|
3836
3836
|
__name(getOverrides, "getOverrides");
|
|
3837
3837
|
function getStormConfig(options, ...userConfigs) {
|
|
3838
|
-
const {
|
|
3838
|
+
const { name = "", globals = {}, lineEndings = "unix", astro: enableAstro = false, autoRenamePlugins = true, componentExts = [], gitignore: enableGitignore = true, jsx: enableJsx = true, cspell: enableCSpell = true, react: enableReact = false, "react-native": enableReactNative = false, regexp: enableRegexp = true, next: enableNext = false, graphql: enableGraphQL = false, storybook: enableStorybook = false, typescript: enableTypeScript = isPackageExists2("typescript"), unicorn: enableUnicorn = true, unocss: enableUnoCSS = false } = options;
|
|
3839
3839
|
let isInEditor = options.isInEditor;
|
|
3840
3840
|
if (isInEditor == null) {
|
|
3841
3841
|
isInEditor = isInEditorEnv();
|
|
@@ -3868,7 +3868,7 @@ function getStormConfig(options, ...userConfigs) {
|
|
|
3868
3868
|
tsconfigPath = getTsConfigPath();
|
|
3869
3869
|
}
|
|
3870
3870
|
configs2.push(ignores(options.ignores), javascript({
|
|
3871
|
-
|
|
3871
|
+
name,
|
|
3872
3872
|
globals,
|
|
3873
3873
|
lineEndings,
|
|
3874
3874
|
isInEditor,
|
|
@@ -16693,7 +16693,7 @@ interface OptionsJavascript {
|
|
|
16693
16693
|
/**
|
|
16694
16694
|
* The name of the repository used in adding the banner comments
|
|
16695
16695
|
*/
|
|
16696
|
-
|
|
16696
|
+
name: string;
|
|
16697
16697
|
/**
|
|
16698
16698
|
* An object containing a list of extra global variables to include in the configuration.
|
|
16699
16699
|
*/
|
package/dist/utils/combine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Awaitable } from 'eslint-flat-config-utils';
|
|
2
|
-
import { T as TypedFlatConfigItem } from '../types-
|
|
2
|
+
import { T as TypedFlatConfigItem } from '../types-CqEOmL6d.js';
|
|
3
3
|
import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
|
|
4
4
|
import '@stylistic/eslint-plugin';
|
|
5
5
|
import '@typescript-eslint/parser';
|
package/package.json
CHANGED