@isentinel/eslint-config 6.0.0-beta.25 → 6.0.0-beta.27
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 +20 -20
- package/dist/lint-cli.mjs +1 -1
- package/dist/oxlint.d.mts +60 -30
- package/dist/oxlint.mjs +921 -27
- 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.27";
|
|
13
13
|
var package_default = {
|
|
14
14
|
name: "@isentinel/eslint-config",
|
|
15
15
|
version,
|
package/dist/index.d.mts
CHANGED
|
@@ -7092,102 +7092,102 @@ interface RuleOptions {
|
|
|
7092
7092
|
'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
|
|
7093
7093
|
/**
|
|
7094
7094
|
* Enforce arrow function return style based on line length
|
|
7095
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7095
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/arrow-return-style/documentation.md
|
|
7096
7096
|
*/
|
|
7097
7097
|
'flawless/arrow-return-style'?: Linter.RuleEntry<FlawlessArrowReturnStyle>;
|
|
7098
7098
|
/**
|
|
7099
7099
|
* Disallow shorthand boolean JSX attributes
|
|
7100
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7100
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/jsx-shorthand-boolean/documentation.md
|
|
7101
7101
|
*/
|
|
7102
7102
|
'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
7103
7103
|
/**
|
|
7104
7104
|
* Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
|
|
7105
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7105
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/jsx-shorthand-fragment/documentation.md
|
|
7106
7106
|
*/
|
|
7107
7107
|
'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
|
|
7108
7108
|
/**
|
|
7109
7109
|
* Enforce a maximum number of lines of code in a function
|
|
7110
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7110
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/max-lines-per-function/documentation.md
|
|
7111
7111
|
*/
|
|
7112
7112
|
'flawless/max-lines-per-function'?: Linter.RuleEntry<FlawlessMaxLinesPerFunction>;
|
|
7113
7113
|
/**
|
|
7114
7114
|
* Enforce naming conventions for everything across a codebase
|
|
7115
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7115
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/naming-convention/documentation.md
|
|
7116
7116
|
*/
|
|
7117
7117
|
'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
|
|
7118
7118
|
/**
|
|
7119
7119
|
* Disallow conditional logic in tests
|
|
7120
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7120
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-conditional-in-test/documentation.md
|
|
7121
7121
|
*/
|
|
7122
7122
|
'flawless/no-conditional-in-test'?: Linter.RuleEntry<FlawlessNoConditionalInTest>;
|
|
7123
7123
|
/**
|
|
7124
7124
|
* Disallow anonymous arrow functions as export default declarations
|
|
7125
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7125
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-export-default-arrow/documentation.md
|
|
7126
7126
|
*/
|
|
7127
7127
|
'flawless/no-export-default-arrow'?: Linter.RuleEntry<[]>;
|
|
7128
7128
|
/**
|
|
7129
7129
|
* Disallow tsconfig options that redundantly re-set a value already provided by an extended config
|
|
7130
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7130
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-redundant-tsconfig-options/documentation.md
|
|
7131
7131
|
*/
|
|
7132
7132
|
'flawless/no-redundant-tsconfig-options'?: Linter.RuleEntry<[]>;
|
|
7133
7133
|
/**
|
|
7134
7134
|
* Disallow unnecessary usage of 'useCallback'
|
|
7135
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7135
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-unnecessary-use-callback/documentation.md
|
|
7136
7136
|
*/
|
|
7137
7137
|
'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
7138
7138
|
/**
|
|
7139
7139
|
* Disallow unnecessary usage of 'useMemo'
|
|
7140
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7140
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-unnecessary-use-memo/documentation.md
|
|
7141
7141
|
*/
|
|
7142
7142
|
'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
7143
7143
|
/**
|
|
7144
7144
|
* Enforce a blank line after `expect.assertions` and `expect.hasAssertions`
|
|
7145
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7145
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/padding-after-expect-assertions/documentation.md
|
|
7146
7146
|
*/
|
|
7147
7147
|
'flawless/padding-after-expect-assertions'?: Linter.RuleEntry<[]>;
|
|
7148
7148
|
/**
|
|
7149
7149
|
* Enforce destructuring assignment for component props
|
|
7150
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7150
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-destructuring-assignment/documentation.md
|
|
7151
7151
|
*/
|
|
7152
7152
|
'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
7153
7153
|
/**
|
|
7154
7154
|
* Prefer having the last statement in a test be an assertion
|
|
7155
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7155
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-ending-with-an-expect/documentation.md
|
|
7156
7156
|
*/
|
|
7157
7157
|
'flawless/prefer-ending-with-an-expect'?: Linter.RuleEntry<FlawlessPreferEndingWithAnExpect>;
|
|
7158
7158
|
/**
|
|
7159
7159
|
* Prefer `expect.assertions(<count>)` over `expect.hasAssertions()`
|
|
7160
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7160
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-expect-assertions-count/documentation.md
|
|
7161
7161
|
*/
|
|
7162
7162
|
'flawless/prefer-expect-assertions-count'?: Linter.RuleEntry<[]>;
|
|
7163
7163
|
/**
|
|
7164
7164
|
* Enforce destructuring parameters in the function signature
|
|
7165
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7165
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-parameter-destructuring/documentation.md
|
|
7166
7166
|
*/
|
|
7167
7167
|
'flawless/prefer-parameter-destructuring'?: Linter.RuleEntry<FlawlessPreferParameterDestructuring>;
|
|
7168
7168
|
/**
|
|
7169
7169
|
* Enforce that function component props are read-only
|
|
7170
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7170
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-read-only-props/documentation.md
|
|
7171
7171
|
*/
|
|
7172
7172
|
'flawless/prefer-read-only-props'?: Linter.RuleEntry<FlawlessPreferReadOnlyProps>;
|
|
7173
7173
|
/**
|
|
7174
7174
|
* Disallow impure calls such as `math.random` or `os.clock` during render
|
|
7175
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7175
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/purity/documentation.md
|
|
7176
7176
|
*/
|
|
7177
7177
|
'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
|
|
7178
7178
|
/**
|
|
7179
7179
|
* Prefer named imports for React runtime values and the React namespace for React types
|
|
7180
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7180
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/react-namespace/documentation.md
|
|
7181
7181
|
*/
|
|
7182
7182
|
'flawless/react-namespace'?: Linter.RuleEntry<[]>;
|
|
7183
7183
|
/**
|
|
7184
7184
|
* Enforce a configured sort order for TOML keys and tables
|
|
7185
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7185
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/toml-sort-keys/documentation.md
|
|
7186
7186
|
*/
|
|
7187
7187
|
'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
|
|
7188
7188
|
/**
|
|
7189
7189
|
* Enforce blank lines around top-level YAML block collection keys
|
|
7190
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
7190
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/yaml-block-key-blank-lines/documentation.md
|
|
7191
7191
|
*/
|
|
7192
7192
|
'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
|
|
7193
7193
|
/**
|
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.27";
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/lint-cli/lib/cli/types.ts
|
|
42
42
|
/**
|
package/dist/oxlint.d.mts
CHANGED
|
@@ -8,16 +8,6 @@ import { Options } from "prettier";
|
|
|
8
8
|
import { FormatConfig, JsdocConfig } from "oxfmt";
|
|
9
9
|
import "eslint-flat-config-utils";
|
|
10
10
|
//#region src/rules/oxlint-mapping.d.ts
|
|
11
|
-
/**
|
|
12
|
-
* Per-rule mapping between the ESLint config and oxlint for hybrid mode.
|
|
13
|
-
*
|
|
14
|
-
* Every rule listed here is covered by oxlint: when the ESLint factory runs
|
|
15
|
-
* with `oxlint: true` it drops these rules, and the oxlint factory enables
|
|
16
|
-
* them (translated via {@link translateRuleToOxlint}).
|
|
17
|
-
*
|
|
18
|
-
* Rules NOT listed here stay in ESLint. Notable families that intentionally
|
|
19
|
-
* stay are documented in {@link staysInEslint}.
|
|
20
|
-
*/
|
|
21
11
|
/** Where a rule runs when linting with oxlint. */
|
|
22
12
|
type OxlintTarget =
|
|
23
13
|
/** Runs inside oxlint via a jsPlugin (the original ESLint plugin). */
|
|
@@ -2916,6 +2906,46 @@ interface OxlintReactRuleDefaults {
|
|
|
2916
2906
|
"react-naming-convention/ref-name": {
|
|
2917
2907
|
"*": "error";
|
|
2918
2908
|
};
|
|
2909
|
+
"react-perf/jsx-no-jsx-as-prop": {
|
|
2910
|
+
game_roblox: ["error", {
|
|
2911
|
+
"nativeAllowList": "all";
|
|
2912
|
+
}];
|
|
2913
|
+
game_std: "error";
|
|
2914
|
+
package_roblox: ["error", {
|
|
2915
|
+
"nativeAllowList": "all";
|
|
2916
|
+
}];
|
|
2917
|
+
package_std: "error";
|
|
2918
|
+
};
|
|
2919
|
+
"react-perf/jsx-no-new-array-as-prop": {
|
|
2920
|
+
game_roblox: ["error", {
|
|
2921
|
+
"nativeAllowList": "all";
|
|
2922
|
+
}];
|
|
2923
|
+
game_std: "error";
|
|
2924
|
+
package_roblox: ["error", {
|
|
2925
|
+
"nativeAllowList": "all";
|
|
2926
|
+
}];
|
|
2927
|
+
package_std: "error";
|
|
2928
|
+
};
|
|
2929
|
+
"react-perf/jsx-no-new-function-as-prop": {
|
|
2930
|
+
game_roblox: ["error", {
|
|
2931
|
+
"nativeAllowList": "all";
|
|
2932
|
+
}];
|
|
2933
|
+
game_std: "error";
|
|
2934
|
+
package_roblox: ["error", {
|
|
2935
|
+
"nativeAllowList": "all";
|
|
2936
|
+
}];
|
|
2937
|
+
package_std: "error";
|
|
2938
|
+
};
|
|
2939
|
+
"react-perf/jsx-no-new-object-as-prop": {
|
|
2940
|
+
game_roblox: ["error", {
|
|
2941
|
+
"nativeAllowList": "all";
|
|
2942
|
+
}];
|
|
2943
|
+
game_std: "error";
|
|
2944
|
+
package_roblox: ["error", {
|
|
2945
|
+
"nativeAllowList": "all";
|
|
2946
|
+
}];
|
|
2947
|
+
package_std: "error";
|
|
2948
|
+
};
|
|
2919
2949
|
"react-x/error-boundaries": {
|
|
2920
2950
|
"*": "error";
|
|
2921
2951
|
};
|
|
@@ -4250,102 +4280,102 @@ interface RuleOptions {
|
|
|
4250
4280
|
'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
|
|
4251
4281
|
/**
|
|
4252
4282
|
* Enforce arrow function return style based on line length
|
|
4253
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4283
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/arrow-return-style/documentation.md
|
|
4254
4284
|
*/
|
|
4255
4285
|
'flawless/arrow-return-style'?: Linter.RuleEntry<FlawlessArrowReturnStyle>;
|
|
4256
4286
|
/**
|
|
4257
4287
|
* Disallow shorthand boolean JSX attributes
|
|
4258
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4288
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/jsx-shorthand-boolean/documentation.md
|
|
4259
4289
|
*/
|
|
4260
4290
|
'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
4261
4291
|
/**
|
|
4262
4292
|
* Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
|
|
4263
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4293
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/jsx-shorthand-fragment/documentation.md
|
|
4264
4294
|
*/
|
|
4265
4295
|
'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
|
|
4266
4296
|
/**
|
|
4267
4297
|
* Enforce a maximum number of lines of code in a function
|
|
4268
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4298
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/max-lines-per-function/documentation.md
|
|
4269
4299
|
*/
|
|
4270
4300
|
'flawless/max-lines-per-function'?: Linter.RuleEntry<FlawlessMaxLinesPerFunction>;
|
|
4271
4301
|
/**
|
|
4272
4302
|
* Enforce naming conventions for everything across a codebase
|
|
4273
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4303
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/naming-convention/documentation.md
|
|
4274
4304
|
*/
|
|
4275
4305
|
'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
|
|
4276
4306
|
/**
|
|
4277
4307
|
* Disallow conditional logic in tests
|
|
4278
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4308
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-conditional-in-test/documentation.md
|
|
4279
4309
|
*/
|
|
4280
4310
|
'flawless/no-conditional-in-test'?: Linter.RuleEntry<FlawlessNoConditionalInTest>;
|
|
4281
4311
|
/**
|
|
4282
4312
|
* Disallow anonymous arrow functions as export default declarations
|
|
4283
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4313
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-export-default-arrow/documentation.md
|
|
4284
4314
|
*/
|
|
4285
4315
|
'flawless/no-export-default-arrow'?: Linter.RuleEntry<[]>;
|
|
4286
4316
|
/**
|
|
4287
4317
|
* Disallow tsconfig options that redundantly re-set a value already provided by an extended config
|
|
4288
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4318
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-redundant-tsconfig-options/documentation.md
|
|
4289
4319
|
*/
|
|
4290
4320
|
'flawless/no-redundant-tsconfig-options'?: Linter.RuleEntry<[]>;
|
|
4291
4321
|
/**
|
|
4292
4322
|
* Disallow unnecessary usage of 'useCallback'
|
|
4293
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4323
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-unnecessary-use-callback/documentation.md
|
|
4294
4324
|
*/
|
|
4295
4325
|
'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
4296
4326
|
/**
|
|
4297
4327
|
* Disallow unnecessary usage of 'useMemo'
|
|
4298
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4328
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/no-unnecessary-use-memo/documentation.md
|
|
4299
4329
|
*/
|
|
4300
4330
|
'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
4301
4331
|
/**
|
|
4302
4332
|
* Enforce a blank line after `expect.assertions` and `expect.hasAssertions`
|
|
4303
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4333
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/padding-after-expect-assertions/documentation.md
|
|
4304
4334
|
*/
|
|
4305
4335
|
'flawless/padding-after-expect-assertions'?: Linter.RuleEntry<[]>;
|
|
4306
4336
|
/**
|
|
4307
4337
|
* Enforce destructuring assignment for component props
|
|
4308
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4338
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-destructuring-assignment/documentation.md
|
|
4309
4339
|
*/
|
|
4310
4340
|
'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
4311
4341
|
/**
|
|
4312
4342
|
* Prefer having the last statement in a test be an assertion
|
|
4313
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4343
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-ending-with-an-expect/documentation.md
|
|
4314
4344
|
*/
|
|
4315
4345
|
'flawless/prefer-ending-with-an-expect'?: Linter.RuleEntry<FlawlessPreferEndingWithAnExpect>;
|
|
4316
4346
|
/**
|
|
4317
4347
|
* Prefer `expect.assertions(<count>)` over `expect.hasAssertions()`
|
|
4318
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4348
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-expect-assertions-count/documentation.md
|
|
4319
4349
|
*/
|
|
4320
4350
|
'flawless/prefer-expect-assertions-count'?: Linter.RuleEntry<[]>;
|
|
4321
4351
|
/**
|
|
4322
4352
|
* Enforce destructuring parameters in the function signature
|
|
4323
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4353
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-parameter-destructuring/documentation.md
|
|
4324
4354
|
*/
|
|
4325
4355
|
'flawless/prefer-parameter-destructuring'?: Linter.RuleEntry<FlawlessPreferParameterDestructuring>;
|
|
4326
4356
|
/**
|
|
4327
4357
|
* Enforce that function component props are read-only
|
|
4328
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4358
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/prefer-read-only-props/documentation.md
|
|
4329
4359
|
*/
|
|
4330
4360
|
'flawless/prefer-read-only-props'?: Linter.RuleEntry<FlawlessPreferReadOnlyProps>;
|
|
4331
4361
|
/**
|
|
4332
4362
|
* Disallow impure calls such as `math.random` or `os.clock` during render
|
|
4333
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4363
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/purity/documentation.md
|
|
4334
4364
|
*/
|
|
4335
4365
|
'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
|
|
4336
4366
|
/**
|
|
4337
4367
|
* Prefer named imports for React runtime values and the React namespace for React types
|
|
4338
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4368
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/react-namespace/documentation.md
|
|
4339
4369
|
*/
|
|
4340
4370
|
'flawless/react-namespace'?: Linter.RuleEntry<[]>;
|
|
4341
4371
|
/**
|
|
4342
4372
|
* Enforce a configured sort order for TOML keys and tables
|
|
4343
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4373
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/toml-sort-keys/documentation.md
|
|
4344
4374
|
*/
|
|
4345
4375
|
'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
|
|
4346
4376
|
/**
|
|
4347
4377
|
* Enforce blank lines around top-level YAML block collection keys
|
|
4348
|
-
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.
|
|
4378
|
+
* @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.2/src/rules/yaml-block-key-blank-lines/documentation.md
|
|
4349
4379
|
*/
|
|
4350
4380
|
'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
|
|
4351
4381
|
/**
|