@isentinel/eslint-config 0.7.2 → 0.7.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/README.md +10 -10
- package/dist/{chunk-NI656Y5M.js → chunk-NKAA53II.js} +2 -2
- package/dist/cli.cjs +30 -30
- package/dist/cli.js +31 -31
- package/dist/index.cjs +58 -54
- package/dist/index.d.cts +1048 -701
- package/dist/index.d.ts +1048 -701
- package/dist/index.js +56 -52
- package/package.json +20 -20
package/dist/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__toESM,
|
|
4
4
|
init_esm_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NKAA53II.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
7
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/shared.js
|
|
8
8
|
var require_shared = __commonJS({
|
|
9
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
9
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/shared.js"(exports, module) {
|
|
10
10
|
"use strict";
|
|
11
11
|
init_esm_shims();
|
|
12
12
|
function extractChunks(parentNode, isPartOfChunk) {
|
|
@@ -545,9 +545,9 @@ var require_shared = __commonJS({
|
|
|
545
545
|
}
|
|
546
546
|
});
|
|
547
547
|
|
|
548
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
548
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/imports.js
|
|
549
549
|
var require_imports = __commonJS({
|
|
550
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
550
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/imports.js"(exports, module) {
|
|
551
551
|
"use strict";
|
|
552
552
|
init_esm_shims();
|
|
553
553
|
var shared = require_shared();
|
|
@@ -673,9 +673,9 @@ var require_imports = __commonJS({
|
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
675
|
|
|
676
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
676
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/exports.js
|
|
677
677
|
var require_exports = __commonJS({
|
|
678
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
678
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/exports.js"(exports, module) {
|
|
679
679
|
"use strict";
|
|
680
680
|
init_esm_shims();
|
|
681
681
|
var shared = require_shared();
|
|
@@ -765,9 +765,9 @@ var require_exports = __commonJS({
|
|
|
765
765
|
}
|
|
766
766
|
});
|
|
767
767
|
|
|
768
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
768
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/index.js
|
|
769
769
|
var require_eslint_plugin_simple_import_sort = __commonJS({
|
|
770
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
770
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.8.0/node_modules/eslint-plugin-simple-import-sort/index.js"(exports, module) {
|
|
771
771
|
"use strict";
|
|
772
772
|
init_esm_shims();
|
|
773
773
|
var importsRule = require_imports();
|
|
@@ -874,7 +874,7 @@ import { default as default16 } from "isentinel-eslint-plugin-roblox-ts";
|
|
|
874
874
|
async function comments() {
|
|
875
875
|
return [
|
|
876
876
|
{
|
|
877
|
-
name: "style
|
|
877
|
+
name: "style/eslint/comments",
|
|
878
878
|
plugins: {
|
|
879
879
|
"comment-length": fixupPluginRules(default3),
|
|
880
880
|
"eslint-comments": default8
|
|
@@ -1036,7 +1036,7 @@ async function stylistic(options = {}) {
|
|
|
1036
1036
|
});
|
|
1037
1037
|
return [
|
|
1038
1038
|
{
|
|
1039
|
-
name: "style
|
|
1039
|
+
name: "style/stylistic",
|
|
1040
1040
|
plugins: {
|
|
1041
1041
|
antfu: default6,
|
|
1042
1042
|
"arrow-style": default7,
|
|
@@ -1119,7 +1119,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1119
1119
|
);
|
|
1120
1120
|
const configs = [
|
|
1121
1121
|
{
|
|
1122
|
-
name: "style
|
|
1122
|
+
name: "style/formatters/setup",
|
|
1123
1123
|
plugins: {
|
|
1124
1124
|
format: default9
|
|
1125
1125
|
}
|
|
@@ -1132,7 +1132,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1132
1132
|
languageOptions: {
|
|
1133
1133
|
parser: default9.parserPlain
|
|
1134
1134
|
},
|
|
1135
|
-
name: "style
|
|
1135
|
+
name: "style/formatter/css",
|
|
1136
1136
|
rules: {
|
|
1137
1137
|
"format/prettier": [
|
|
1138
1138
|
"error",
|
|
@@ -1148,7 +1148,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1148
1148
|
languageOptions: {
|
|
1149
1149
|
parser: default9.parserPlain
|
|
1150
1150
|
},
|
|
1151
|
-
name: "style
|
|
1151
|
+
name: "style/formatter/scss",
|
|
1152
1152
|
rules: {
|
|
1153
1153
|
"format/prettier": [
|
|
1154
1154
|
"error",
|
|
@@ -1164,7 +1164,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1164
1164
|
languageOptions: {
|
|
1165
1165
|
parser: default9.parserPlain
|
|
1166
1166
|
},
|
|
1167
|
-
name: "style
|
|
1167
|
+
name: "style/formatter/less",
|
|
1168
1168
|
rules: {
|
|
1169
1169
|
"format/prettier": [
|
|
1170
1170
|
"error",
|
|
@@ -1183,7 +1183,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1183
1183
|
languageOptions: {
|
|
1184
1184
|
parser: default9.parserPlain
|
|
1185
1185
|
},
|
|
1186
|
-
name: "style
|
|
1186
|
+
name: "style/formatter/html",
|
|
1187
1187
|
rules: {
|
|
1188
1188
|
"format/prettier": [
|
|
1189
1189
|
"error",
|
|
@@ -1202,7 +1202,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1202
1202
|
languageOptions: {
|
|
1203
1203
|
parser: default9.parserPlain
|
|
1204
1204
|
},
|
|
1205
|
-
name: "style
|
|
1205
|
+
name: "style/formatter/markdown",
|
|
1206
1206
|
rules: {
|
|
1207
1207
|
[`format/${formatter}`]: [
|
|
1208
1208
|
"error",
|
|
@@ -1224,7 +1224,7 @@ async function formatters(options = {}, stylistic2 = {}, markdownEnabled = true)
|
|
|
1224
1224
|
languageOptions: {
|
|
1225
1225
|
parser: default9.parserPlain
|
|
1226
1226
|
},
|
|
1227
|
-
name: "style
|
|
1227
|
+
name: "style/formatter/graphql",
|
|
1228
1228
|
rules: {
|
|
1229
1229
|
"format/prettier": [
|
|
1230
1230
|
"error",
|
|
@@ -1244,7 +1244,8 @@ init_esm_shims();
|
|
|
1244
1244
|
async function ignores() {
|
|
1245
1245
|
return [
|
|
1246
1246
|
{
|
|
1247
|
-
ignores: [...GLOB_EXCLUDE, GLOB_JS]
|
|
1247
|
+
ignores: [...GLOB_EXCLUDE, GLOB_JS],
|
|
1248
|
+
name: "style/ignores"
|
|
1248
1249
|
}
|
|
1249
1250
|
];
|
|
1250
1251
|
}
|
|
@@ -1255,7 +1256,7 @@ async function imports(options = {}) {
|
|
|
1255
1256
|
const { stylistic: stylistic2 = true } = options;
|
|
1256
1257
|
return [
|
|
1257
1258
|
{
|
|
1258
|
-
name: "style
|
|
1259
|
+
name: "style/imports",
|
|
1259
1260
|
plugins: {
|
|
1260
1261
|
antfu: default6,
|
|
1261
1262
|
import: pluginImport
|
|
@@ -1285,7 +1286,7 @@ async function imports(options = {}) {
|
|
|
1285
1286
|
sourceType: "script"
|
|
1286
1287
|
}
|
|
1287
1288
|
},
|
|
1288
|
-
name: "style
|
|
1289
|
+
name: "style/import-sort",
|
|
1289
1290
|
plugins: {
|
|
1290
1291
|
"simple-import-sort": import_eslint_plugin_simple_import_sort.default
|
|
1291
1292
|
},
|
|
@@ -1316,7 +1317,7 @@ async function jsdoc(options = {}) {
|
|
|
1316
1317
|
const { stylistic: stylistic2 = true } = options;
|
|
1317
1318
|
return [
|
|
1318
1319
|
{
|
|
1319
|
-
name: "style
|
|
1320
|
+
name: "style/jsdoc",
|
|
1320
1321
|
plugins: {
|
|
1321
1322
|
jsdoc: await interopDefault(import("eslint-plugin-jsdoc"))
|
|
1322
1323
|
},
|
|
@@ -1379,7 +1380,7 @@ async function jsonc(options = {}) {
|
|
|
1379
1380
|
]);
|
|
1380
1381
|
return [
|
|
1381
1382
|
{
|
|
1382
|
-
name: "style
|
|
1383
|
+
name: "style/jsonc/setup",
|
|
1383
1384
|
plugins: {
|
|
1384
1385
|
jsonc: pluginJsonc
|
|
1385
1386
|
}
|
|
@@ -1389,7 +1390,7 @@ async function jsonc(options = {}) {
|
|
|
1389
1390
|
languageOptions: {
|
|
1390
1391
|
parser: parserJsonc
|
|
1391
1392
|
},
|
|
1392
|
-
name: "style
|
|
1393
|
+
name: "style/jsonc/rules",
|
|
1393
1394
|
rules: {
|
|
1394
1395
|
"jsonc/no-bigint-literals": "error",
|
|
1395
1396
|
"jsonc/no-binary-expression": "error",
|
|
@@ -1455,7 +1456,7 @@ async function markdown(options = {}) {
|
|
|
1455
1456
|
const markdownPlugin = await interopDefault(import("eslint-plugin-markdown"));
|
|
1456
1457
|
return [
|
|
1457
1458
|
{
|
|
1458
|
-
name: "style
|
|
1459
|
+
name: "style/markdown/setup",
|
|
1459
1460
|
plugins: {
|
|
1460
1461
|
markdownPlugin
|
|
1461
1462
|
}
|
|
@@ -1463,7 +1464,7 @@ async function markdown(options = {}) {
|
|
|
1463
1464
|
{
|
|
1464
1465
|
files,
|
|
1465
1466
|
ignores: [GLOB_MARKDOWN_IN_MARKDOWN],
|
|
1466
|
-
name: "style
|
|
1467
|
+
name: "style/markdown/processor",
|
|
1467
1468
|
// `eslint-plugin-markdown` only creates virtual files for code blocks,
|
|
1468
1469
|
// but not the markdown file itself. We use `eslint-merge-processors` to
|
|
1469
1470
|
// add a pass-through processor for the markdown file itself.
|
|
@@ -1474,7 +1475,7 @@ async function markdown(options = {}) {
|
|
|
1474
1475
|
languageOptions: {
|
|
1475
1476
|
parser: parserPlain
|
|
1476
1477
|
},
|
|
1477
|
-
name: "style
|
|
1478
|
+
name: "style/markdown/parser"
|
|
1478
1479
|
},
|
|
1479
1480
|
{
|
|
1480
1481
|
files: [
|
|
@@ -1488,7 +1489,7 @@ async function markdown(options = {}) {
|
|
|
1488
1489
|
}
|
|
1489
1490
|
}
|
|
1490
1491
|
},
|
|
1491
|
-
name: "style
|
|
1492
|
+
name: "style/markdown/disables",
|
|
1492
1493
|
rules: {
|
|
1493
1494
|
"import/newline-after-import": "off",
|
|
1494
1495
|
"no-alert": "off",
|
|
@@ -1528,7 +1529,7 @@ async function packageJson() {
|
|
|
1528
1529
|
languageOptions: {
|
|
1529
1530
|
parser: await interopDefault(import("jsonc-eslint-parser"))
|
|
1530
1531
|
},
|
|
1531
|
-
name: "style
|
|
1532
|
+
name: "style/package-json",
|
|
1532
1533
|
plugins: {
|
|
1533
1534
|
"package-json": pluginPackageJson
|
|
1534
1535
|
},
|
|
@@ -1552,7 +1553,7 @@ init_esm_shims();
|
|
|
1552
1553
|
async function perfectionist() {
|
|
1553
1554
|
return [
|
|
1554
1555
|
{
|
|
1555
|
-
name: "style
|
|
1556
|
+
name: "style/perfectionist",
|
|
1556
1557
|
plugins: {
|
|
1557
1558
|
perfectionist: default12
|
|
1558
1559
|
},
|
|
@@ -1566,7 +1567,9 @@ async function perfectionist() {
|
|
|
1566
1567
|
"perfectionist/sort-maps": ["error", { type: "natural" }],
|
|
1567
1568
|
"perfectionist/sort-object-types": ["error", { type: "natural" }],
|
|
1568
1569
|
"perfectionist/sort-objects": ["error", { type: "natural" }],
|
|
1569
|
-
"perfectionist/sort-
|
|
1570
|
+
"perfectionist/sort-switch-case": ["error", { type: "natural" }],
|
|
1571
|
+
"perfectionist/sort-union-types": ["error", { type: "natural" }],
|
|
1572
|
+
"perfectionist/sort-variable-declarations": ["error", { type: "natural" }]
|
|
1570
1573
|
}
|
|
1571
1574
|
}
|
|
1572
1575
|
];
|
|
@@ -1603,6 +1606,7 @@ async function prettier(options) {
|
|
|
1603
1606
|
return [
|
|
1604
1607
|
{
|
|
1605
1608
|
files,
|
|
1609
|
+
name: "style/prettier",
|
|
1606
1610
|
plugins: {
|
|
1607
1611
|
format: default9
|
|
1608
1612
|
},
|
|
@@ -1717,7 +1721,7 @@ init_esm_shims();
|
|
|
1717
1721
|
async function promise() {
|
|
1718
1722
|
return [
|
|
1719
1723
|
{
|
|
1720
|
-
name: "style
|
|
1724
|
+
name: "style/promise",
|
|
1721
1725
|
plugins: {
|
|
1722
1726
|
promise: default13
|
|
1723
1727
|
},
|
|
@@ -1775,7 +1779,7 @@ async function react(options = {}) {
|
|
|
1775
1779
|
const tsconfigPath = options?.tsconfigPath ? toArray(options.tsconfigPath) : void 0;
|
|
1776
1780
|
return [
|
|
1777
1781
|
{
|
|
1778
|
-
name: "style
|
|
1782
|
+
name: "style/react:setup",
|
|
1779
1783
|
plugins: {
|
|
1780
1784
|
react: plugins["@eslint-react"],
|
|
1781
1785
|
"react-hooks": fixupPluginRules2(pluginReactHooks),
|
|
@@ -1798,7 +1802,7 @@ async function react(options = {}) {
|
|
|
1798
1802
|
},
|
|
1799
1803
|
sourceType: "module"
|
|
1800
1804
|
},
|
|
1801
|
-
name: "style
|
|
1805
|
+
name: "style/react:rules",
|
|
1802
1806
|
rules: {
|
|
1803
1807
|
// recommended rules from @eslint-react
|
|
1804
1808
|
"react/ensure-forward-ref-using-ref": "warn",
|
|
@@ -1813,14 +1817,14 @@ async function react(options = {}) {
|
|
|
1813
1817
|
"react/no-class-component": "error",
|
|
1814
1818
|
"react/no-clone-element": "warn",
|
|
1815
1819
|
"react/no-comment-textnodes": "warn",
|
|
1816
|
-
"react/no-
|
|
1820
|
+
"react/no-complex-conditional-rendering": "error",
|
|
1817
1821
|
"react/no-component-will-mount": "error",
|
|
1818
1822
|
"react/no-component-will-receive-props": "error",
|
|
1819
1823
|
"react/no-component-will-update": "error",
|
|
1820
1824
|
"react/no-create-ref": "error",
|
|
1821
1825
|
"react/no-direct-mutation-state": "error",
|
|
1822
1826
|
"react/no-duplicate-key": "error",
|
|
1823
|
-
"react/no-implicit-key": "
|
|
1827
|
+
"react/no-implicit-key": "error",
|
|
1824
1828
|
"react/no-leaked-conditional-rendering": "warn",
|
|
1825
1829
|
"react/no-missing-key": "error",
|
|
1826
1830
|
"react/no-nested-components": "warn",
|
|
@@ -1929,7 +1933,7 @@ async function roblox(options = {}, formatLua = true) {
|
|
|
1929
1933
|
...parserOptions
|
|
1930
1934
|
}
|
|
1931
1935
|
},
|
|
1932
|
-
name: "style
|
|
1936
|
+
name: "style/roblox",
|
|
1933
1937
|
plugins: {
|
|
1934
1938
|
roblox: default16
|
|
1935
1939
|
},
|
|
@@ -1981,7 +1985,7 @@ import { fixupPluginRules as fixupPluginRules3 } from "@eslint/compat";
|
|
|
1981
1985
|
async function shopify() {
|
|
1982
1986
|
return [
|
|
1983
1987
|
{
|
|
1984
|
-
name: "style
|
|
1988
|
+
name: "style/shopify",
|
|
1985
1989
|
plugins: {
|
|
1986
1990
|
shopify: fixupPluginRules3(default4)
|
|
1987
1991
|
},
|
|
@@ -1991,8 +1995,8 @@ async function shopify() {
|
|
|
1991
1995
|
"shopify/prefer-module-scope-constants": "error",
|
|
1992
1996
|
"shopify/react-hooks-strict-return": "error",
|
|
1993
1997
|
"shopify/strict-component-boundaries": "error",
|
|
1994
|
-
"shopify/typescript
|
|
1995
|
-
"shopify/typescript
|
|
1998
|
+
"shopify/typescript-prefer-pascal-case-enums": "error",
|
|
1999
|
+
"shopify/typescript-prefer-singular-enums": "error"
|
|
1996
2000
|
},
|
|
1997
2001
|
// Shopify has a dependency on 'eslint-plugin-react' so we need to
|
|
1998
2002
|
// set the react version to avoid the warning.
|
|
@@ -2010,7 +2014,7 @@ init_esm_shims();
|
|
|
2010
2014
|
async function sonarjs() {
|
|
2011
2015
|
return [
|
|
2012
2016
|
{
|
|
2013
|
-
name: "style
|
|
2017
|
+
name: "style/sonarjs",
|
|
2014
2018
|
plugins: {
|
|
2015
2019
|
sonar: pluginSonar
|
|
2016
2020
|
},
|
|
@@ -2059,7 +2063,7 @@ function sortTsconfig() {
|
|
|
2059
2063
|
return [
|
|
2060
2064
|
{
|
|
2061
2065
|
files: ["**/tsconfig.json", "**/tsconfig.*.json"],
|
|
2062
|
-
name: "style
|
|
2066
|
+
name: "style/sort-tsconfig",
|
|
2063
2067
|
rules: {
|
|
2064
2068
|
"jsonc/sort-keys": [
|
|
2065
2069
|
"error",
|
|
@@ -2201,7 +2205,7 @@ async function spelling(options = {}) {
|
|
|
2201
2205
|
return [
|
|
2202
2206
|
{
|
|
2203
2207
|
files,
|
|
2204
|
-
name: "style
|
|
2208
|
+
name: "style/spelling",
|
|
2205
2209
|
plugins: {
|
|
2206
2210
|
["@cspell"]: default2
|
|
2207
2211
|
},
|
|
@@ -2246,7 +2250,7 @@ async function toml(options = {}) {
|
|
|
2246
2250
|
]);
|
|
2247
2251
|
return [
|
|
2248
2252
|
{
|
|
2249
|
-
name: "
|
|
2253
|
+
name: "style/toml/setup",
|
|
2250
2254
|
plugins: {
|
|
2251
2255
|
toml: pluginToml
|
|
2252
2256
|
}
|
|
@@ -2256,7 +2260,7 @@ async function toml(options = {}) {
|
|
|
2256
2260
|
languageOptions: {
|
|
2257
2261
|
parser: parserToml
|
|
2258
2262
|
},
|
|
2259
|
-
name: "
|
|
2263
|
+
name: "style/toml/rules",
|
|
2260
2264
|
rules: {
|
|
2261
2265
|
"style/spaced-comment": "off",
|
|
2262
2266
|
"toml/comma-style": "error",
|
|
@@ -2371,7 +2375,7 @@ async function typescript(options = {}) {
|
|
|
2371
2375
|
{
|
|
2372
2376
|
// Install the plugins without globs, so they can be configured
|
|
2373
2377
|
// separately.
|
|
2374
|
-
name: "style
|
|
2378
|
+
name: "style/typescript:setup",
|
|
2375
2379
|
plugins: {
|
|
2376
2380
|
antfu: default6,
|
|
2377
2381
|
"no-autofix": default11,
|
|
@@ -2395,7 +2399,7 @@ async function typescript(options = {}) {
|
|
|
2395
2399
|
...parserOptions
|
|
2396
2400
|
}
|
|
2397
2401
|
},
|
|
2398
|
-
name: "style
|
|
2402
|
+
name: "style/typescript:rules",
|
|
2399
2403
|
rules: {
|
|
2400
2404
|
...renameRules(pluginTs.configs["eslint-recommended"].overrides?.[0].rules ?? {}, {
|
|
2401
2405
|
"@typescript-eslint": "ts"
|
|
@@ -2464,7 +2468,7 @@ async function typescript(options = {}) {
|
|
|
2464
2468
|
"object-shorthand": "error",
|
|
2465
2469
|
"prefer-const": "off",
|
|
2466
2470
|
"prefer-destructuring": "off",
|
|
2467
|
-
"ts/adjacent-overload-signatures": "
|
|
2471
|
+
"ts/adjacent-overload-signatures": "off",
|
|
2468
2472
|
"ts/array-type": [
|
|
2469
2473
|
"error",
|
|
2470
2474
|
{
|
|
@@ -2538,7 +2542,7 @@ async function typescript(options = {}) {
|
|
|
2538
2542
|
},
|
|
2539
2543
|
{
|
|
2540
2544
|
files: ["**/*.d.ts"],
|
|
2541
|
-
name: "style
|
|
2545
|
+
name: "style/typescript:dts-overrides",
|
|
2542
2546
|
rules: {
|
|
2543
2547
|
"eslint-comments/no-unlimited-disable": "off",
|
|
2544
2548
|
"import/no-duplicates": "off",
|
|
@@ -2555,7 +2559,7 @@ init_esm_shims();
|
|
|
2555
2559
|
async function unicorn() {
|
|
2556
2560
|
return [
|
|
2557
2561
|
{
|
|
2558
|
-
name: "style
|
|
2562
|
+
name: "style/unicorn",
|
|
2559
2563
|
plugins: {
|
|
2560
2564
|
unicorn: default15
|
|
2561
2565
|
},
|
|
@@ -2660,7 +2664,7 @@ async function yaml(options = {}) {
|
|
|
2660
2664
|
]);
|
|
2661
2665
|
return [
|
|
2662
2666
|
{
|
|
2663
|
-
name: "style
|
|
2667
|
+
name: "style/yaml:setup",
|
|
2664
2668
|
plugins: {
|
|
2665
2669
|
yaml: pluginYaml
|
|
2666
2670
|
}
|
|
@@ -2670,7 +2674,7 @@ async function yaml(options = {}) {
|
|
|
2670
2674
|
languageOptions: {
|
|
2671
2675
|
parser: parserYaml
|
|
2672
2676
|
},
|
|
2673
|
-
name: "style
|
|
2677
|
+
name: "style/yaml:rules",
|
|
2674
2678
|
rules: {
|
|
2675
2679
|
"style/spaced-comment": "off",
|
|
2676
2680
|
"yaml/block-mapping": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@antfu/install-pkg": "0.3.3",
|
|
39
39
|
"@clack/prompts": "0.7.0",
|
|
40
|
-
"@cspell/eslint-plugin": "8.
|
|
40
|
+
"@cspell/eslint-plugin": "8.12.1",
|
|
41
41
|
"@eslint/compat": "1.1.1",
|
|
42
42
|
"@isentinel/dict-rbxts": "1.0.1",
|
|
43
43
|
"@isentinel/dict-roblox": "1.0.3",
|
|
44
44
|
"@isentinel/eslint-plugin-comment-length": "1.7.3",
|
|
45
|
-
"@shopify/eslint-plugin": "
|
|
45
|
+
"@shopify/eslint-plugin": "46.0.0",
|
|
46
46
|
"@stylistic/eslint-plugin": "2.3.0",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
48
|
-
"@typescript-eslint/parser": "7.
|
|
49
|
-
"eslint-config-flat-gitignore": "0.1.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
48
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
49
|
+
"eslint-config-flat-gitignore": "0.1.8",
|
|
50
50
|
"eslint-config-prettier": "9.1.0",
|
|
51
51
|
"eslint-flat-config-utils": "0.2.5",
|
|
52
52
|
"eslint-merge-processors": "0.1.0",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
56
56
|
"eslint-plugin-format": "0.1.2",
|
|
57
57
|
"eslint-plugin-format-lua": "0.1.0",
|
|
58
|
-
"eslint-plugin-import-x": "3.0
|
|
59
|
-
"eslint-plugin-jsdoc": "48.
|
|
58
|
+
"eslint-plugin-import-x": "3.1.0",
|
|
59
|
+
"eslint-plugin-jsdoc": "48.8.3",
|
|
60
60
|
"eslint-plugin-jsonc": "2.16.0",
|
|
61
61
|
"eslint-plugin-markdown": "5.1.0",
|
|
62
62
|
"eslint-plugin-no-autofix": "2.0.0",
|
|
63
63
|
"eslint-plugin-package-json": "0.15.2",
|
|
64
|
-
"eslint-plugin-perfectionist": "
|
|
65
|
-
"eslint-plugin-promise": "
|
|
66
|
-
"eslint-plugin-sonarjs": "1.0.
|
|
64
|
+
"eslint-plugin-perfectionist": "3.0.0",
|
|
65
|
+
"eslint-plugin-promise": "7.0.0",
|
|
66
|
+
"eslint-plugin-sonarjs": "1.0.4",
|
|
67
67
|
"eslint-plugin-toml": "0.11.1",
|
|
68
|
-
"eslint-plugin-unicorn": "
|
|
68
|
+
"eslint-plugin-unicorn": "55.0.0",
|
|
69
69
|
"eslint-plugin-yml": "1.14.0",
|
|
70
70
|
"isentinel-eslint-plugin-roblox-ts": "0.0.37",
|
|
71
71
|
"jsonc-eslint-parser": "2.4.0",
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@antfu/ni": "0.22.0",
|
|
84
|
-
"@eslint-react/eslint-plugin": "1.
|
|
85
|
-
"@eslint/config-inspector": "0.5.
|
|
84
|
+
"@eslint-react/eslint-plugin": "1.6.0",
|
|
85
|
+
"@eslint/config-inspector": "0.5.2",
|
|
86
86
|
"@stylistic/eslint-plugin-migrate": "2.3.0",
|
|
87
|
-
"@types/eslint": "8.56.
|
|
87
|
+
"@types/eslint": "8.56.11",
|
|
88
88
|
"@types/fs-extra": "11.0.4",
|
|
89
|
-
"@types/node": "20.14.
|
|
89
|
+
"@types/node": "20.14.12",
|
|
90
90
|
"@types/prompts": "2.4.9",
|
|
91
91
|
"@types/yargs": "17.0.32",
|
|
92
92
|
"bumpp": "9.4.1",
|
|
93
93
|
"bundle-require": "5.0.0",
|
|
94
|
-
"eslint": "9.
|
|
94
|
+
"eslint": "9.8.0",
|
|
95
95
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
96
96
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
97
97
|
"eslint-typegen": "0.2.4",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"lint-staged": "15.2.7",
|
|
103
103
|
"rimraf": "6.0.1",
|
|
104
104
|
"simple-git-hooks": "2.11.1",
|
|
105
|
-
"tsup": "8.
|
|
106
|
-
"typescript": "5.5.
|
|
107
|
-
"@isentinel/eslint-config": "0.7.
|
|
105
|
+
"tsup": "8.2.3",
|
|
106
|
+
"typescript": "5.5.4",
|
|
107
|
+
"@isentinel/eslint-config": "0.7.3"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"@eslint-react/eslint-plugin": "^1.5.27",
|