@vinicunca/eslint-config 2.7.8 → 2.7.9
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 +2 -2
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2 -2
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -96,14 +96,14 @@ __export(src_exports, {
|
|
|
96
96
|
});
|
|
97
97
|
module.exports = __toCommonJS(src_exports);
|
|
98
98
|
|
|
99
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
99
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.5/node_modules/@vinicunca/perkakas/dist/chunk-HLL46USD.js
|
|
100
100
|
function r(e2) {
|
|
101
101
|
if (typeof e2 != "object" || e2 === null) return false;
|
|
102
102
|
let o = Object.getPrototypeOf(e2);
|
|
103
103
|
return o === null || o === Object.prototype;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
106
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.5/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
107
107
|
function e(o) {
|
|
108
108
|
return typeof o == "boolean";
|
|
109
109
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -9406,6 +9406,10 @@ type PerfectionistSortEnums = []|[{
|
|
|
9406
9406
|
|
|
9407
9407
|
ignoreCase?: boolean
|
|
9408
9408
|
|
|
9409
|
+
sortByValue?: boolean
|
|
9410
|
+
|
|
9411
|
+
forceNumericSort?: boolean
|
|
9412
|
+
|
|
9409
9413
|
partitionByComment?: (string[] | boolean | string)
|
|
9410
9414
|
}]
|
|
9411
9415
|
// ----- perfectionist/sort-exports -----
|
|
@@ -10798,7 +10802,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10798
10802
|
}]
|
|
10799
10803
|
// ----- style/padding-line-between-statements -----
|
|
10800
10804
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
10801
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10805
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10802
10806
|
type StylePaddingLineBetweenStatements = {
|
|
10803
10807
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
10804
10808
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -10961,6 +10965,7 @@ type TestNoLargeSnapshots = []|[{
|
|
|
10961
10965
|
type TestNoOnlyTests = []|[{
|
|
10962
10966
|
block?: string[]
|
|
10963
10967
|
focus?: string[]
|
|
10968
|
+
functions?: string[]
|
|
10964
10969
|
fix?: boolean
|
|
10965
10970
|
}]
|
|
10966
10971
|
// ----- test/no-restricted-matchers -----
|
package/dist/index.d.ts
CHANGED
|
@@ -9406,6 +9406,10 @@ type PerfectionistSortEnums = []|[{
|
|
|
9406
9406
|
|
|
9407
9407
|
ignoreCase?: boolean
|
|
9408
9408
|
|
|
9409
|
+
sortByValue?: boolean
|
|
9410
|
+
|
|
9411
|
+
forceNumericSort?: boolean
|
|
9412
|
+
|
|
9409
9413
|
partitionByComment?: (string[] | boolean | string)
|
|
9410
9414
|
}]
|
|
9411
9415
|
// ----- perfectionist/sort-exports -----
|
|
@@ -10798,7 +10802,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10798
10802
|
}]
|
|
10799
10803
|
// ----- style/padding-line-between-statements -----
|
|
10800
10804
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
10801
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10805
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10802
10806
|
type StylePaddingLineBetweenStatements = {
|
|
10803
10807
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
10804
10808
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -10961,6 +10965,7 @@ type TestNoLargeSnapshots = []|[{
|
|
|
10961
10965
|
type TestNoOnlyTests = []|[{
|
|
10962
10966
|
block?: string[]
|
|
10963
10967
|
focus?: string[]
|
|
10968
|
+
functions?: string[]
|
|
10964
10969
|
fix?: boolean
|
|
10965
10970
|
}]
|
|
10966
10971
|
// ----- test/no-restricted-matchers -----
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
1
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.5/node_modules/@vinicunca/perkakas/dist/chunk-HLL46USD.js
|
|
2
2
|
function r(e2) {
|
|
3
3
|
if (typeof e2 != "object" || e2 === null) return false;
|
|
4
4
|
let o = Object.getPrototypeOf(e2);
|
|
5
5
|
return o === null || o === Object.prototype;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.
|
|
8
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.0.5/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
9
9
|
function e(o) {
|
|
10
10
|
return typeof o == "boolean";
|
|
11
11
|
}
|
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.9",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"eslint": ">=8.57.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint-react/eslint-plugin": "^1.10.
|
|
62
|
-
"@stylistic/eslint-plugin": "^2.6.
|
|
61
|
+
"@eslint-react/eslint-plugin": "^1.10.1",
|
|
62
|
+
"@stylistic/eslint-plugin": "^2.6.4",
|
|
63
63
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
64
64
|
"@typescript-eslint/parser": "^8.1.0",
|
|
65
|
-
"@unocss/eslint-plugin": "^0.62.
|
|
66
|
-
"@vitest/eslint-plugin": "^1.0.
|
|
65
|
+
"@unocss/eslint-plugin": "^0.62.2",
|
|
66
|
+
"@vitest/eslint-plugin": "^1.0.3",
|
|
67
67
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
68
68
|
"eslint-flat-config-utils": "^0.3.0",
|
|
69
69
|
"eslint-merge-processors": "^0.1.0",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
72
72
|
"eslint-plugin-format": "^0.1.2",
|
|
73
73
|
"eslint-plugin-import-x": "^3.1.0",
|
|
74
|
-
"eslint-plugin-jsdoc": "^50.
|
|
74
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
75
75
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
76
76
|
"eslint-plugin-markdown": "^5.1.0",
|
|
77
77
|
"eslint-plugin-n": "^17.10.2",
|
|
78
|
-
"eslint-plugin-no-only-tests": "^3.
|
|
79
|
-
"eslint-plugin-perfectionist": "^3.
|
|
78
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
79
|
+
"eslint-plugin-perfectionist": "^3.2.0",
|
|
80
80
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
81
81
|
"eslint-plugin-regexp": "^2.6.0",
|
|
82
82
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@types/eslint": "^9.6.0",
|
|
96
96
|
"@types/fs-extra": "^11.0.4",
|
|
97
|
-
"eslint-typegen": "^0.3.
|
|
98
|
-
"execa": "^9.3.
|
|
97
|
+
"eslint-typegen": "^0.3.1",
|
|
98
|
+
"execa": "^9.3.1",
|
|
99
99
|
"fast-glob": "^3.3.2",
|
|
100
100
|
"fs-extra": "^11.2.0",
|
|
101
101
|
"react": "^18.3.1",
|
|
102
102
|
"tsup": "^8.2.4",
|
|
103
|
-
"vue": "^3.4.
|
|
103
|
+
"vue": "^3.4.38"
|
|
104
104
|
},
|
|
105
105
|
"scripts": {
|
|
106
106
|
"lint": "eslint -v",
|