@storm-software/eslint 0.40.0 → 0.41.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 +1 -1
- package/dist/preset.mjs +5 -4
- package/package.json +4 -3
- package/dist/preset.d.mts +0 -4731
- package/dist/preset.d.ts +0 -4731
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
|
@@ -12923,9 +12923,10 @@ const formatConfig = (name, config = []) => {
|
|
|
12923
12923
|
});
|
|
12924
12924
|
};
|
|
12925
12925
|
|
|
12926
|
-
function
|
|
12926
|
+
function getStormConfig(options = {
|
|
12927
12927
|
rules: {},
|
|
12928
12928
|
ignores: [],
|
|
12929
|
+
tsconfig: "./tsconfig.base.json",
|
|
12929
12930
|
markdown: {},
|
|
12930
12931
|
react: {}
|
|
12931
12932
|
}, ...userConfigs) {
|
|
@@ -13005,7 +13006,6 @@ function stormPreset(options = {
|
|
|
13005
13006
|
...eslintPluginUnicorn.configs["flat/recommended"],
|
|
13006
13007
|
files: [CODE_FILE],
|
|
13007
13008
|
languageOptions: {
|
|
13008
|
-
parser: tsEslint$1.parser,
|
|
13009
13009
|
globals: {
|
|
13010
13010
|
...Object.fromEntries(
|
|
13011
13011
|
Object.keys(globals).flatMap(
|
|
@@ -13016,7 +13016,8 @@ function stormPreset(options = {
|
|
|
13016
13016
|
)
|
|
13017
13017
|
),
|
|
13018
13018
|
"Storm": true
|
|
13019
|
-
}
|
|
13019
|
+
},
|
|
13020
|
+
project: options.tsconfig ? options.tsconfig : "./tsconfig.base.json"
|
|
13020
13021
|
},
|
|
13021
13022
|
rules: {
|
|
13022
13023
|
// https://eslint.org/docs/latest/rules/
|
|
@@ -13087,4 +13088,4 @@ function stormPreset(options = {
|
|
|
13087
13088
|
return formatConfig("Preset", configs);
|
|
13088
13089
|
}
|
|
13089
13090
|
|
|
13090
|
-
export {
|
|
13091
|
+
export { getStormConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -29,14 +29,15 @@
|
|
|
29
29
|
"private": false,
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"types": "./
|
|
32
|
+
"types": "./declarations.d.ts",
|
|
33
33
|
"import": "./dist/preset.mjs"
|
|
34
34
|
},
|
|
35
35
|
"./preset": {
|
|
36
|
-
"types": "./
|
|
36
|
+
"types": "./declarations.d.ts",
|
|
37
37
|
"import": "./dist/preset.mjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
+
"types": "declarations.d.ts",
|
|
40
41
|
"files": [
|
|
41
42
|
"dist"
|
|
42
43
|
],
|