@isentinel/eslint-config 6.0.0-beta.21 → 6.0.0-beta.22

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.d.mts CHANGED
@@ -5172,9 +5172,24 @@ interface TestRuleDefaults {
5172
5172
  "skipComments": true;
5173
5173
  }];
5174
5174
  };
5175
+ "flawless/no-conditional-in-test": {
5176
+ "*": ["error", {
5177
+ "additionalTestBlockFunctions": [];
5178
+ "allowOptionalChaining": false;
5179
+ }];
5180
+ };
5175
5181
  "flawless/padding-after-expect-assertions": {
5176
5182
  "*": "warn";
5177
5183
  };
5184
+ "flawless/prefer-ending-with-an-expect": {
5185
+ "*": ["warn", {
5186
+ "additionalTestBlockFunctions": [];
5187
+ "assertFunctionNames": ["expect", "expectTypeOf", "assertType"];
5188
+ }];
5189
+ };
5190
+ "flawless/prefer-expect-assertions-count": {
5191
+ "*": "warn";
5192
+ };
5178
5193
  "jest/consistent-test-it": {
5179
5194
  "*": "error";
5180
5195
  };
@@ -5462,9 +5477,6 @@ interface TestRuleDefaults {
5462
5477
  "expectAssertions": false;
5463
5478
  }];
5464
5479
  };
5465
- "vitest/no-conditional-in-test": {
5466
- "*": "error";
5467
- };
5468
5480
  "vitest/no-conditional-tests": {
5469
5481
  "*": "error";
5470
5482
  };
