@storm-software/eslint 0.53.0 → 0.55.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.d.mts +2 -2
- package/dist/preset.d.ts +2 -2
- package/dist/preset.mjs +13 -4
- package/dist/rules.d.ts +2 -2
- 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.d.mts
CHANGED
|
@@ -11,12 +11,12 @@ interface RuleOptions {
|
|
|
11
11
|
'@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
|
|
12
12
|
/**
|
|
13
13
|
* Checks dependencies in project's package.json for version mismatches
|
|
14
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
14
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
|
|
15
15
|
*/
|
|
16
16
|
'@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
|
|
17
17
|
/**
|
|
18
18
|
* Ensure that module boundaries are respected within the monorepo
|
|
19
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
19
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
|
|
20
20
|
*/
|
|
21
21
|
'@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
|
|
22
22
|
/**
|
package/dist/preset.d.ts
CHANGED
|
@@ -11,12 +11,12 @@ interface RuleOptions {
|
|
|
11
11
|
'@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
|
|
12
12
|
/**
|
|
13
13
|
* Checks dependencies in project's package.json for version mismatches
|
|
14
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
14
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
|
|
15
15
|
*/
|
|
16
16
|
'@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
|
|
17
17
|
/**
|
|
18
18
|
* Ensure that module boundaries are respected within the monorepo
|
|
19
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
19
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
|
|
20
20
|
*/
|
|
21
21
|
'@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
|
|
22
22
|
/**
|
package/dist/preset.mjs
CHANGED
|
@@ -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
|
{
|
|
@@ -12964,6 +12972,7 @@ function getStormConfig(options = {
|
|
|
12964
12972
|
// rules: importRules
|
|
12965
12973
|
// },
|
|
12966
12974
|
// Banner
|
|
12975
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12967
12976
|
plugin.configs["recommended"][0],
|
|
12968
12977
|
// TSDoc
|
|
12969
12978
|
// https://www.npmjs.com/package/eslint-plugin-tsdoc
|
|
@@ -13023,10 +13032,10 @@ function getStormConfig(options = {
|
|
|
13023
13032
|
"@cspell/spellchecker": [
|
|
13024
13033
|
"warn",
|
|
13025
13034
|
{
|
|
13026
|
-
configFile: new URL(
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
).toString(),
|
|
13035
|
+
// configFile: new URL(
|
|
13036
|
+
// "./.vscode/cspell.json",
|
|
13037
|
+
// import.meta.url
|
|
13038
|
+
// ).toString(),
|
|
13030
13039
|
autoFix: true
|
|
13031
13040
|
}
|
|
13032
13041
|
]
|
package/dist/rules.d.ts
CHANGED
|
@@ -9,12 +9,12 @@ export interface RuleOptions {
|
|
|
9
9
|
'@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
|
|
10
10
|
/**
|
|
11
11
|
* Checks dependencies in project's package.json for version mismatches
|
|
12
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
12
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
|
|
13
13
|
*/
|
|
14
14
|
'@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
|
|
15
15
|
/**
|
|
16
16
|
* Ensure that module boundaries are respected within the monorepo
|
|
17
|
-
* @see https://github.com/nrwl/nx/blob/19.5.
|
|
17
|
+
* @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
|
|
18
18
|
*/
|
|
19
19
|
'@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
|
|
20
20
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.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",
|