@storm-software/eslint 0.69.0 → 0.69.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 +16 -15
- 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
|
@@ -1622,13 +1622,7 @@ const config$1 = {
|
|
|
1622
1622
|
// require trailing commas in multiline object literals
|
|
1623
1623
|
"comma-dangle": [
|
|
1624
1624
|
"error",
|
|
1625
|
-
|
|
1626
|
-
arrays: "always-multiline",
|
|
1627
|
-
objects: "always-multiline",
|
|
1628
|
-
imports: "always-multiline",
|
|
1629
|
-
exports: "always-multiline",
|
|
1630
|
-
functions: "always-multiline"
|
|
1631
|
-
}
|
|
1625
|
+
"never"
|
|
1632
1626
|
],
|
|
1633
1627
|
// enforce spacing before and after comma
|
|
1634
1628
|
"comma-spacing": ["error", { before: false, after: true }],
|
|
@@ -13678,7 +13672,7 @@ function getStormConfig(options = {
|
|
|
13678
13672
|
// https://eslint.org/docs/latest/rules/
|
|
13679
13673
|
eslint.configs.recommended,
|
|
13680
13674
|
// https://typescript-eslint.io/
|
|
13681
|
-
...tsEslint$1.configs.
|
|
13675
|
+
...tsEslint$1.configs.recommended.map((config) => ({
|
|
13682
13676
|
...config,
|
|
13683
13677
|
files: ["**/*.ts"]
|
|
13684
13678
|
// We use TS config only for TS files
|
|
@@ -13804,11 +13798,11 @@ function getStormConfig(options = {
|
|
|
13804
13798
|
rules: {
|
|
13805
13799
|
// // https://eslint.org/docs/latest/rules/
|
|
13806
13800
|
// ...eslint.configs.recommended.rules,
|
|
13807
|
-
//
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13801
|
+
// https://typescript-eslint.io/
|
|
13802
|
+
...tsEslint$1.configs.recommended.reduce(
|
|
13803
|
+
(ret, record) => ({ ...ret, ...record.rules }),
|
|
13804
|
+
{}
|
|
13805
|
+
),
|
|
13812
13806
|
// Prettier
|
|
13813
13807
|
...prettierConfig.rules,
|
|
13814
13808
|
// https://www.npmjs.com/package/eslint-plugin-unicorn
|
|
@@ -13827,7 +13821,14 @@ function getStormConfig(options = {
|
|
|
13827
13821
|
],
|
|
13828
13822
|
...options.rules ?? {}
|
|
13829
13823
|
},
|
|
13830
|
-
ignores: [
|
|
13824
|
+
ignores: [
|
|
13825
|
+
"dist",
|
|
13826
|
+
"coverage",
|
|
13827
|
+
"tmp",
|
|
13828
|
+
".nx",
|
|
13829
|
+
"node_modules",
|
|
13830
|
+
...options.ignores || []
|
|
13831
|
+
]
|
|
13831
13832
|
};
|
|
13832
13833
|
if (options.react) {
|
|
13833
13834
|
typescriptConfig.plugins = {
|
|
@@ -13862,7 +13863,7 @@ function getStormConfig(options = {
|
|
|
13862
13863
|
if (options.useReactCompiler) {
|
|
13863
13864
|
typescriptConfig.plugins = {
|
|
13864
13865
|
...typescriptConfig.plugins,
|
|
13865
|
-
reactCompiler
|
|
13866
|
+
"react-compiler": reactCompiler
|
|
13866
13867
|
};
|
|
13867
13868
|
typescriptConfig.rules = {
|
|
13868
13869
|
...typescriptConfig.rules,
|
package/package.json
CHANGED