@storm-software/eslint 0.54.0 → 0.56.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 +13 -3
- package/package.json +5 -5
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
|
@@ -845,7 +845,7 @@ const config$3 = {
|
|
|
845
845
|
],
|
|
846
846
|
// Enforce defaultProps declarations alphabetical sorting
|
|
847
847
|
// https://github.com/jsx-eslint/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/jsx-sort-default-props.md
|
|
848
|
-
"react/
|
|
848
|
+
"react/sort-default-props": [
|
|
849
849
|
"warn",
|
|
850
850
|
{
|
|
851
851
|
ignoreCase: true
|
|
@@ -1448,6 +1448,14 @@ const config$1 = {
|
|
|
1448
1448
|
"unicorn/prefer-module": "off",
|
|
1449
1449
|
"unicorn/consistent-function-scoping": "off",
|
|
1450
1450
|
"class-methods-use-this": "off",
|
|
1451
|
+
"@typescript-eslint/prefer-nullish-coalescing": [
|
|
1452
|
+
"error",
|
|
1453
|
+
{
|
|
1454
|
+
ignorePrimitives: {
|
|
1455
|
+
string: true
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1451
1459
|
"@typescript-eslint/no-restricted-imports": [
|
|
1452
1460
|
"error",
|
|
1453
1461
|
{
|
|
@@ -12594,9 +12602,10 @@ ${padding}\u26A1 Storm Software ${titleName ? `- ${titleName}` : ""}
|
|
|
12594
12602
|
|
|
12595
12603
|
Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.com"}
|
|
12596
12604
|
Repository: ${process.env.STORM_REPOSITORY ?? `https://github.com/storm-software${name ? `/${name}` : ""}`}
|
|
12597
|
-
Documentation: https://
|
|
12605
|
+
Documentation: ${process.env.STORM_DOCS ? process.env.STORM_DOCS : `https://stormsoftware.com/${name ? `projects/${name}/` : ""}docs`}
|
|
12606
|
+
|
|
12598
12607
|
Contact: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.com"}/contact
|
|
12599
|
-
Licensing: ${process.env.
|
|
12608
|
+
Licensing: ${process.env.STORM_LICENSING ? process.env.STORM_LICENSING : `https://stormsoftware.com/${name ? `projects/${name}/` : ""}licensing`}
|
|
12600
12609
|
|
|
12601
12610
|
-------------------------------------------------------------------`;
|
|
12602
12611
|
};
|
|
@@ -12964,6 +12973,7 @@ function getStormConfig(options = {
|
|
|
12964
12973
|
// rules: importRules
|
|
12965
12974
|
// },
|
|
12966
12975
|
// Banner
|
|
12976
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12967
12977
|
plugin.configs["recommended"][0],
|
|
12968
12978
|
// TSDoc
|
|
12969
12979
|
// https://www.npmjs.com/package/eslint-plugin-tsdoc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.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": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"monorepo"
|
|
47
47
|
],
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@nx/eslint": ">=19.5.
|
|
50
|
-
"@nx/eslint-plugin": ">=19.5.
|
|
49
|
+
"@nx/eslint": ">=19.5.6",
|
|
50
|
+
"@nx/eslint-plugin": ">=19.5.6",
|
|
51
51
|
"eslint": "9.5.0",
|
|
52
52
|
"graphql": ">=16.9.0"
|
|
53
53
|
},
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@eslint/config-inspector": "^0.5.1",
|
|
99
|
-
"@nx/eslint": ">=19.5.
|
|
100
|
-
"@nx/eslint-plugin": ">=19.5.
|
|
99
|
+
"@nx/eslint": ">=19.5.6",
|
|
100
|
+
"@nx/eslint-plugin": ">=19.5.6",
|
|
101
101
|
"@types/eslint": "^8.56.10",
|
|
102
102
|
"@types/eslint__js": "^8.42.3",
|
|
103
103
|
"@types/node": "^20.14.10",
|