@isentinel/eslint-config 6.0.0-beta.20 → 6.0.0-beta.21
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 +17 -17
- package/dist/lint-cli.mjs +51 -2
- package/dist/oxlint.d.mts +17 -17
- package/package.json +3 -3
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.21";
|
|
13
13
|
var package_default = {
|
|
14
14
|
name: "@isentinel/eslint-config",
|
|
15
15
|
version,
|
package/dist/index.d.mts
CHANGED
|
@@ -7017,87 +7017,87 @@ interface RuleOptions {
|
|
|
7017
7017
|
'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
|
|
7018
7018
|
/**
|
|
7019
7019
|
* Enforce arrow function return style based on line length
|
|
7020
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7020
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/arrow-return-style/documentation.md
|
|
7021
7021
|
*/
|
|
7022
7022
|
'flawless/arrow-return-style'?: Linter.RuleEntry<FlawlessArrowReturnStyle>;
|
|
7023
7023
|
/**
|
|
7024
7024
|
* Disallow shorthand boolean JSX attributes
|
|
7025
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7025
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-boolean/documentation.md
|
|
7026
7026
|
*/
|
|
7027
7027
|
'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
7028
7028
|
/**
|
|
7029
7029
|
* Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
|
|
7030
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7030
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-fragment/documentation.md
|
|
7031
7031
|
*/
|
|
7032
7032
|
'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
|
|
7033
7033
|
/**
|
|
7034
7034
|
* Enforce a maximum number of lines of code in a function
|
|
7035
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7035
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/max-lines-per-function/documentation.md
|
|
7036
7036
|
*/
|
|
7037
7037
|
'flawless/max-lines-per-function'?: Linter.RuleEntry<FlawlessMaxLinesPerFunction>;
|
|
7038
7038
|
/**
|
|
7039
7039
|
* Enforce naming conventions for everything across a codebase
|
|
7040
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7040
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/naming-convention/documentation.md
|
|
7041
7041
|
*/
|
|
7042
7042
|
'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
|
|
7043
7043
|
/**
|
|
7044
7044
|
* Disallow anonymous arrow functions as export default declarations
|
|
7045
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7045
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-export-default-arrow/documentation.md
|
|
7046
7046
|
*/
|
|
7047
7047
|
'flawless/no-export-default-arrow'?: Linter.RuleEntry<[]>;
|
|
7048
7048
|
/**
|
|
7049
7049
|
* Disallow tsconfig options that redundantly re-set a value already provided by an extended config
|
|
7050
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7050
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-redundant-tsconfig-options/documentation.md
|
|
7051
7051
|
*/
|
|
7052
7052
|
'flawless/no-redundant-tsconfig-options'?: Linter.RuleEntry<[]>;
|
|
7053
7053
|
/**
|
|
7054
7054
|
* Disallow unnecessary usage of 'useCallback'
|
|
7055
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7055
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-callback/documentation.md
|
|
7056
7056
|
*/
|
|
7057
7057
|
'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
7058
7058
|
/**
|
|
7059
7059
|
* Disallow unnecessary usage of 'useMemo'
|
|
7060
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7060
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-memo/documentation.md
|
|
7061
7061
|
*/
|
|
7062
7062
|
'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
7063
7063
|
/**
|
|
7064
7064
|
* Enforce a blank line after `expect.assertions` and `expect.hasAssertions`
|
|
7065
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7065
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/padding-after-expect-assertions/documentation.md
|
|
7066
7066
|
*/
|
|
7067
7067
|
'flawless/padding-after-expect-assertions'?: Linter.RuleEntry<[]>;
|
|
7068
7068
|
/**
|
|
7069
7069
|
* Enforce destructuring assignment for component props
|
|
7070
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7070
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-destructuring-assignment/documentation.md
|
|
7071
7071
|
*/
|
|
7072
7072
|
'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
7073
7073
|
/**
|
|
7074
7074
|
* Enforce destructuring parameters in the function signature
|
|
7075
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7075
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-parameter-destructuring/documentation.md
|
|
7076
7076
|
*/
|
|
7077
7077
|
'flawless/prefer-parameter-destructuring'?: Linter.RuleEntry<FlawlessPreferParameterDestructuring>;
|
|
7078
7078
|
/**
|
|
7079
7079
|
* Enforce that function component props are read-only
|
|
7080
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7080
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-read-only-props/documentation.md
|
|
7081
7081
|
*/
|
|
7082
7082
|
'flawless/prefer-read-only-props'?: Linter.RuleEntry<FlawlessPreferReadOnlyProps>;
|
|
7083
7083
|
/**
|
|
7084
7084
|
* Disallow impure calls such as `math.random` or `os.clock` during render
|
|
7085
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7085
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/purity/documentation.md
|
|
7086
7086
|
*/
|
|
7087
7087
|
'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
|
|
7088
7088
|
/**
|
|
7089
7089
|
* Prefer named imports for React runtime values and the React namespace for React types
|
|
7090
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7090
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/react-namespace/documentation.md
|
|
7091
7091
|
*/
|
|
7092
7092
|
'flawless/react-namespace'?: Linter.RuleEntry<[]>;
|
|
7093
7093
|
/**
|
|
7094
7094
|
* Enforce a configured sort order for TOML keys and tables
|
|
7095
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7095
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/toml-sort-keys/documentation.md
|
|
7096
7096
|
*/
|
|
7097
7097
|
'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
|
|
7098
7098
|
/**
|
|
7099
7099
|
* Enforce blank lines around top-level YAML block collection keys
|
|
7100
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
7100
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/yaml-block-key-blank-lines/documentation.md
|
|
7101
7101
|
*/
|
|
7102
7102
|
'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
|
|
7103
7103
|
/**
|
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.21";
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/lint-cli/lib/cli/types.ts
|
|
42
42
|
/**
|
|
@@ -3430,12 +3430,17 @@ function withoutIgnored(files, ignored) {
|
|
|
3430
3430
|
* lint. A path is kept when its extension is type-aware, when it has no
|
|
3431
3431
|
* extension, or when it is an existing directory (either may hold TS/JS files).
|
|
3432
3432
|
*
|
|
3433
|
+
* Surviving targets are then dropped when oxlint's own ignore matching would
|
|
3434
|
+
* skip them (see {@link gitIgnoredTargets}): a hook stages a `.gitignore`d yet
|
|
3435
|
+
* git-tracked file (a committed generated `*.d.ts`, say), which passes the
|
|
3436
|
+
* extension test but is the exact all-ignored set oxlint exits non-zero on.
|
|
3437
|
+
*
|
|
3433
3438
|
* @param cwd - The working directory to resolve targets against.
|
|
3434
3439
|
* @param targets - The explicit lint target paths.
|
|
3435
3440
|
* @returns The subset oxlint should receive.
|
|
3436
3441
|
*/
|
|
3437
3442
|
function oxlintTargets(cwd, targets) {
|
|
3438
|
-
|
|
3443
|
+
const candidates = targets.filter((target) => {
|
|
3439
3444
|
const extension = path.extname(target).toLowerCase();
|
|
3440
3445
|
if (extension === "" || TYPE_AWARE_EXTENSION_SET.has(extension)) return true;
|
|
3441
3446
|
try {
|
|
@@ -3444,6 +3449,9 @@ function oxlintTargets(cwd, targets) {
|
|
|
3444
3449
|
return false;
|
|
3445
3450
|
}
|
|
3446
3451
|
});
|
|
3452
|
+
if (candidates.length === 0) return candidates;
|
|
3453
|
+
const ignored = gitIgnoredTargets(cwd, candidates);
|
|
3454
|
+
return candidates.filter((target) => !ignored.has(target));
|
|
3447
3455
|
}
|
|
3448
3456
|
/**
|
|
3449
3457
|
* Whether an absolute path is a flat-config entry point.
|
|
@@ -3588,6 +3596,47 @@ function listFiles(cwd, targets) {
|
|
|
3588
3596
|
function retained(files, ignored) {
|
|
3589
3597
|
return files.filter((file) => !ignored.has(normalizePath(file)));
|
|
3590
3598
|
}
|
|
3599
|
+
/**
|
|
3600
|
+
* The subset of `targets` oxlint's own ignore matching would skip, echoed back
|
|
3601
|
+
* verbatim by `git check-ignore`. Empty when git cannot answer (outside a repo,
|
|
3602
|
+
* git absent) or when nothing matches — either way the caller drops nothing,
|
|
3603
|
+
* the behaviour before this existed.
|
|
3604
|
+
*
|
|
3605
|
+
* Oxlint matches `.gitignore` rules through the `ignore` crate, which never
|
|
3606
|
+
* consults git's index — so a file that is `.gitignore`d yet git-*tracked* is
|
|
3607
|
+
* ignored by oxlint all the same. `--no-index` is the flag that makes git
|
|
3608
|
+
* agree: without it, git reports a tracked file as not-ignored and we keep
|
|
3609
|
+
* handing oxlint a path it refuses. `check-ignore` exits 1 (printing nothing)
|
|
3610
|
+
* when no path matches, which `execFileSync` raises as a throw —
|
|
3611
|
+
* indistinguishable here from git being absent, and correctly so: both mean
|
|
3612
|
+
* "drop nothing"..
|
|
3613
|
+
*
|
|
3614
|
+
* @param cwd - The working directory to resolve targets against.
|
|
3615
|
+
* @param targets - The candidate target paths, passed verbatim on stdin.
|
|
3616
|
+
* @returns The ignored subset, matched against the original target strings.
|
|
3617
|
+
*/
|
|
3618
|
+
function gitIgnoredTargets(cwd, targets) {
|
|
3619
|
+
try {
|
|
3620
|
+
const output = execFileSync("git", [
|
|
3621
|
+
"check-ignore",
|
|
3622
|
+
"--no-index",
|
|
3623
|
+
"--stdin"
|
|
3624
|
+
], {
|
|
3625
|
+
cwd,
|
|
3626
|
+
encoding: "utf8",
|
|
3627
|
+
input: targets.join("\n"),
|
|
3628
|
+
maxBuffer: 64 * 1024 * 1024,
|
|
3629
|
+
stdio: [
|
|
3630
|
+
"pipe",
|
|
3631
|
+
"pipe",
|
|
3632
|
+
"ignore"
|
|
3633
|
+
]
|
|
3634
|
+
});
|
|
3635
|
+
return new Set(output.split("\n").map((line) => line.trim()).filter(Boolean));
|
|
3636
|
+
} catch {
|
|
3637
|
+
return /* @__PURE__ */ new Set();
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3591
3640
|
//#endregion
|
|
3592
3641
|
//#region src/lint-cli/lib/exec/eslint-install.ts
|
|
3593
3642
|
/**
|
package/dist/oxlint.d.mts
CHANGED
|
@@ -4179,87 +4179,87 @@ interface RuleOptions {
|
|
|
4179
4179
|
'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
|
|
4180
4180
|
/**
|
|
4181
4181
|
* Enforce arrow function return style based on line length
|
|
4182
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4182
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/arrow-return-style/documentation.md
|
|
4183
4183
|
*/
|
|
4184
4184
|
'flawless/arrow-return-style'?: Linter.RuleEntry<FlawlessArrowReturnStyle>;
|
|
4185
4185
|
/**
|
|
4186
4186
|
* Disallow shorthand boolean JSX attributes
|
|
4187
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4187
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-boolean/documentation.md
|
|
4188
4188
|
*/
|
|
4189
4189
|
'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
4190
4190
|
/**
|
|
4191
4191
|
* Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
|
|
4192
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4192
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-fragment/documentation.md
|
|
4193
4193
|
*/
|
|
4194
4194
|
'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
|
|
4195
4195
|
/**
|
|
4196
4196
|
* Enforce a maximum number of lines of code in a function
|
|
4197
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4197
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/max-lines-per-function/documentation.md
|
|
4198
4198
|
*/
|
|
4199
4199
|
'flawless/max-lines-per-function'?: Linter.RuleEntry<FlawlessMaxLinesPerFunction>;
|
|
4200
4200
|
/**
|
|
4201
4201
|
* Enforce naming conventions for everything across a codebase
|
|
4202
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4202
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/naming-convention/documentation.md
|
|
4203
4203
|
*/
|
|
4204
4204
|
'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
|
|
4205
4205
|
/**
|
|
4206
4206
|
* Disallow anonymous arrow functions as export default declarations
|
|
4207
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4207
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-export-default-arrow/documentation.md
|
|
4208
4208
|
*/
|
|
4209
4209
|
'flawless/no-export-default-arrow'?: Linter.RuleEntry<[]>;
|
|
4210
4210
|
/**
|
|
4211
4211
|
* Disallow tsconfig options that redundantly re-set a value already provided by an extended config
|
|
4212
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4212
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-redundant-tsconfig-options/documentation.md
|
|
4213
4213
|
*/
|
|
4214
4214
|
'flawless/no-redundant-tsconfig-options'?: Linter.RuleEntry<[]>;
|
|
4215
4215
|
/**
|
|
4216
4216
|
* Disallow unnecessary usage of 'useCallback'
|
|
4217
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4217
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-callback/documentation.md
|
|
4218
4218
|
*/
|
|
4219
4219
|
'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
4220
4220
|
/**
|
|
4221
4221
|
* Disallow unnecessary usage of 'useMemo'
|
|
4222
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4222
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-memo/documentation.md
|
|
4223
4223
|
*/
|
|
4224
4224
|
'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
4225
4225
|
/**
|
|
4226
4226
|
* Enforce a blank line after `expect.assertions` and `expect.hasAssertions`
|
|
4227
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4227
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/padding-after-expect-assertions/documentation.md
|
|
4228
4228
|
*/
|
|
4229
4229
|
'flawless/padding-after-expect-assertions'?: Linter.RuleEntry<[]>;
|
|
4230
4230
|
/**
|
|
4231
4231
|
* Enforce destructuring assignment for component props
|
|
4232
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4232
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-destructuring-assignment/documentation.md
|
|
4233
4233
|
*/
|
|
4234
4234
|
'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
4235
4235
|
/**
|
|
4236
4236
|
* Enforce destructuring parameters in the function signature
|
|
4237
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4237
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-parameter-destructuring/documentation.md
|
|
4238
4238
|
*/
|
|
4239
4239
|
'flawless/prefer-parameter-destructuring'?: Linter.RuleEntry<FlawlessPreferParameterDestructuring>;
|
|
4240
4240
|
/**
|
|
4241
4241
|
* Enforce that function component props are read-only
|
|
4242
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4242
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-read-only-props/documentation.md
|
|
4243
4243
|
*/
|
|
4244
4244
|
'flawless/prefer-read-only-props'?: Linter.RuleEntry<FlawlessPreferReadOnlyProps>;
|
|
4245
4245
|
/**
|
|
4246
4246
|
* Disallow impure calls such as `math.random` or `os.clock` during render
|
|
4247
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4247
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/purity/documentation.md
|
|
4248
4248
|
*/
|
|
4249
4249
|
'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
|
|
4250
4250
|
/**
|
|
4251
4251
|
* Prefer named imports for React runtime values and the React namespace for React types
|
|
4252
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4252
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/react-namespace/documentation.md
|
|
4253
4253
|
*/
|
|
4254
4254
|
'flawless/react-namespace'?: Linter.RuleEntry<[]>;
|
|
4255
4255
|
/**
|
|
4256
4256
|
* Enforce a configured sort order for TOML keys and tables
|
|
4257
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4257
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/toml-sort-keys/documentation.md
|
|
4258
4258
|
*/
|
|
4259
4259
|
'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
|
|
4260
4260
|
/**
|
|
4261
4261
|
* Enforce blank lines around top-level YAML block collection keys
|
|
4262
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.
|
|
4262
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/yaml-block-key-blank-lines/documentation.md
|
|
4263
4263
|
*/
|
|
4264
4264
|
'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
|
|
4265
4265
|
/**
|
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.21",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"eslint-plugin-better-max-params": "1.0.0",
|
|
77
77
|
"eslint-plugin-comment-length": "2.3.1",
|
|
78
78
|
"eslint-plugin-de-morgan": "2.1.3",
|
|
79
|
-
"eslint-plugin-flawless": "1.2.
|
|
79
|
+
"eslint-plugin-flawless": "1.2.1",
|
|
80
80
|
"eslint-plugin-format-lua": "2.0.0",
|
|
81
81
|
"eslint-plugin-import-lite": "0.6.0",
|
|
82
82
|
"eslint-plugin-jsdoc": "63.1.0",
|
|
@@ -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.21"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
148
|
"@vitest/eslint-plugin": "^1.6.4",
|