@debbl/eslint-config 3.2.0-beta.2 → 3.2.0-beta.3
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 -88
- package/dist/index.js +1 -40
- package/package.json +2 -2
- package/dist/chunk-MVGETXC6.js +0 -34
- package/dist/lib-NJWQO7PJ.js +0 -47
package/dist/index.cjs
CHANGED
|
@@ -5,12 +5,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function __init() {
|
|
9
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
|
-
};
|
|
11
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
12
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
|
-
};
|
|
14
8
|
var __export = (target, all) => {
|
|
15
9
|
for (var name in all)
|
|
16
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -33,54 +27,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
27
|
));
|
|
34
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
29
|
|
|
36
|
-
// node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/cjs_shims.js
|
|
37
|
-
var init_cjs_shims = __esm({
|
|
38
|
-
"node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
|
-
"use strict";
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
// node_modules/.pnpm/eslint-plugin-tailwindcss@3.15.2_tailwindcss@3.4.1/node_modules/eslint-plugin-tailwindcss/lib/index.js
|
|
44
|
-
var require_lib = __commonJS({
|
|
45
|
-
"node_modules/.pnpm/eslint-plugin-tailwindcss@3.15.2_tailwindcss@3.4.1/node_modules/eslint-plugin-tailwindcss/lib/index.js"(exports, module2) {
|
|
46
|
-
"use strict";
|
|
47
|
-
init_cjs_shims();
|
|
48
|
-
var base = __dirname + "/rules/";
|
|
49
|
-
module2.exports = {
|
|
50
|
-
rules: {
|
|
51
|
-
"classnames-order": require(base + "classnames-order"),
|
|
52
|
-
"enforces-negative-arbitrary-values": require(base + "enforces-negative-arbitrary-values"),
|
|
53
|
-
"enforces-shorthand": require(base + "enforces-shorthand"),
|
|
54
|
-
"migration-from-tailwind-2": require(base + "migration-from-tailwind-2"),
|
|
55
|
-
"no-arbitrary-value": require(base + "no-arbitrary-value"),
|
|
56
|
-
"no-contradicting-classname": require(base + "no-contradicting-classname"),
|
|
57
|
-
"no-custom-classname": require(base + "no-custom-classname"),
|
|
58
|
-
"no-unnecessary-arbitrary-value": require(base + "no-unnecessary-arbitrary-value")
|
|
59
|
-
},
|
|
60
|
-
configs: {
|
|
61
|
-
recommended: {
|
|
62
|
-
plugins: ["tailwindcss"],
|
|
63
|
-
parserOptions: {
|
|
64
|
-
ecmaFeatures: {
|
|
65
|
-
jsx: true
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
rules: {
|
|
69
|
-
"tailwindcss/classnames-order": "warn",
|
|
70
|
-
"tailwindcss/enforces-negative-arbitrary-values": "warn",
|
|
71
|
-
"tailwindcss/enforces-shorthand": "warn",
|
|
72
|
-
"tailwindcss/migration-from-tailwind-2": "warn",
|
|
73
|
-
"tailwindcss/no-arbitrary-value": "off",
|
|
74
|
-
"tailwindcss/no-custom-classname": "warn",
|
|
75
|
-
"tailwindcss/no-contradicting-classname": "error",
|
|
76
|
-
"tailwindcss/no-unnecessary-arbitrary-value": "warn"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
|
|
84
30
|
// src/index.ts
|
|
85
31
|
var src_exports = {};
|
|
86
32
|
__export(src_exports, {
|
|
@@ -133,19 +79,8 @@ __export(src_exports, {
|
|
|
133
79
|
yml: () => yml
|
|
134
80
|
});
|
|
135
81
|
module.exports = __toCommonJS(src_exports);
|
|
136
|
-
init_cjs_shims();
|
|
137
|
-
|
|
138
|
-
// src/factory.ts
|
|
139
|
-
init_cjs_shims();
|
|
140
|
-
|
|
141
|
-
// src/configs/index.ts
|
|
142
|
-
init_cjs_shims();
|
|
143
|
-
|
|
144
|
-
// src/configs/comments.ts
|
|
145
|
-
init_cjs_shims();
|
|
146
82
|
|
|
147
83
|
// src/utils.ts
|
|
148
|
-
init_cjs_shims();
|
|
149
84
|
var parserPlain = {
|
|
150
85
|
meta: {
|
|
151
86
|
name: "parser-plain"
|
|
@@ -198,12 +133,10 @@ async function comments() {
|
|
|
198
133
|
}
|
|
199
134
|
|
|
200
135
|
// src/configs/ignores.ts
|
|
201
|
-
init_cjs_shims();
|
|
202
136
|
var import_node_fs = __toESM(require("fs"), 1);
|
|
203
137
|
var import_node_path = __toESM(require("path"), 1);
|
|
204
138
|
|
|
205
139
|
// src/globs.ts
|
|
206
|
-
init_cjs_shims();
|
|
207
140
|
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
208
141
|
var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
209
142
|
var GLOB_JS = "**/*.?([cm])js";
|
|
@@ -299,7 +232,6 @@ var ignores = async (options) => {
|
|
|
299
232
|
};
|
|
300
233
|
|
|
301
234
|
// src/configs/imports.ts
|
|
302
|
-
init_cjs_shims();
|
|
303
235
|
async function imports() {
|
|
304
236
|
const pluginImport = await interopDefault(import("eslint-plugin-import-x"));
|
|
305
237
|
return [
|
|
@@ -326,7 +258,6 @@ async function imports() {
|
|
|
326
258
|
}
|
|
327
259
|
|
|
328
260
|
// src/configs/javascript.ts
|
|
329
|
-
init_cjs_shims();
|
|
330
261
|
var import_globals = __toESM(require("globals"), 1);
|
|
331
262
|
var javascript = async (options) => {
|
|
332
263
|
const { overrides = {} } = options;
|
|
@@ -582,7 +513,6 @@ var javascript = async (options) => {
|
|
|
582
513
|
};
|
|
583
514
|
|
|
584
515
|
// src/configs/jsdoc.ts
|
|
585
|
-
init_cjs_shims();
|
|
586
516
|
async function jsdoc() {
|
|
587
517
|
return [
|
|
588
518
|
{
|
|
@@ -614,7 +544,6 @@ async function jsdoc() {
|
|
|
614
544
|
}
|
|
615
545
|
|
|
616
546
|
// src/configs/jsonc.ts
|
|
617
|
-
init_cjs_shims();
|
|
618
547
|
var jsonc = async (options) => {
|
|
619
548
|
const { overrides = {} } = options;
|
|
620
549
|
const [pluginJsonc, parserJsonc] = await Promise.all([
|
|
@@ -685,7 +614,6 @@ var jsonc = async (options) => {
|
|
|
685
614
|
};
|
|
686
615
|
|
|
687
616
|
// src/configs/markdown.ts
|
|
688
|
-
init_cjs_shims();
|
|
689
617
|
var markdown = async (options) => {
|
|
690
618
|
const { componentExts = [], overrides = {} } = options;
|
|
691
619
|
const [pluginMdx, parserMdx] = await Promise.all([
|
|
@@ -768,7 +696,6 @@ var markdown = async (options) => {
|
|
|
768
696
|
};
|
|
769
697
|
|
|
770
698
|
// src/configs/node.ts
|
|
771
|
-
init_cjs_shims();
|
|
772
699
|
async function node() {
|
|
773
700
|
const pluginNode = await interopDefault(import("eslint-plugin-n"));
|
|
774
701
|
return [
|
|
@@ -792,7 +719,6 @@ async function node() {
|
|
|
792
719
|
}
|
|
793
720
|
|
|
794
721
|
// src/configs/sort.ts
|
|
795
|
-
init_cjs_shims();
|
|
796
722
|
async function sortPackageJson() {
|
|
797
723
|
return [
|
|
798
724
|
{
|
|
@@ -1000,7 +926,6 @@ async function sortTsconfig() {
|
|
|
1000
926
|
}
|
|
1001
927
|
|
|
1002
928
|
// src/configs/typescript.ts
|
|
1003
|
-
init_cjs_shims();
|
|
1004
929
|
var import_node_process = __toESM(require("process"), 1);
|
|
1005
930
|
var typeAwareRules = {
|
|
1006
931
|
"dot-notation": "off",
|
|
@@ -1137,7 +1062,6 @@ var typescript = async (options) => {
|
|
|
1137
1062
|
};
|
|
1138
1063
|
|
|
1139
1064
|
// src/configs/unicorn.ts
|
|
1140
|
-
init_cjs_shims();
|
|
1141
1065
|
async function unicorn() {
|
|
1142
1066
|
const pluginUnicorn = await interopDefault(import("eslint-plugin-unicorn"));
|
|
1143
1067
|
return [
|
|
@@ -1179,7 +1103,6 @@ async function unicorn() {
|
|
|
1179
1103
|
}
|
|
1180
1104
|
|
|
1181
1105
|
// src/configs/vue.ts
|
|
1182
|
-
init_cjs_shims();
|
|
1183
1106
|
var vue = async (options = {}) => {
|
|
1184
1107
|
const { overrides = {}, typescript: isTypescript } = options;
|
|
1185
1108
|
const [pluginVue, parserVue] = await Promise.all([
|
|
@@ -1321,7 +1244,6 @@ var vue = async (options = {}) => {
|
|
|
1321
1244
|
};
|
|
1322
1245
|
|
|
1323
1246
|
// src/configs/yml.ts
|
|
1324
|
-
init_cjs_shims();
|
|
1325
1247
|
var yml = async (options) => {
|
|
1326
1248
|
const { overrides = {} } = options;
|
|
1327
1249
|
const [pluginYml, parserYml] = await Promise.all([
|
|
@@ -1359,7 +1281,6 @@ var yml = async (options) => {
|
|
|
1359
1281
|
};
|
|
1360
1282
|
|
|
1361
1283
|
// src/configs/toml.ts
|
|
1362
|
-
init_cjs_shims();
|
|
1363
1284
|
var toml = async (options) => {
|
|
1364
1285
|
const { overrides = {} } = options;
|
|
1365
1286
|
const [pluginToml, parserToml] = await Promise.all([
|
|
@@ -1406,7 +1327,6 @@ var toml = async (options) => {
|
|
|
1406
1327
|
};
|
|
1407
1328
|
|
|
1408
1329
|
// src/configs/test.ts
|
|
1409
|
-
init_cjs_shims();
|
|
1410
1330
|
var test = async (options) => {
|
|
1411
1331
|
const { overrides = {} } = options;
|
|
1412
1332
|
const [pluginVitest, pluginNoOnlyTests] = await Promise.all([
|
|
@@ -1447,7 +1367,6 @@ var test = async (options) => {
|
|
|
1447
1367
|
};
|
|
1448
1368
|
|
|
1449
1369
|
// src/configs/perfectionist.ts
|
|
1450
|
-
init_cjs_shims();
|
|
1451
1370
|
async function perfectionist() {
|
|
1452
1371
|
const pluginPerfectionist = await interopDefault(
|
|
1453
1372
|
// @ts-expect-error missing types
|
|
@@ -1464,7 +1383,6 @@ async function perfectionist() {
|
|
|
1464
1383
|
}
|
|
1465
1384
|
|
|
1466
1385
|
// src/configs/prettier.ts
|
|
1467
|
-
init_cjs_shims();
|
|
1468
1386
|
var prettier = async (options) => {
|
|
1469
1387
|
const [pluginPrettier, configPrettier] = await Promise.all([
|
|
1470
1388
|
interopDefault(import("eslint-plugin-prettier")),
|
|
@@ -1556,7 +1474,6 @@ var prettier = async (options) => {
|
|
|
1556
1474
|
};
|
|
1557
1475
|
|
|
1558
1476
|
// src/configs/react.ts
|
|
1559
|
-
init_cjs_shims();
|
|
1560
1477
|
async function next() {
|
|
1561
1478
|
const pluginNext = await interopDefault(import("@next/eslint-plugin-next"));
|
|
1562
1479
|
return [
|
|
@@ -1675,11 +1592,10 @@ var react = async (options) => {
|
|
|
1675
1592
|
};
|
|
1676
1593
|
|
|
1677
1594
|
// src/configs/tailwindcss.ts
|
|
1678
|
-
init_cjs_shims();
|
|
1679
1595
|
async function tailwindcss() {
|
|
1680
1596
|
const pluginTailwindcss = await interopDefault(
|
|
1681
1597
|
// @ts-expect-error missing types
|
|
1682
|
-
|
|
1598
|
+
import("eslint-plugin-tailwindcss")
|
|
1683
1599
|
);
|
|
1684
1600
|
return [
|
|
1685
1601
|
{
|
|
@@ -1773,9 +1689,6 @@ function config(options = {}) {
|
|
|
1773
1689
|
return merged;
|
|
1774
1690
|
}
|
|
1775
1691
|
|
|
1776
|
-
// src/types.ts
|
|
1777
|
-
init_cjs_shims();
|
|
1778
|
-
|
|
1779
1692
|
// src/index.ts
|
|
1780
1693
|
var src_default = config;
|
|
1781
1694
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
init_esm_shims
|
|
3
|
-
} from "./chunk-MVGETXC6.js";
|
|
4
|
-
|
|
5
|
-
// src/index.ts
|
|
6
|
-
init_esm_shims();
|
|
7
|
-
|
|
8
|
-
// src/factory.ts
|
|
9
|
-
init_esm_shims();
|
|
10
|
-
|
|
11
|
-
// src/configs/index.ts
|
|
12
|
-
init_esm_shims();
|
|
13
|
-
|
|
14
|
-
// src/configs/comments.ts
|
|
15
|
-
init_esm_shims();
|
|
16
|
-
|
|
17
1
|
// src/utils.ts
|
|
18
|
-
init_esm_shims();
|
|
19
2
|
var parserPlain = {
|
|
20
3
|
meta: {
|
|
21
4
|
name: "parser-plain"
|
|
@@ -68,12 +51,10 @@ async function comments() {
|
|
|
68
51
|
}
|
|
69
52
|
|
|
70
53
|
// src/configs/ignores.ts
|
|
71
|
-
init_esm_shims();
|
|
72
54
|
import fs from "fs";
|
|
73
55
|
import path from "path";
|
|
74
56
|
|
|
75
57
|
// src/globs.ts
|
|
76
|
-
init_esm_shims();
|
|
77
58
|
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
78
59
|
var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
79
60
|
var GLOB_JS = "**/*.?([cm])js";
|
|
@@ -169,7 +150,6 @@ var ignores = async (options) => {
|
|
|
169
150
|
};
|
|
170
151
|
|
|
171
152
|
// src/configs/imports.ts
|
|
172
|
-
init_esm_shims();
|
|
173
153
|
async function imports() {
|
|
174
154
|
const pluginImport = await interopDefault(import("eslint-plugin-import-x"));
|
|
175
155
|
return [
|
|
@@ -196,7 +176,6 @@ async function imports() {
|
|
|
196
176
|
}
|
|
197
177
|
|
|
198
178
|
// src/configs/javascript.ts
|
|
199
|
-
init_esm_shims();
|
|
200
179
|
import globals from "globals";
|
|
201
180
|
var javascript = async (options) => {
|
|
202
181
|
const { overrides = {} } = options;
|
|
@@ -452,7 +431,6 @@ var javascript = async (options) => {
|
|
|
452
431
|
};
|
|
453
432
|
|
|
454
433
|
// src/configs/jsdoc.ts
|
|
455
|
-
init_esm_shims();
|
|
456
434
|
async function jsdoc() {
|
|
457
435
|
return [
|
|
458
436
|
{
|
|
@@ -484,7 +462,6 @@ async function jsdoc() {
|
|
|
484
462
|
}
|
|
485
463
|
|
|
486
464
|
// src/configs/jsonc.ts
|
|
487
|
-
init_esm_shims();
|
|
488
465
|
var jsonc = async (options) => {
|
|
489
466
|
const { overrides = {} } = options;
|
|
490
467
|
const [pluginJsonc, parserJsonc] = await Promise.all([
|
|
@@ -555,7 +532,6 @@ var jsonc = async (options) => {
|
|
|
555
532
|
};
|
|
556
533
|
|
|
557
534
|
// src/configs/markdown.ts
|
|
558
|
-
init_esm_shims();
|
|
559
535
|
var markdown = async (options) => {
|
|
560
536
|
const { componentExts = [], overrides = {} } = options;
|
|
561
537
|
const [pluginMdx, parserMdx] = await Promise.all([
|
|
@@ -638,7 +614,6 @@ var markdown = async (options) => {
|
|
|
638
614
|
};
|
|
639
615
|
|
|
640
616
|
// src/configs/node.ts
|
|
641
|
-
init_esm_shims();
|
|
642
617
|
async function node() {
|
|
643
618
|
const pluginNode = await interopDefault(import("eslint-plugin-n"));
|
|
644
619
|
return [
|
|
@@ -662,7 +637,6 @@ async function node() {
|
|
|
662
637
|
}
|
|
663
638
|
|
|
664
639
|
// src/configs/sort.ts
|
|
665
|
-
init_esm_shims();
|
|
666
640
|
async function sortPackageJson() {
|
|
667
641
|
return [
|
|
668
642
|
{
|
|
@@ -870,7 +844,6 @@ async function sortTsconfig() {
|
|
|
870
844
|
}
|
|
871
845
|
|
|
872
846
|
// src/configs/typescript.ts
|
|
873
|
-
init_esm_shims();
|
|
874
847
|
import process2 from "process";
|
|
875
848
|
var typeAwareRules = {
|
|
876
849
|
"dot-notation": "off",
|
|
@@ -1007,7 +980,6 @@ var typescript = async (options) => {
|
|
|
1007
980
|
};
|
|
1008
981
|
|
|
1009
982
|
// src/configs/unicorn.ts
|
|
1010
|
-
init_esm_shims();
|
|
1011
983
|
async function unicorn() {
|
|
1012
984
|
const pluginUnicorn = await interopDefault(import("eslint-plugin-unicorn"));
|
|
1013
985
|
return [
|
|
@@ -1049,7 +1021,6 @@ async function unicorn() {
|
|
|
1049
1021
|
}
|
|
1050
1022
|
|
|
1051
1023
|
// src/configs/vue.ts
|
|
1052
|
-
init_esm_shims();
|
|
1053
1024
|
var vue = async (options = {}) => {
|
|
1054
1025
|
const { overrides = {}, typescript: isTypescript } = options;
|
|
1055
1026
|
const [pluginVue, parserVue] = await Promise.all([
|
|
@@ -1191,7 +1162,6 @@ var vue = async (options = {}) => {
|
|
|
1191
1162
|
};
|
|
1192
1163
|
|
|
1193
1164
|
// src/configs/yml.ts
|
|
1194
|
-
init_esm_shims();
|
|
1195
1165
|
var yml = async (options) => {
|
|
1196
1166
|
const { overrides = {} } = options;
|
|
1197
1167
|
const [pluginYml, parserYml] = await Promise.all([
|
|
@@ -1229,7 +1199,6 @@ var yml = async (options) => {
|
|
|
1229
1199
|
};
|
|
1230
1200
|
|
|
1231
1201
|
// src/configs/toml.ts
|
|
1232
|
-
init_esm_shims();
|
|
1233
1202
|
var toml = async (options) => {
|
|
1234
1203
|
const { overrides = {} } = options;
|
|
1235
1204
|
const [pluginToml, parserToml] = await Promise.all([
|
|
@@ -1276,7 +1245,6 @@ var toml = async (options) => {
|
|
|
1276
1245
|
};
|
|
1277
1246
|
|
|
1278
1247
|
// src/configs/test.ts
|
|
1279
|
-
init_esm_shims();
|
|
1280
1248
|
var test = async (options) => {
|
|
1281
1249
|
const { overrides = {} } = options;
|
|
1282
1250
|
const [pluginVitest, pluginNoOnlyTests] = await Promise.all([
|
|
@@ -1317,7 +1285,6 @@ var test = async (options) => {
|
|
|
1317
1285
|
};
|
|
1318
1286
|
|
|
1319
1287
|
// src/configs/perfectionist.ts
|
|
1320
|
-
init_esm_shims();
|
|
1321
1288
|
async function perfectionist() {
|
|
1322
1289
|
const pluginPerfectionist = await interopDefault(
|
|
1323
1290
|
// @ts-expect-error missing types
|
|
@@ -1334,7 +1301,6 @@ async function perfectionist() {
|
|
|
1334
1301
|
}
|
|
1335
1302
|
|
|
1336
1303
|
// src/configs/prettier.ts
|
|
1337
|
-
init_esm_shims();
|
|
1338
1304
|
var prettier = async (options) => {
|
|
1339
1305
|
const [pluginPrettier, configPrettier] = await Promise.all([
|
|
1340
1306
|
interopDefault(import("eslint-plugin-prettier")),
|
|
@@ -1426,7 +1392,6 @@ var prettier = async (options) => {
|
|
|
1426
1392
|
};
|
|
1427
1393
|
|
|
1428
1394
|
// src/configs/react.ts
|
|
1429
|
-
init_esm_shims();
|
|
1430
1395
|
async function next() {
|
|
1431
1396
|
const pluginNext = await interopDefault(import("@next/eslint-plugin-next"));
|
|
1432
1397
|
return [
|
|
@@ -1545,11 +1510,10 @@ var react = async (options) => {
|
|
|
1545
1510
|
};
|
|
1546
1511
|
|
|
1547
1512
|
// src/configs/tailwindcss.ts
|
|
1548
|
-
init_esm_shims();
|
|
1549
1513
|
async function tailwindcss() {
|
|
1550
1514
|
const pluginTailwindcss = await interopDefault(
|
|
1551
1515
|
// @ts-expect-error missing types
|
|
1552
|
-
import("
|
|
1516
|
+
import("eslint-plugin-tailwindcss")
|
|
1553
1517
|
);
|
|
1554
1518
|
return [
|
|
1555
1519
|
{
|
|
@@ -1643,9 +1607,6 @@ function config(options = {}) {
|
|
|
1643
1607
|
return merged;
|
|
1644
1608
|
}
|
|
1645
1609
|
|
|
1646
|
-
// src/types.ts
|
|
1647
|
-
init_esm_shims();
|
|
1648
|
-
|
|
1649
1610
|
// src/index.ts
|
|
1650
1611
|
var src_default = config;
|
|
1651
1612
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debbl/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.0-beta.
|
|
4
|
+
"version": "3.2.0-beta.3",
|
|
5
5
|
"description": "Brendan Dash's ESLint config",
|
|
6
6
|
"author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
46
46
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
47
47
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
48
|
+
"eslint-plugin-tailwindcss": "^3.15.2",
|
|
48
49
|
"eslint-plugin-toml": "^0.11.0",
|
|
49
50
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
50
51
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
"@types/react": "^18.3.2",
|
|
66
67
|
"bumpp": "^9.4.1",
|
|
67
68
|
"eslint": "^8.57.0",
|
|
68
|
-
"eslint-plugin-tailwindcss": "^3.15.2",
|
|
69
69
|
"execa": "^9.1.0",
|
|
70
70
|
"fast-glob": "^3.3.2",
|
|
71
71
|
"fs-extra": "^11.2.0",
|
package/dist/chunk-MVGETXC6.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
2
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
-
}) : x)(function(x) {
|
|
5
|
-
if (typeof require !== "undefined")
|
|
6
|
-
return require.apply(this, arguments);
|
|
7
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
|
-
});
|
|
9
|
-
var __esm = (fn, res) => function __init() {
|
|
10
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
11
|
-
};
|
|
12
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
13
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
// node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js
|
|
17
|
-
import { fileURLToPath } from "url";
|
|
18
|
-
import path from "path";
|
|
19
|
-
var getFilename, getDirname, __dirname;
|
|
20
|
-
var init_esm_shims = __esm({
|
|
21
|
-
"node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"() {
|
|
22
|
-
"use strict";
|
|
23
|
-
getFilename = () => fileURLToPath(import.meta.url);
|
|
24
|
-
getDirname = () => path.dirname(getFilename());
|
|
25
|
-
__dirname = /* @__PURE__ */ getDirname();
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
__require,
|
|
31
|
-
__commonJS,
|
|
32
|
-
__dirname,
|
|
33
|
-
init_esm_shims
|
|
34
|
-
};
|
package/dist/lib-NJWQO7PJ.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS,
|
|
3
|
-
__dirname,
|
|
4
|
-
__require,
|
|
5
|
-
init_esm_shims
|
|
6
|
-
} from "./chunk-MVGETXC6.js";
|
|
7
|
-
|
|
8
|
-
// node_modules/.pnpm/eslint-plugin-tailwindcss@3.15.2_tailwindcss@3.4.1/node_modules/eslint-plugin-tailwindcss/lib/index.js
|
|
9
|
-
var require_lib = __commonJS({
|
|
10
|
-
"node_modules/.pnpm/eslint-plugin-tailwindcss@3.15.2_tailwindcss@3.4.1/node_modules/eslint-plugin-tailwindcss/lib/index.js"(exports, module) {
|
|
11
|
-
init_esm_shims();
|
|
12
|
-
var base = __dirname + "/rules/";
|
|
13
|
-
module.exports = {
|
|
14
|
-
rules: {
|
|
15
|
-
"classnames-order": __require(base + "classnames-order"),
|
|
16
|
-
"enforces-negative-arbitrary-values": __require(base + "enforces-negative-arbitrary-values"),
|
|
17
|
-
"enforces-shorthand": __require(base + "enforces-shorthand"),
|
|
18
|
-
"migration-from-tailwind-2": __require(base + "migration-from-tailwind-2"),
|
|
19
|
-
"no-arbitrary-value": __require(base + "no-arbitrary-value"),
|
|
20
|
-
"no-contradicting-classname": __require(base + "no-contradicting-classname"),
|
|
21
|
-
"no-custom-classname": __require(base + "no-custom-classname"),
|
|
22
|
-
"no-unnecessary-arbitrary-value": __require(base + "no-unnecessary-arbitrary-value")
|
|
23
|
-
},
|
|
24
|
-
configs: {
|
|
25
|
-
recommended: {
|
|
26
|
-
plugins: ["tailwindcss"],
|
|
27
|
-
parserOptions: {
|
|
28
|
-
ecmaFeatures: {
|
|
29
|
-
jsx: true
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
rules: {
|
|
33
|
-
"tailwindcss/classnames-order": "warn",
|
|
34
|
-
"tailwindcss/enforces-negative-arbitrary-values": "warn",
|
|
35
|
-
"tailwindcss/enforces-shorthand": "warn",
|
|
36
|
-
"tailwindcss/migration-from-tailwind-2": "warn",
|
|
37
|
-
"tailwindcss/no-arbitrary-value": "off",
|
|
38
|
-
"tailwindcss/no-custom-classname": "warn",
|
|
39
|
-
"tailwindcss/no-contradicting-classname": "error",
|
|
40
|
-
"tailwindcss/no-unnecessary-arbitrary-value": "warn"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
export default require_lib();
|