@storm-software/eslint 0.159.11 → 0.159.12
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 -0
- package/dist/types.d.ts +19 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Base ESLint Package](#storm-base-eslint-package)
|
package/dist/types.d.ts
CHANGED
|
@@ -5547,6 +5547,11 @@ Backward pagination arguments
|
|
|
5547
5547
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
5548
5548
|
*/
|
|
5549
5549
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
|
|
5550
|
+
/**
|
|
5551
|
+
* enforce using vitest or vi but not both
|
|
5552
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
5553
|
+
*/
|
|
5554
|
+
'test/consistent-vitest-vi'?: Linter.RuleEntry<TestConsistentVitestVi>
|
|
5550
5555
|
/**
|
|
5551
5556
|
* enforce having expectation in test body
|
|
5552
5557
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -5623,6 +5628,11 @@ Backward pagination arguments
|
|
|
5623
5628
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
5624
5629
|
*/
|
|
5625
5630
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
5631
|
+
/**
|
|
5632
|
+
* disallow importing Vitest globals
|
|
5633
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
5634
|
+
*/
|
|
5635
|
+
'test/no-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
5626
5636
|
/**
|
|
5627
5637
|
* disallow string interpolation in snapshots
|
|
5628
5638
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -5753,6 +5763,11 @@ Backward pagination arguments
|
|
|
5753
5763
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
5754
5764
|
*/
|
|
5755
5765
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
5766
|
+
/**
|
|
5767
|
+
* enforce importing Vitest globals
|
|
5768
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
5769
|
+
*/
|
|
5770
|
+
'test/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>
|
|
5756
5771
|
/**
|
|
5757
5772
|
* enforce lowercase titles
|
|
5758
5773
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -15687,6 +15702,10 @@ type TestConsistentTestIt = []|[{
|
|
|
15687
15702
|
fn?: ("test" | "it")
|
|
15688
15703
|
withinDescribe?: ("test" | "it")
|
|
15689
15704
|
}]
|
|
15705
|
+
// ----- test/consistent-vitest-vi -----
|
|
15706
|
+
type TestConsistentVitestVi = []|[{
|
|
15707
|
+
fn?: ("vi" | "vitest")
|
|
15708
|
+
}]
|
|
15690
15709
|
// ----- test/expect-expect -----
|
|
15691
15710
|
type TestExpectExpect = []|[{
|
|
15692
15711
|
assertFunctionNames?: string[]
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.12",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "github",
|
|
8
8
|
"url": "https://github.com/storm-software/storm-ops",
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
163
|
"@eslint/markdown": "^6.5.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
-
"@storm-software/config": "^1.122.
|
|
166
|
-
"@storm-software/config-tools": "^1.173.
|
|
165
|
+
"@storm-software/config": "^1.122.4",
|
|
166
|
+
"@storm-software/config-tools": "^1.173.4",
|
|
167
167
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
168
168
|
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
169
169
|
"@typescript-eslint/parser": "^8.34.0",
|
|
170
170
|
"@typescript-eslint/utils": "^8.34.0",
|
|
171
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
171
|
+
"@vitest/eslint-plugin": "^1.2.5",
|
|
172
172
|
"chalk": "^4.1.2",
|
|
173
173
|
"defu": "6.1.4",
|
|
174
174
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
183
183
|
"eslint-plugin-markdown": "^5.1.0",
|
|
184
184
|
"eslint-plugin-markdownlint": "^0.6.0",
|
|
185
|
-
"eslint-plugin-mdx": "^3.
|
|
186
|
-
"eslint-plugin-n": "^17.
|
|
185
|
+
"eslint-plugin-mdx": "^3.5.0",
|
|
186
|
+
"eslint-plugin-n": "^17.20.0",
|
|
187
187
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
188
188
|
"eslint-plugin-no-secrets": "^2.2.1",
|
|
189
189
|
"eslint-plugin-paths": "^1.1.0",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
207
207
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
208
|
-
"@eslint-react/eslint-plugin": "^1.52.
|
|
208
|
+
"@eslint-react/eslint-plugin": "^1.52.2",
|
|
209
209
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
210
210
|
"@eslint/config-inspector": "^0.5.6",
|
|
211
211
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|