@kirklin/eslint-config 2.3.3 → 2.4.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/dist/cli.cjs +5 -5
- package/dist/cli.js +5 -5
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/package.json +6 -6
package/dist/cli.cjs
CHANGED
|
@@ -48,7 +48,7 @@ var import_picocolors = __toESM(require("picocolors"), 1);
|
|
|
48
48
|
var package_default = {
|
|
49
49
|
name: "@kirklin/eslint-config",
|
|
50
50
|
type: "module",
|
|
51
|
-
version: "2.
|
|
51
|
+
version: "2.4.0",
|
|
52
52
|
packageManager: "pnpm@9.1.0",
|
|
53
53
|
description: "Kirk Lin's ESLint config",
|
|
54
54
|
author: "Kirk Lin (https://github.com/kirklin/)",
|
|
@@ -151,9 +151,9 @@ var package_default = {
|
|
|
151
151
|
"eslint-plugin-command": "^0.2.0",
|
|
152
152
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
153
153
|
"eslint-plugin-import-x": "^0.5.0",
|
|
154
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
154
|
+
"eslint-plugin-jsdoc": "^48.2.4",
|
|
155
155
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
156
|
-
"eslint-plugin-kirklin": "^1.
|
|
156
|
+
"eslint-plugin-kirklin": "^1.3.0",
|
|
157
157
|
"eslint-plugin-markdown": "^5.0.0",
|
|
158
158
|
"eslint-plugin-n": "^17.5.1",
|
|
159
159
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
@@ -165,7 +165,7 @@ var package_default = {
|
|
|
165
165
|
"eslint-plugin-vue": "^9.26.0",
|
|
166
166
|
"eslint-plugin-yml": "^1.14.0",
|
|
167
167
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
168
|
-
globals: "^15.
|
|
168
|
+
globals: "^15.2.0",
|
|
169
169
|
"jsonc-eslint-parser": "^2.4.0",
|
|
170
170
|
"local-pkg": "^0.5.0",
|
|
171
171
|
"parse-gitignore": "^2.0.0",
|
|
@@ -200,7 +200,7 @@ var package_default = {
|
|
|
200
200
|
"eslint-plugin-svelte": "2.38.0",
|
|
201
201
|
"eslint-typegen": "^0.2.4",
|
|
202
202
|
esno: "^4.7.0",
|
|
203
|
-
execa: "^9.0.
|
|
203
|
+
execa: "^9.0.1",
|
|
204
204
|
"fast-glob": "^3.3.2",
|
|
205
205
|
"fs-extra": "^11.2.0",
|
|
206
206
|
"lint-staged": "^15.2.2",
|
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ import c from "picocolors";
|
|
|
19
19
|
var package_default = {
|
|
20
20
|
name: "@kirklin/eslint-config",
|
|
21
21
|
type: "module",
|
|
22
|
-
version: "2.
|
|
22
|
+
version: "2.4.0",
|
|
23
23
|
packageManager: "pnpm@9.1.0",
|
|
24
24
|
description: "Kirk Lin's ESLint config",
|
|
25
25
|
author: "Kirk Lin (https://github.com/kirklin/)",
|
|
@@ -122,9 +122,9 @@ var package_default = {
|
|
|
122
122
|
"eslint-plugin-command": "^0.2.0",
|
|
123
123
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
124
124
|
"eslint-plugin-import-x": "^0.5.0",
|
|
125
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
125
|
+
"eslint-plugin-jsdoc": "^48.2.4",
|
|
126
126
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
127
|
-
"eslint-plugin-kirklin": "^1.
|
|
127
|
+
"eslint-plugin-kirklin": "^1.3.0",
|
|
128
128
|
"eslint-plugin-markdown": "^5.0.0",
|
|
129
129
|
"eslint-plugin-n": "^17.5.1",
|
|
130
130
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
@@ -136,7 +136,7 @@ var package_default = {
|
|
|
136
136
|
"eslint-plugin-vue": "^9.26.0",
|
|
137
137
|
"eslint-plugin-yml": "^1.14.0",
|
|
138
138
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
139
|
-
globals: "^15.
|
|
139
|
+
globals: "^15.2.0",
|
|
140
140
|
"jsonc-eslint-parser": "^2.4.0",
|
|
141
141
|
"local-pkg": "^0.5.0",
|
|
142
142
|
"parse-gitignore": "^2.0.0",
|
|
@@ -171,7 +171,7 @@ var package_default = {
|
|
|
171
171
|
"eslint-plugin-svelte": "2.38.0",
|
|
172
172
|
"eslint-typegen": "^0.2.4",
|
|
173
173
|
esno: "^4.7.0",
|
|
174
|
-
execa: "^9.0.
|
|
174
|
+
execa: "^9.0.1",
|
|
175
175
|
"fast-glob": "^3.3.2",
|
|
176
176
|
"fs-extra": "^11.2.0",
|
|
177
177
|
"lint-staged": "^15.2.2",
|
package/dist/index.d.cts
CHANGED
|
@@ -1448,6 +1448,11 @@ interface RuleOptions {
|
|
|
1448
1448
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/import-dedupe.md
|
|
1449
1449
|
*/
|
|
1450
1450
|
'kirklin/import-dedupe'?: Linter.RuleEntry<[]>
|
|
1451
|
+
/**
|
|
1452
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
1453
|
+
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/indent-unindent.test.ts
|
|
1454
|
+
*/
|
|
1455
|
+
'kirklin/indent-unindent'?: Linter.RuleEntry<KirklinIndentUnindent>
|
|
1451
1456
|
/**
|
|
1452
1457
|
* Prevent importing modules in `dist` folder
|
|
1453
1458
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -8921,6 +8926,12 @@ type KirklinConsistentListNewline = []|[{
|
|
|
8921
8926
|
TSTypeParameterInstantiation?: boolean
|
|
8922
8927
|
ObjectPattern?: boolean
|
|
8923
8928
|
ArrayPattern?: boolean
|
|
8929
|
+
JSXOpeningElement?: boolean
|
|
8930
|
+
}]
|
|
8931
|
+
// ----- kirklin/indent-unindent -----
|
|
8932
|
+
type KirklinIndentUnindent = []|[{
|
|
8933
|
+
indent?: number
|
|
8934
|
+
tags?: string[]
|
|
8924
8935
|
}]
|
|
8925
8936
|
// ----- line-comment-position -----
|
|
8926
8937
|
type LineCommentPosition = []|[(("above" | "beside") | {
|
package/dist/index.d.ts
CHANGED
|
@@ -1448,6 +1448,11 @@ interface RuleOptions {
|
|
|
1448
1448
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/import-dedupe.md
|
|
1449
1449
|
*/
|
|
1450
1450
|
'kirklin/import-dedupe'?: Linter.RuleEntry<[]>
|
|
1451
|
+
/**
|
|
1452
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
1453
|
+
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/indent-unindent.test.ts
|
|
1454
|
+
*/
|
|
1455
|
+
'kirklin/indent-unindent'?: Linter.RuleEntry<KirklinIndentUnindent>
|
|
1451
1456
|
/**
|
|
1452
1457
|
* Prevent importing modules in `dist` folder
|
|
1453
1458
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -8921,6 +8926,12 @@ type KirklinConsistentListNewline = []|[{
|
|
|
8921
8926
|
TSTypeParameterInstantiation?: boolean
|
|
8922
8927
|
ObjectPattern?: boolean
|
|
8923
8928
|
ArrayPattern?: boolean
|
|
8929
|
+
JSXOpeningElement?: boolean
|
|
8930
|
+
}]
|
|
8931
|
+
// ----- kirklin/indent-unindent -----
|
|
8932
|
+
type KirklinIndentUnindent = []|[{
|
|
8933
|
+
indent?: number
|
|
8934
|
+
tags?: string[]
|
|
8924
8935
|
}]
|
|
8925
8936
|
// ----- line-comment-position -----
|
|
8926
8937
|
type LineCommentPosition = []|[(("above" | "beside") | {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirklin/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"description": "Kirk Lin's ESLint config",
|
|
6
6
|
"author": "Kirk Lin (https://github.com/kirklin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"eslint-plugin-command": "^0.2.0",
|
|
89
89
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
90
90
|
"eslint-plugin-import-x": "^0.5.0",
|
|
91
|
-
"eslint-plugin-jsdoc": "^48.2.
|
|
91
|
+
"eslint-plugin-jsdoc": "^48.2.4",
|
|
92
92
|
"eslint-plugin-jsonc": "^2.15.1",
|
|
93
|
-
"eslint-plugin-kirklin": "^1.
|
|
93
|
+
"eslint-plugin-kirklin": "^1.3.0",
|
|
94
94
|
"eslint-plugin-markdown": "^5.0.0",
|
|
95
95
|
"eslint-plugin-n": "^17.5.1",
|
|
96
96
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"eslint-plugin-vue": "^9.26.0",
|
|
103
103
|
"eslint-plugin-yml": "^1.14.0",
|
|
104
104
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
105
|
-
"globals": "^15.
|
|
105
|
+
"globals": "^15.2.0",
|
|
106
106
|
"jsonc-eslint-parser": "^2.4.0",
|
|
107
107
|
"local-pkg": "^0.5.0",
|
|
108
108
|
"parse-gitignore": "^2.0.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"eslint-plugin-svelte": "2.38.0",
|
|
137
137
|
"eslint-typegen": "^0.2.4",
|
|
138
138
|
"esno": "^4.7.0",
|
|
139
|
-
"execa": "^9.0.
|
|
139
|
+
"execa": "^9.0.1",
|
|
140
140
|
"fast-glob": "^3.3.2",
|
|
141
141
|
"fs-extra": "^11.2.0",
|
|
142
142
|
"lint-staged": "^15.2.2",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"typescript": "^5.4.5",
|
|
151
151
|
"vitest": "^1.6.0",
|
|
152
152
|
"vue": "^3.4.27",
|
|
153
|
-
"@kirklin/eslint-config": "2.
|
|
153
|
+
"@kirklin/eslint-config": "2.4.0"
|
|
154
154
|
},
|
|
155
155
|
"simple-git-hooks": {
|
|
156
156
|
"pre-commit": "pnpm lint-staged"
|