@isentinel/eslint-config 6.0.0-beta.31 → 6.0.0-beta.32
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.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +6 -12
- package/dist/lint-cli.mjs +1 -1
- package/dist/oxlint.mjs +5 -11
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import path from "node:path";
|
|
|
9
9
|
import { existsSync, readFileSync } from "fs";
|
|
10
10
|
import { execSync } from "node:child_process";
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "6.0.0-beta.
|
|
12
|
+
var version = "6.0.0-beta.32";
|
|
13
13
|
var package_default = {
|
|
14
14
|
name: "@isentinel/eslint-config",
|
|
15
15
|
version,
|
package/dist/index.d.mts
CHANGED
|
@@ -27594,7 +27594,7 @@ declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
|
27594
27594
|
*/
|
|
27595
27595
|
declare const GLOB_TYPE_TESTS = "**/*.{test,spec}-d.{,c,m}[jt]s{,x}";
|
|
27596
27596
|
declare const GLOB_TESTS: Array<string>;
|
|
27597
|
-
declare const
|
|
27597
|
+
declare const GLOB_BUILD_CONFIGS: Array<string>;
|
|
27598
27598
|
declare const GLOB_ALL_SRC: string[];
|
|
27599
27599
|
declare const GLOB_EXCLUDE: string[];
|
|
27600
27600
|
//#endregion
|
|
@@ -27814,4 +27814,4 @@ declare function unicorn({ complementIgnores, nameReplacements, roblox, root: cu
|
|
|
27814
27814
|
//#region src/eslint/configs/yaml.d.ts
|
|
27815
27815
|
declare function yaml({ files, overrides, stylistic }?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<Array<TypedFlatConfigItem>>;
|
|
27816
27816
|
//#endregion
|
|
27817
|
-
export { type Awaitable, type ConfigNames, type FlatConfigComposer, GLOB_ALL_JSON, GLOB_ALL_SRC, GLOB_BIN,
|
|
27817
|
+
export { type Awaitable, type ConfigNames, type FlatConfigComposer, GLOB_ALL_JSON, GLOB_ALL_SRC, GLOB_BIN, GLOB_BUILD_CONFIGS, GLOB_CSS, GLOB_DTS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LINTABLE_EXTENSIONS, GLOB_LUA, GLOB_MARKDOWN, GLOB_MARKDOWN_BLOCKS, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MISE, GLOB_PACKAGE_JSON, GLOB_PACKAGE_JSON_ROOT, GLOB_POSTCSS, GLOB_ROOT, GLOB_ROOT_SRC, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_EXTENSIONS, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TYPE_TESTS, GLOB_XML, GLOB_YAML, GitignoreOptions, type JsdocOptions, MARKDOWN_PROCESSOR_NAME, type NamedFlatConfigItem, type NamedOptionsConfig, type NamingConfig, type NamingSelector, type OptionsComponentExtensions, type OptionsConfig, type OptionsE18e, type OptionsFiles, type OptionsFilesTypeAware, type OptionsFormatters, type OptionsHasRoblox, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsJest, type OptionsOverrides, type OptionsOverridesTypeAware, type OptionsPnpm, type OptionsProjectType, type OptionsStylistic, type OptionsTestFramework, type OptionsTypeScriptErasableOnly, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsVitest, type OxfmtOptions, type PerfectionistConfig, type PrettierOptions, type ReactConfig, type ReactSettings, type Rules, type SpellCheckConfig, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, comments, isentinel as default, isentinel, defaultPluginRenaming, disables, e18e, eslintPlugin, flawless, gitignore, ignores$1 as ignores, imports, isAgentAutofixDisabled, isInAgentSession, isInEditorEnvironment, isInGitHooksOrLintStaged, javascript, jsdoc, jsonc, loadSmallRulesPlugin, markdown, naming, node, oxfmt, packageJson, perfectionist, pnpm, promise, react, roblox$1 as roblox, smallRules, sonarjs, sortCspell, sortGithubAction, sortMiseToml, sortPnpmWorkspace, sortRojoProject, sortTsconfig, spelling, stylistic$1 as stylistic, test, toml, typescript, unicorn, yaml };
|
package/dist/index.mjs
CHANGED
|
@@ -166,17 +166,11 @@ const GLOB_TESTS = [
|
|
|
166
166
|
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
167
167
|
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
168
168
|
];
|
|
169
|
-
const
|
|
169
|
+
const GLOB_BUILD_CONFIGS = [
|
|
170
170
|
"**/.husky/**/*",
|
|
171
171
|
`**/config/${GLOB_SRC}`,
|
|
172
172
|
`**/*config.${GLOB_SRC_EXT}`,
|
|
173
|
-
`**/*config.*.${GLOB_SRC_EXT}
|
|
174
|
-
`**/build/${GLOB_SRC}`,
|
|
175
|
-
`**/tools/${GLOB_SRC}`,
|
|
176
|
-
`**/setup/${GLOB_SRC}`,
|
|
177
|
-
`**/dev/${GLOB_SRC}`,
|
|
178
|
-
`**/tasks/${GLOB_SRC}`,
|
|
179
|
-
"**/.github/scripts/**/*"
|
|
173
|
+
`**/*config.*.${GLOB_SRC_EXT}`
|
|
180
174
|
];
|
|
181
175
|
const GLOB_ALL_SRC = [
|
|
182
176
|
GLOB_SRC,
|
|
@@ -1361,7 +1355,7 @@ function disables({ root, workspaceRoot }) {
|
|
|
1361
1355
|
{
|
|
1362
1356
|
name: "isentinel/disables/scripts",
|
|
1363
1357
|
basePath: workspaceRoot,
|
|
1364
|
-
files: [`**/scripts/${GLOB_SRC}
|
|
1358
|
+
files: [`**/scripts/${GLOB_SRC}`, "**/.github/scripts/**/*"],
|
|
1365
1359
|
rules: {
|
|
1366
1360
|
"antfu/no-top-level-await": "off",
|
|
1367
1361
|
"max-lines": "off",
|
|
@@ -1380,9 +1374,9 @@ function disables({ root, workspaceRoot }) {
|
|
|
1380
1374
|
}
|
|
1381
1375
|
},
|
|
1382
1376
|
{
|
|
1383
|
-
name: "isentinel/disables/build-
|
|
1377
|
+
name: "isentinel/disables/build-configs",
|
|
1384
1378
|
basePath: workspaceRoot,
|
|
1385
|
-
files:
|
|
1379
|
+
files: GLOB_BUILD_CONFIGS,
|
|
1386
1380
|
rules: {
|
|
1387
1381
|
"antfu/no-top-level-await": "off",
|
|
1388
1382
|
"no-console": "off",
|
|
@@ -16628,4 +16622,4 @@ async function isentinel(options, ...userConfigs) {
|
|
|
16628
16622
|
return composer;
|
|
16629
16623
|
}
|
|
16630
16624
|
//#endregion
|
|
16631
|
-
export { GLOB_ALL_JSON, GLOB_ALL_SRC, GLOB_BIN,
|
|
16625
|
+
export { GLOB_ALL_JSON, GLOB_ALL_SRC, GLOB_BIN, GLOB_BUILD_CONFIGS, GLOB_CSS, GLOB_DTS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LINTABLE_EXTENSIONS, GLOB_LUA, GLOB_MARKDOWN, GLOB_MARKDOWN_BLOCKS, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MISE, GLOB_PACKAGE_JSON, GLOB_PACKAGE_JSON_ROOT, GLOB_POSTCSS, GLOB_ROOT, GLOB_ROOT_SRC, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_EXTENSIONS, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TYPE_TESTS, GLOB_XML, GLOB_YAML, MARKDOWN_PROCESSOR_NAME, StylisticConfigDefaults, comments, isentinel as default, isentinel, defaultPluginRenaming, disables, e18e, eslintPlugin, flawless, gitignore, ignores, imports, isAgentAutofixDisabled, isInAgentSession, isInEditorEnvironment, isInGitHooksOrLintStaged, javascript, jsdoc, jsonc, loadSmallRulesPlugin, markdown, naming, node, oxfmt, packageJson, perfectionist, pnpm, promise, react, roblox, smallRules, sonarjs, sortCspell, sortGithubAction, sortMiseToml, sortPnpmWorkspace, sortRojoProject, sortTsconfig, spelling, stylistic, test, toml, typescript, unicorn, yaml };
|
package/dist/lint-cli.mjs
CHANGED
|
@@ -36,7 +36,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
36
|
}) : target, mod));
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region package.json
|
|
39
|
-
var version = "6.0.0-beta.
|
|
39
|
+
var version = "6.0.0-beta.32";
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/lint-cli/lib/cli/types.ts
|
|
42
42
|
/**
|
package/dist/oxlint.mjs
CHANGED
|
@@ -1905,17 +1905,11 @@ const GLOB_TESTS = [
|
|
|
1905
1905
|
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
1906
1906
|
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
1907
1907
|
];
|
|
1908
|
-
const
|
|
1908
|
+
const GLOB_BUILD_CONFIGS = [
|
|
1909
1909
|
"**/.husky/**/*",
|
|
1910
1910
|
`**/config/${GLOB_SRC}`,
|
|
1911
1911
|
`**/*config.${GLOB_SRC_EXT}`,
|
|
1912
|
-
`**/*config.*.${GLOB_SRC_EXT}
|
|
1913
|
-
`**/build/${GLOB_SRC}`,
|
|
1914
|
-
`**/tools/${GLOB_SRC}`,
|
|
1915
|
-
`**/setup/${GLOB_SRC}`,
|
|
1916
|
-
`**/dev/${GLOB_SRC}`,
|
|
1917
|
-
`**/tasks/${GLOB_SRC}`,
|
|
1918
|
-
"**/.github/scripts/**/*"
|
|
1912
|
+
`**/*config.*.${GLOB_SRC_EXT}`
|
|
1919
1913
|
];
|
|
1920
1914
|
const GLOB_EXCLUDE = [
|
|
1921
1915
|
"**/.pnpm-store",
|
|
@@ -3253,8 +3247,8 @@ function oxlintDisables({ configDirectory, root, workspaceRoot }) {
|
|
|
3253
3247
|
}
|
|
3254
3248
|
}),
|
|
3255
3249
|
...createOxlintConfigs({
|
|
3256
|
-
name: "isentinel/disables/build-
|
|
3257
|
-
files:
|
|
3250
|
+
name: "isentinel/disables/build-configs",
|
|
3251
|
+
files: GLOB_BUILD_CONFIGS,
|
|
3258
3252
|
rules: {
|
|
3259
3253
|
"antfu/no-top-level-await": "off",
|
|
3260
3254
|
"no-console": "off",
|
|
@@ -3663,7 +3657,7 @@ function oxlintImports({ excludeFiles, roblox = true, stylistic = true } = {}) {
|
|
|
3663
3657
|
name: "isentinel/imports/oxlint/default-export",
|
|
3664
3658
|
excludeFiles: [
|
|
3665
3659
|
GLOB_DTS,
|
|
3666
|
-
...
|
|
3660
|
+
...GLOB_BUILD_CONFIGS,
|
|
3667
3661
|
...exclude
|
|
3668
3662
|
],
|
|
3669
3663
|
files: [GLOB_SRC],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.32",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"typescript": "6.0.3",
|
|
143
143
|
"unplugin-unused": "0.5.7",
|
|
144
144
|
"vitest": "4.1.10",
|
|
145
|
-
"@isentinel/eslint-config": "6.0.0-beta.
|
|
145
|
+
"@isentinel/eslint-config": "6.0.0-beta.32"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
148
|
"@vitest/eslint-plugin": "^1.6.4",
|