@@ -7017,87 +7029,102 @@ interface RuleOptions {
7017
7029
  'eslint-plugin/unique-test-case-names'?: Linter.RuleEntry<[]>;
7018
7030
  /**
7019
7031
  * Enforce arrow function return style based on line length
7020
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/arrow-return-style/documentation.md
7032
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/arrow-return-style/documentation.md
7021
7033
  */
7022
7034
  'flawless/arrow-return-style'?: Linter.RuleEntry<FlawlessArrowReturnStyle>;
7023
7035
  /**
7024
7036
  * Disallow shorthand boolean JSX attributes
7025
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-boolean/documentation.md
7037
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/jsx-shorthand-boolean/documentation.md
7026
7038
  */
7027
7039
  'flawless/jsx-shorthand-boolean'?: Linter.RuleEntry<[]>;
7028
7040
  /**
7029
7041
  * Enforce a consistent fragment form: the shorthand `<>...</>` or a named fragment
7030
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/jsx-shorthand-fragment/documentation.md
7042
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/jsx-shorthand-fragment/documentation.md
7031
7043
  */
7032
7044
  'flawless/jsx-shorthand-fragment'?: Linter.RuleEntry<FlawlessJsxShorthandFragment>;
7033
7045
  /**
7034
7046
  * Enforce a maximum number of lines of code in a function
7035
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/max-lines-per-function/documentation.md
7047
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/max-lines-per-function/documentation.md
7036
7048
  */
7037
7049
  'flawless/max-lines-per-function'?: Linter.RuleEntry<FlawlessMaxLinesPerFunction>;
7038
7050
  /**
7039
7051
  * Enforce naming conventions for everything across a codebase
7040
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/naming-convention/documentation.md
7052
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/naming-convention/documentation.md
7041
7053
  */
7042
7054
  'flawless/naming-convention'?: Linter.RuleEntry<FlawlessNamingConvention>;
7055
+ /**
7056
+ * Disallow conditional logic in tests
7057
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/no-conditional-in-test/documentation.md
7058
+ */
7059
+ 'flawless/no-conditional-in-test'?: Linter.RuleEntry<FlawlessNoConditionalInTest>;
7043
7060
  /**
7044
7061
  * Disallow anonymous arrow functions as export default declarations
7045
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-export-default-arrow/documentation.md
7062
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/no-export-default-arrow/documentation.md
7046
7063
  */
7047
7064
  'flawless/no-export-default-arrow'?: Linter.RuleEntry<[]>;
7048
7065
  /**
7049
7066
  * 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.1/src/rules/no-redundant-tsconfig-options/documentation.md
7067
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/no-redundant-tsconfig-options/documentation.md
7051
7068
  */
7052
7069
  'flawless/no-redundant-tsconfig-options'?: Linter.RuleEntry<[]>;
7053
7070
  /**
7054
7071
  * Disallow unnecessary usage of 'useCallback'
7055
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-callback/documentation.md
7072
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/no-unnecessary-use-callback/documentation.md
7056
7073
  */
7057
7074
  'flawless/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
7058
7075
  /**
7059
7076
  * Disallow unnecessary usage of 'useMemo'
7060
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/no-unnecessary-use-memo/documentation.md
7077
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/no-unnecessary-use-memo/documentation.md
7061
7078
  */
7062
7079
  'flawless/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
7063
7080
  /**
7064
7081
  * Enforce a blank line after `expect.assertions` and `expect.hasAssertions`
7065
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/padding-after-expect-assertions/documentation.md
7082
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/padding-after-expect-assertions/documentation.md
7066
7083
  */
7067
7084
  'flawless/padding-after-expect-assertions'?: Linter.RuleEntry<[]>;
7068
7085
  /**
7069
7086
  * Enforce destructuring assignment for component props
7070
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-destructuring-assignment/documentation.md
7087
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/prefer-destructuring-assignment/documentation.md
7071
7088
  */
7072
7089
  'flawless/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
7090
+ /**
7091
+ * Prefer having the last statement in a test be an assertion
7092
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/prefer-ending-with-an-expect/documentation.md
7093
+ */
7094
+ 'flawless/prefer-ending-with-an-expect'?: Linter.RuleEntry<FlawlessPreferEndingWithAnExpect>;
7095
+ /**
7096
+ * Prefer `expect.assertions(<count>)` over `expect.hasAssertions()`
7097
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/prefer-expect-assertions-count/documentation.md
7098
+ */
7099
+ 'flawless/prefer-expect-assertions-count'?: Linter.RuleEntry<[]>;
7073
7100
  /**
7074
7101
  * Enforce destructuring parameters in the function signature
7075
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-parameter-destructuring/documentation.md
7102
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/prefer-parameter-destructuring/documentation.md
7076
7103
  */
7077
7104
  'flawless/prefer-parameter-destructuring'?: Linter.RuleEntry<FlawlessPreferParameterDestructuring>;
7078
7105
  /**
7079
7106
  * Enforce that function component props are read-only
7080
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/prefer-read-only-props/documentation.md
7107
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/prefer-read-only-props/documentation.md
7081
7108
  */
7082
7109
  'flawless/prefer-read-only-props'?: Linter.RuleEntry<FlawlessPreferReadOnlyProps>;
7083
7110
  /**
7084
7111
  * 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.1/src/rules/purity/documentation.md
7112
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/purity/documentation.md
7086
7113
  */
7087
7114
  'flawless/purity'?: Linter.RuleEntry<FlawlessPurity>;
7088
7115
  /**
7089
7116
  * 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.1/src/rules/react-namespace/documentation.md
7117
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/react-namespace/documentation.md
7091
7118
  */
7092
7119
  'flawless/react-namespace'?: Linter.RuleEntry<[]>;
7093
7120
  /**
7094
7121
  * Enforce a configured sort order for TOML keys and tables
7095
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/toml-sort-keys/documentation.md
7122
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/toml-sort-keys/documentation.md
7096
7123
  */
7097
7124
  'flawless/toml-sort-keys'?: Linter.RuleEntry<FlawlessTomlSortKeys>;
7098
7125
  /**
7099
7126
  * Enforce blank lines around top-level YAML block collection keys
7100
- * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.2.1/src/rules/yaml-block-key-blank-lines/documentation.md
7127
+ * @see https://github.com/christopher-buss/eslint-plugin-flawless/blob/v1.4.0/src/rules/yaml-block-key-blank-lines/documentation.md
7101
7128
  */
7102
7129
  'flawless/yaml-block-key-blank-lines'?: Linter.RuleEntry<[]>;
7103
7130
  /**
@@ -7266,357 +7293,357 @@ interface RuleOptions {
7266
7293
  'init-declarations'?: Linter.RuleEntry<InitDeclarations>;
7267
7294
  /**
7268
7295
  * Enforce `test` and `it` usage conventions
7269
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/consistent-test-it.md
7296
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/consistent-test-it.md
7270
7297
  */
7271
7298
  'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>;
7272
7299
  /**
7273
7300
  * Enforce assertion to be made in a test body
7274
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/expect-expect.md
7301
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/expect-expect.md
7275
7302
  */
7276
7303
  'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>;
7277
7304
  /**
7278
7305
  * Enforces a maximum number assertion calls in a test body
7279
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/max-expects.md
7306
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/max-expects.md
7280
7307
  */
7281
7308
  'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>;
7282
7309
  /**
7283
7310
  * Enforces a maximum depth to nested describe calls
7284
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/max-nested-describe.md
7311
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/max-nested-describe.md
7285
7312
  */
7286
7313
  'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>;
7287
7314
  /**
7288
7315
  * Disallow alias methods
7289
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-alias-methods.md
7316
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-alias-methods.md
7290
7317
  */
7291
7318
  'jest/no-alias-methods'?: Linter.RuleEntry<[]>;
7292
7319
  /**
7293
7320
  * Disallow commented out tests
7294
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-commented-out-tests.md
7321
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-commented-out-tests.md
7295
7322
  */
7296
7323
  'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>;
7297
7324
  /**
7298
7325
  * Disallow calling `expect` conditionally
7299
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-conditional-expect.md
7326
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-conditional-expect.md
7300
7327
  */
7301
7328
  'jest/no-conditional-expect'?: Linter.RuleEntry<[]>;
7302
7329
  /**
7303
7330
  * Disallow conditional logic in tests
7304
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-conditional-in-test.md
7331
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-conditional-in-test.md
7305
7332
  */
7306
7333
  'jest/no-conditional-in-test'?: Linter.RuleEntry<JestNoConditionalInTest>;
7307
7334
  /**
7308
7335
  * Disallow confusing usages of jest.setTimeout
7309
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-confusing-set-timeout.md
7336
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-confusing-set-timeout.md
7310
7337
  */
7311
7338
  'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>;
7312
7339
  /**
7313
7340
  * Disallow use of deprecated functions
7314
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-deprecated-functions.md
7341
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-deprecated-functions.md
7315
7342
  */
7316
7343
  'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>;
7317
7344
  /**
7318
7345
  * Disallow disabled tests
7319
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-disabled-tests.md
7346
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-disabled-tests.md
7320
7347
  */
7321
7348
  'jest/no-disabled-tests'?: Linter.RuleEntry<[]>;
7322
7349
  /**
7323
7350
  * Disallow using a callback in asynchronous tests and hooks
7324
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-done-callback.md
7351
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-done-callback.md
7325
7352
  */
7326
7353
  'jest/no-done-callback'?: Linter.RuleEntry<[]>;
7327
7354
  /**
7328
7355
  * Disallow duplicate setup and teardown hooks
7329
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-duplicate-hooks.md
7356
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-duplicate-hooks.md
7330
7357
  */
7331
7358
  'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>;
7332
7359
  /**
7333
7360
  * Disallow using equality matchers on error types
7334
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-error-equal.md
7361
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-error-equal.md
7335
7362
  */
7336
7363
  'jest/no-error-equal'?: Linter.RuleEntry<[]>;
7337
7364
  /**
7338
7365
  * Disallow using `exports` in files containing tests
7339
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-export.md
7366
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-export.md
7340
7367
  */
7341
7368
  'jest/no-export'?: Linter.RuleEntry<[]>;
7342
7369
  /**
7343
7370
  * Disallow focused tests
7344
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-focused-tests.md
7371
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-focused-tests.md
7345
7372
  */
7346
7373
  'jest/no-focused-tests'?: Linter.RuleEntry<[]>;
7347
7374
  /**
7348
7375
  * Disallow setup and teardown hooks
7349
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-hooks.md
7376
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-hooks.md
7350
7377
  */
7351
7378
  'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>;
7352
7379
  /**
7353
7380
  * Disallow identical titles
7354
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-identical-title.md
7381
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-identical-title.md
7355
7382
  */
7356
7383
  'jest/no-identical-title'?: Linter.RuleEntry<[]>;
7357
7384
  /**
7358
7385
  * Disallow string interpolation inside snapshots
7359
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-interpolation-in-snapshots.md
7386
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-interpolation-in-snapshots.md
7360
7387
  */
7361
7388
  'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>;
7362
7389
  /**
7363
7390
  * Disallow Jasmine globals
7364
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-jasmine-globals.md
7391
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-jasmine-globals.md
7365
7392
  */
7366
7393
  'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>;
7367
7394
  /**
7368
7395
  * Disallow large snapshots
7369
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-large-snapshots.md
7396
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-large-snapshots.md
7370
7397
  */
7371
7398
  'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>;
7372
7399
  /**
7373
7400
  * Disallow manually importing from `__mocks__`
7374
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-mocks-import.md
7401
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-mocks-import.md
7375
7402
  */
7376
7403
  'jest/no-mocks-import'?: Linter.RuleEntry<[]>;
7377
7404
  /**
7378
7405
  * Disallow specific `jest.` methods
7379
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-restricted-jest-methods.md
7406
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-restricted-jest-methods.md
7380
7407
  */
7381
7408
  'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>;
7382
7409
  /**
7383
7410
  * Disallow specific matchers & modifiers
7384
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-restricted-matchers.md
7411
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-restricted-matchers.md
7385
7412
  */
7386
7413
  'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>;
7387
7414
  /**
7388
7415
  * Disallow using `expect` outside of `it` or `test` blocks
7389
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-standalone-expect.md
7416
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-standalone-expect.md
7390
7417
  */
7391
7418
  'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>;
7392
7419
  /**
7393
7420
  * Require using `.only` and `.skip` over `f` and `x`
7394
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-test-prefixes.md
7421
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-test-prefixes.md
7395
7422
  */
7396
7423
  'jest/no-test-prefixes'?: Linter.RuleEntry<[]>;
7397
7424
  /**
7398
7425
  * Disallow explicitly returning from tests
7399
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-test-return-statement.md
7426
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-test-return-statement.md
7400
7427
  */
7401
7428
  'jest/no-test-return-statement'?: Linter.RuleEntry<[]>;
7402
7429
  /**
7403
7430
  * Disallow unnecessary assertions based on types
7404
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-unnecessary-assertion.md
7431
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-unnecessary-assertion.md
7405
7432
  */
7406
7433
  'jest/no-unnecessary-assertion'?: Linter.RuleEntry<[]>;
7407
7434
  /**
7408
7435
  * Disallow unnecessary async function wrapper for expected promises
7409
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-unneeded-async-expect-function.md
7436
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-unneeded-async-expect-function.md
7410
7437
  */
7411
7438
  'jest/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>;
7412
7439
  /**
7413
7440
  * Disallow using `jest.mock()` factories without an explicit type parameter
7414
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/no-untyped-mock-factory.md
7441
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/no-untyped-mock-factory.md
7415
7442
  */
7416
7443
  'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>;
7417
7444
  /**
7418
7445
  * Enforce padding around `afterAll` blocks
7419
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-after-all-blocks.md
7446
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-after-all-blocks.md
7420
7447
  */
7421
7448
  'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>;
7422
7449
  /**
7423
7450
  * Enforce padding around `afterEach` blocks
7424
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-after-each-blocks.md
7451
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-after-each-blocks.md
7425
7452
  */
7426
7453
  'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>;
7427
7454
  /**
7428
7455
  * Enforce padding around Jest functions
7429
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-all.md
7456
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-all.md
7430
7457
  */
7431
7458
  'jest/padding-around-all'?: Linter.RuleEntry<[]>;
7432
7459
  /**
7433
7460
  * Enforce padding around `beforeAll` blocks
7434
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-before-all-blocks.md
7461
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-before-all-blocks.md
7435
7462
  */
7436
7463
  'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>;
7437
7464
  /**
7438
7465
  * Enforce padding around `beforeEach` blocks
7439
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-before-each-blocks.md
7466
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-before-each-blocks.md
7440
7467
  */
7441
7468
  'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>;
7442
7469
  /**
7443
7470
  * Enforce padding around `describe` blocks
7444
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-describe-blocks.md
7471
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-describe-blocks.md
7445
7472
  */
7446
7473
  'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>;
7447
7474
  /**
7448
7475
  * Enforce padding around `expect` groups
7449
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-expect-groups.md
7476
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-expect-groups.md
7450
7477
  */
7451
7478
  'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>;
7452
7479
  /**
7453
7480
  * Enforce padding around `test` and `it` blocks
7454
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/padding-around-test-blocks.md
7481
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/padding-around-test-blocks.md
7455
7482
  */
7456
7483
  'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
7457
7484
  /**
7458
7485
  * Suggest using `toHaveBeenCalledWith()`
7459
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-called-with.md
7486
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-called-with.md
7460
7487
  */
7461
7488
  'jest/prefer-called-with'?: Linter.RuleEntry<[]>;
7462
7489
  /**
7463
7490
  * Suggest using the built-in comparison matchers
7464
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-comparison-matcher.md
7491
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-comparison-matcher.md
7465
7492
  */
7466
7493
  'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
7467
7494
  /**
7468
7495
  * Prefer using `.each` rather than manual loops
7469
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-each.md
7496
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-each.md
7470
7497
  */
7471
7498
  'jest/prefer-each'?: Linter.RuleEntry<[]>;
7472
7499
  /**
7473
7500
  * Prefer having the last statement in a test be an assertion
7474
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-ending-with-an-expect.md
7501
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-ending-with-an-expect.md
7475
7502
  */
7476
7503
  'jest/prefer-ending-with-an-expect'?: Linter.RuleEntry<JestPreferEndingWithAnExpect>;
7477
7504
  /**
7478
7505
  * Suggest using the built-in equality matchers
7479
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-equality-matcher.md
7506
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-equality-matcher.md
7480
7507
  */
7481
7508
  'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
7482
7509
  /**
7483
7510
  * Suggest using `expect.assertions()` OR `expect.hasAssertions()`
7484
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-expect-assertions.md
7511
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-expect-assertions.md
7485
7512
  */
7486
7513
  'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>;
7487
7514
  /**
7488
7515
  * Prefer `await expect(...).resolves` over `expect(await ...)` syntax
7489
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-expect-resolves.md
7516
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-expect-resolves.md
7490
7517
  */
7491
7518
  'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
7492
7519
  /**
7493
7520
  * Prefer having hooks in a consistent order
7494
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-hooks-in-order.md
7521
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-hooks-in-order.md
7495
7522
  */
7496
7523
  'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>;
7497
7524
  /**
7498
7525
  * Suggest having hooks before any test cases
7499
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-hooks-on-top.md
7526
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-hooks-on-top.md
7500
7527
  */
7501
7528
  'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
7502
7529
  /**
7503
7530
  * Prefer importing Jest globals
7504
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-importing-jest-globals.md
7531
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-importing-jest-globals.md
7505
7532
  */
7506
7533
  'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>;
7507
7534
  /**
7508
7535
  * Prefer `jest.mocked()` over `fn as jest.Mock`
7509
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-jest-mocked.md
7536
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-jest-mocked.md
7510
7537
  */
7511
7538
  'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>;
7512
7539
  /**
7513
7540
  * Enforce lowercase test names
7514
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-lowercase-title.md
7541
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-lowercase-title.md
7515
7542
  */
7516
7543
  'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>;
7517
7544
  /**
7518
7545
  * Prefer mock resolved/rejected shorthands for promises
7519
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-mock-promise-shorthand.md
7546
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-mock-promise-shorthand.md
7520
7547
  */
7521
7548
  'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
7522
7549
  /**
7523
7550
  * Prefer mock return shorthands
7524
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-mock-return-shorthand.md
7551
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-mock-return-shorthand.md
7525
7552
  */
7526
7553
  'jest/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
7527
7554
  /**
7528
7555
  * Prefer including a hint with external snapshots
7529
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-snapshot-hint.md
7556
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-snapshot-hint.md
7530
7557
  */
7531
7558
  'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>;
7532
7559
  /**
7533
7560
  * Suggest using `jest.spyOn()`
7534
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-spy-on.md
7561
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-spy-on.md
7535
7562
  */
7536
7563
  'jest/prefer-spy-on'?: Linter.RuleEntry<[]>;
7537
7564
  /**
7538
7565
  * Suggest using `toStrictEqual()`
7539
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-strict-equal.md
7566
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-strict-equal.md
7540
7567
  */
7541
7568
  'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>;
7542
7569
  /**
7543
7570
  * Suggest using `toBe()` for primitive literals
7544
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-to-be.md
7571
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-to-be.md
7545
7572
  */
7546
7573
  'jest/prefer-to-be'?: Linter.RuleEntry<[]>;
7547
7574
  /**
7548
7575
  * Suggest using `toContain()`
7549
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-to-contain.md
7576
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-to-contain.md
7550
7577
  */
7551
7578
  'jest/prefer-to-contain'?: Linter.RuleEntry<[]>;
7552
7579
  /**
7553
7580
  * Suggest using `toHaveBeenCalled`
7554
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-to-have-been-called.md
7581
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-to-have-been-called.md
7555
7582
  */
7556
7583
  'jest/prefer-to-have-been-called'?: Linter.RuleEntry<[]>;
7557
7584
  /**
7558
7585
  * Suggest using `toHaveBeenCalledTimes()`
7559
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-to-have-been-called-times.md
7586
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-to-have-been-called-times.md
7560
7587
  */
7561
7588
  'jest/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
7562
7589
  /**
7563
7590
  * Suggest using `toHaveLength()`
7564
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-to-have-length.md
7591
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-to-have-length.md
7565
7592
  */
7566
7593
  'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>;
7567
7594
  /**
7568
7595
  * Suggest using `test.todo`
7569
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/prefer-todo.md
7596
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/prefer-todo.md
7570
7597
  */
7571
7598
  'jest/prefer-todo'?: Linter.RuleEntry<[]>;
7572
7599
  /**
7573
7600
  * Require setup and teardown code to be within a hook
7574
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/require-hook.md
7601
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/require-hook.md
7575
7602
  */
7576
7603
  'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>;
7577
7604
  /**
7578
7605
  * Require a message for `toThrow()`
7579
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/require-to-throw-message.md
7606
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/require-to-throw-message.md
7580
7607
  */
7581
7608
  'jest/require-to-throw-message'?: Linter.RuleEntry<[]>;
7582
7609
  /**
7583
7610
  * Require test cases and hooks to be inside a `describe` block
7584
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/require-top-level-describe.md
7611
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/require-top-level-describe.md
7585
7612
  */
7586
7613
  'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>;
7587
7614
  /**
7588
7615
  * Enforce unbound methods are called with their expected scope
7589
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/unbound-method.md
7616
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/unbound-method.md
7590
7617
  */
7591
7618
  'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>;
7592
7619
  /**
7593
7620
  * Enforce valid `describe()` callback
7594
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-describe-callback.md
7621
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-describe-callback.md
7595
7622
  */
7596
7623
  'jest/valid-describe-callback'?: Linter.RuleEntry<[]>;
7597
7624
  /**
7598
7625
  * Enforce valid `expect()` usage
7599
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-expect.md
7626
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-expect.md
7600
7627
  */
7601
7628
  'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>;
7602
7629
  /**
7603
7630
  * Require promises that have expectations in their chain to be valid
7604
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-expect-in-promise.md
7631
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-expect-in-promise.md
7605
7632
  */
7606
7633
  'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
7607
7634
  /**
7608
7635
  * Require that `resolve` and `reject` modifiers are present (and only) for promise-like types
7609
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-expect-with-promise.md
7636
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-expect-with-promise.md
7610
7637
  */
7611
7638
  'jest/valid-expect-with-promise'?: Linter.RuleEntry<[]>;
7612
7639
  /**
7613
7640
  * Disallow mocking of non-existing module paths
7614
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-mock-module-path.md
7641
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-mock-module-path.md
7615
7642
  */
7616
7643
  'jest/valid-mock-module-path'?: Linter.RuleEntry<JestValidMockModulePath>;
7617
7644
  /**
7618
7645
  * Enforce valid titles
7619
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.4/docs/rules/valid-title.md
7646
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v29.15.5/docs/rules/valid-title.md
7620
7647
  */
7621
7648
  'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>;
7622
7649
  /**
@@ -10171,6 +10198,11 @@ interface RuleOptions {
10171
10198
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
10172
10199
  */
10173
10200
  'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
10201
+ /**
10202
+ * Disallow the anonymous `catalog:` in `pnpm-workspace.yaml` in favor of named catalogs
10203
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-anonymous-catalog.test.ts
10204
+ */
10205
+ 'pnpm/yaml-no-anonymous-catalog'?: Linter.RuleEntry<[]>;
10174
10206
  /**
10175
10207
  * Disallow duplicate catalog items in `pnpm-workspace.yaml`
10176
10208
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
@@ -13627,6 +13659,7 @@ interface RuleOptions {
13627
13659
  /**
13628
13660
  * Disallow specified modules when loaded by `import`
13629
13661
  * @see https://typescript-eslint.io/rules/no-restricted-imports
13662
+ * @deprecated
13630
13663
  */
13631
13664
  'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>;
13632
13665
  /**
@@ -17018,6 +17051,16 @@ interface _FlawlessNamingConvention_MatchRegexConfig {
17018
17051
  match: boolean;
17019
17052
  regex: string;
17020
17053
  }
17054
+ // ----- flawless/no-conditional-in-test -----
17055
+ type FlawlessNoConditionalInTest = [] | [{
17056
+ additionalTestBlockFunctions?: string[];
17057
+ allowOptionalChaining?: boolean;
17058
+ }];
17059
+ // ----- flawless/prefer-ending-with-an-expect -----
17060
+ type FlawlessPreferEndingWithAnExpect = [] | [{
17061
+ additionalTestBlockFunctions?: string[];
17062
+ assertFunctionNames?: string[];
17063
+ }];
17021
17064
  // ----- flawless/prefer-parameter-destructuring -----
17022
17065
  type FlawlessPreferParameterDestructuring = [] | [{
17023
17066
  allowSideEffectReordering?: boolean;
@@ -17555,6 +17598,7 @@ type JsdocNoUndefinedTypes = [] | [{
17555
17598
  type JsdocNormalizeSeeLinks = [] | [{
17556
17599
  canonicalForm?: ("pipe" | "prefix");
17557
17600
  enableFixer?: boolean;
17601
+ wrapBareUrls?: boolean;
17558
17602
  }];
17559
17603
  // ----- jsdoc/prefer-import-tag -----
17560
17604
  type JsdocPreferImportTag = [] | [{