@vinicunca/eslint-config 2.7.5 → 2.7.7
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1474,7 +1474,7 @@ async function test(options = {}) {
|
|
|
1474
1474
|
pluginVitest,
|
|
1475
1475
|
pluginNoOnlyTests
|
|
1476
1476
|
] = await Promise.all([
|
|
1477
|
-
interopDefault(import("eslint-plugin
|
|
1477
|
+
interopDefault(import("@vitest/eslint-plugin")),
|
|
1478
1478
|
// @ts-expect-error missing types
|
|
1479
1479
|
interopDefault(import("eslint-plugin-no-only-tests"))
|
|
1480
1480
|
]);
|
package/dist/index.d.cts
CHANGED
|
@@ -3839,6 +3839,11 @@ interface RuleOptions {
|
|
|
3839
3839
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3840
3840
|
*/
|
|
3841
3841
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
|
|
3842
|
+
/**
|
|
3843
|
+
* Enforce padding around afterAll blocks
|
|
3844
|
+
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
|
|
3845
|
+
*/
|
|
3846
|
+
'test/index'?: Linter.RuleEntry<[]>
|
|
3842
3847
|
/**
|
|
3843
3848
|
* enforce a maximum number of expect per test
|
|
3844
3849
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -10968,7 +10973,8 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
10968
10973
|
}]
|
|
10969
10974
|
// ----- test/no-standalone-expect -----
|
|
10970
10975
|
type TestNoStandaloneExpect = []|[{
|
|
10971
|
-
|
|
10976
|
+
additionaltestblockfunctions?: string[]
|
|
10977
|
+
[k: string]: unknown | undefined
|
|
10972
10978
|
}]
|
|
10973
10979
|
// ----- test/prefer-expect-assertions -----
|
|
10974
10980
|
type TestPreferExpectAssertions = []|[{
|
package/dist/index.d.ts
CHANGED
|
@@ -3839,6 +3839,11 @@ interface RuleOptions {
|
|
|
3839
3839
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3840
3840
|
*/
|
|
3841
3841
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
|
|
3842
|
+
/**
|
|
3843
|
+
* Enforce padding around afterAll blocks
|
|
3844
|
+
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
|
|
3845
|
+
*/
|
|
3846
|
+
'test/index'?: Linter.RuleEntry<[]>
|
|
3842
3847
|
/**
|
|
3843
3848
|
* enforce a maximum number of expect per test
|
|
3844
3849
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -10968,7 +10973,8 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
10968
10973
|
}]
|
|
10969
10974
|
// ----- test/no-standalone-expect -----
|
|
10970
10975
|
type TestNoStandaloneExpect = []|[{
|
|
10971
|
-
|
|
10976
|
+
additionaltestblockfunctions?: string[]
|
|
10977
|
+
[k: string]: unknown | undefined
|
|
10972
10978
|
}]
|
|
10973
10979
|
// ----- test/prefer-expect-assertions -----
|
|
10974
10980
|
type TestPreferExpectAssertions = []|[{
|
package/dist/index.js
CHANGED
|
@@ -1376,7 +1376,7 @@ async function test(options = {}) {
|
|
|
1376
1376
|
pluginVitest,
|
|
1377
1377
|
pluginNoOnlyTests
|
|
1378
1378
|
] = await Promise.all([
|
|
1379
|
-
interopDefault(import("eslint-plugin
|
|
1379
|
+
interopDefault(import("@vitest/eslint-plugin")),
|
|
1380
1380
|
// @ts-expect-error missing types
|
|
1381
1381
|
interopDefault(import("eslint-plugin-no-only-tests"))
|
|
1382
1382
|
]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.7",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -58,11 +58,12 @@
|
|
|
58
58
|
"eslint": ">=8.57.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
61
|
+
"@eslint-react/eslint-plugin": "^1.10.0",
|
|
62
62
|
"@stylistic/eslint-plugin": "^2.6.2",
|
|
63
63
|
"@typescript-eslint/eslint-plugin": "8.0.1",
|
|
64
64
|
"@typescript-eslint/parser": "^8.0.1",
|
|
65
65
|
"@unocss/eslint-plugin": "^0.61.9",
|
|
66
|
+
"@vitest/eslint-plugin": "^1.0.1",
|
|
66
67
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
67
68
|
"eslint-flat-config-utils": "^0.3.0",
|
|
68
69
|
"eslint-merge-processors": "^0.1.0",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
71
72
|
"eslint-plugin-format": "^0.1.2",
|
|
72
73
|
"eslint-plugin-import-x": "^3.1.0",
|
|
73
|
-
"eslint-plugin-jsdoc": "^50.0.
|
|
74
|
+
"eslint-plugin-jsdoc": "^50.0.1",
|
|
74
75
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
75
76
|
"eslint-plugin-markdown": "^5.1.0",
|
|
76
77
|
"eslint-plugin-n": "^17.10.2",
|
|
@@ -80,8 +81,7 @@
|
|
|
80
81
|
"eslint-plugin-regexp": "^2.6.0",
|
|
81
82
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
82
83
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
83
|
-
"eslint-plugin-unused-imports": "^4.1.
|
|
84
|
-
"eslint-plugin-vitest": "^0.5.4",
|
|
84
|
+
"eslint-plugin-unused-imports": "^4.1.3",
|
|
85
85
|
"eslint-plugin-vue": "^9.27.0",
|
|
86
86
|
"eslint-plugin-yml": "^1.14.0",
|
|
87
87
|
"eslint-processor-vue-blocks": "^0.1.2",
|