@storm-software/eslint 0.137.3 → 0.137.4
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.d.ts +1 -1
- package/dist/preset.js +8 -8
- package/dist/{types-kqDn17wa.d.ts → types.d.ts} +16 -1
- package/dist/types.js +0 -0
- package/dist/utils/combine.d.ts +1 -1
- package/package.json +9 -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.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Linter } from 'eslint';
|
|
2
2
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
-
import {
|
|
3
|
+
import { OptionsConfig, RuleOptions, TypedFlatConfigItem, Awaitable, ConfigNames } from './types.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
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ensurePackages,
|
|
3
|
+
interopDefault,
|
|
4
|
+
isInEditorEnv,
|
|
5
|
+
isPackageInScope,
|
|
6
|
+
parserPlain,
|
|
7
|
+
renameRules
|
|
8
|
+
} from "./chunk-7NZUDX62.js";
|
|
1
9
|
import {
|
|
2
10
|
getTsConfigPath
|
|
3
11
|
} from "./chunk-GXNMSXDL.js";
|
|
@@ -36,14 +44,6 @@ import {
|
|
|
36
44
|
GLOB_XML,
|
|
37
45
|
GLOB_YAML
|
|
38
46
|
} from "./chunk-AIKLBIPC.js";
|
|
39
|
-
import {
|
|
40
|
-
ensurePackages,
|
|
41
|
-
interopDefault,
|
|
42
|
-
isInEditorEnv,
|
|
43
|
-
isPackageInScope,
|
|
44
|
-
parserPlain,
|
|
45
|
-
renameRules
|
|
46
|
-
} from "./chunk-7NZUDX62.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-SHUYVCID.js";
|
|
@@ -16417,6 +16417,12 @@ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plug
|
|
|
16417
16417
|
*/
|
|
16418
16418
|
plugins?: Record<string, any>;
|
|
16419
16419
|
};
|
|
16420
|
+
interface OptionsFiles {
|
|
16421
|
+
/**
|
|
16422
|
+
* Override the `files` option to provide custom globs.
|
|
16423
|
+
*/
|
|
16424
|
+
files?: string[];
|
|
16425
|
+
}
|
|
16420
16426
|
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
|
|
16421
16427
|
interface OptionsFormatters {
|
|
16422
16428
|
/**
|
|
@@ -16518,6 +16524,12 @@ interface OptionsTypeScriptWithTypes {
|
|
|
16518
16524
|
*/
|
|
16519
16525
|
overridesTypeAware?: TypedFlatConfigItem["rules"];
|
|
16520
16526
|
}
|
|
16527
|
+
interface OptionsHasTypeScript {
|
|
16528
|
+
typescript?: boolean;
|
|
16529
|
+
}
|
|
16530
|
+
interface OptionsStylistic {
|
|
16531
|
+
stylistic?: boolean | StylisticConfig;
|
|
16532
|
+
}
|
|
16521
16533
|
type StylisticConfig = Pick<StylisticCustomizeOptions, "indent" | "quotes" | "jsx" | "semi"> & {
|
|
16522
16534
|
lineEndings?: "unix" | "windows";
|
|
16523
16535
|
};
|
|
@@ -16538,6 +16550,9 @@ interface OptionsRegExp {
|
|
|
16538
16550
|
*/
|
|
16539
16551
|
level?: "error" | "warn";
|
|
16540
16552
|
}
|
|
16553
|
+
interface OptionsIsInEditor {
|
|
16554
|
+
isInEditor?: boolean;
|
|
16555
|
+
}
|
|
16541
16556
|
interface OptionsUnoCSS extends OptionsOverrides {
|
|
16542
16557
|
/**
|
|
16543
16558
|
* Enable attributify support.
|
|
@@ -16963,4 +16978,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
16963
16978
|
autoRenamePlugins?: boolean;
|
|
16964
16979
|
}
|
|
16965
16980
|
|
|
16966
|
-
export type { Awaitable
|
|
16981
|
+
export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
|
package/dist/types.js
ADDED
|
File without changes
|
package/dist/utils/combine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Awaitable } from 'eslint-flat-config-utils';
|
|
2
|
-
import {
|
|
2
|
+
import { TypedFlatConfigItem } from '../types.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.137.
|
|
3
|
+
"version": "0.137.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -87,6 +87,14 @@
|
|
|
87
87
|
"default": "./dist/preset.js"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
+
"./types": {
|
|
91
|
+
"import": { "types": "./dist/types.d.ts", "default": "./dist/types.js" },
|
|
92
|
+
"require": {
|
|
93
|
+
"types": "./dist/types.d.cts",
|
|
94
|
+
"default": "./dist/types.cjs"
|
|
95
|
+
},
|
|
96
|
+
"default": { "types": "./dist/types.d.ts", "default": "./dist/types.js" }
|
|
97
|
+
},
|
|
90
98
|
"./rules/*": {
|
|
91
99
|
"import": {
|
|
92
100
|
"types": "./dist/rules/*.d.ts",
|