@ntnyq/eslint-config 4.0.0-beta.3 → 4.0.0-beta.4

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.ts CHANGED
@@ -10,7 +10,6 @@ import { Linter } from 'eslint';
10
10
  import { ConfigWithExtends } from 'typescript-eslint';
11
11
  export { configs as configsTypescript, plugin as pluginTypeScript } from 'typescript-eslint';
12
12
  import { RequiredOptions, BuiltInParserName } from 'prettier';
13
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
14
13
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
15
14
  export { eslintPluginRegexp as pluginRegexp };
16
15
  import * as eslintPluginDepend from 'eslint-plugin-depend';
@@ -7520,7 +7519,7 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
7520
7519
  // ----- @typescript-eslint/no-unnecessary-condition -----
7521
7520
  type TypescriptEslintNoUnnecessaryCondition = []|[{
7522
7521
 
7523
- allowConstantLoopConditions?: boolean
7522
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
7524
7523
 
7525
7524
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
7526
7525
 
@@ -14364,6 +14363,14 @@ interface ConfigRegexpOptions extends OptionsOverrides {
14364
14363
  severity?: ESLintRuleSeverity;
14365
14364
  }
14366
14365
  interface ConfigSortOptions {
14366
+ /**
14367
+ * JSON files to sort all properties alphabeta
14368
+ */
14369
+ additionalJsonFiles?: string[];
14370
+ /**
14371
+ * YAML files to sort all properties alphabeta
14372
+ */
14373
+ additionalYamlFiles?: string[];
14367
14374
  /**
14368
14375
  * @default true
14369
14376
  */
@@ -14625,12 +14632,24 @@ declare function mergePrettierOptions(options?: PrettierOptions, overrides?: Pre
14625
14632
 
14626
14633
  declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
14627
14634
 
14635
+ /**
14636
+ * @file ESLint parsers
14637
+ */
14638
+
14628
14639
  /**
14629
14640
  * With meta
14630
14641
  */
14631
14642
  declare const parserTypeScript: {
14632
- meta?: { [K in keyof _typescript_eslint_utils_ts_eslint.Parser.ParserMeta]?: _typescript_eslint_utils_ts_eslint.Parser.ParserMeta[K] | undefined; };
14633
- parseForESLint(text: string, options?: unknown): { [k in keyof _typescript_eslint_utils_ts_eslint.Parser.ParseResult]: unknown; };
14643
+ meta?: {
14644
+ name?: string | undefined;
14645
+ version?: string | undefined;
14646
+ };
14647
+ parseForESLint(text: string, options?: unknown): {
14648
+ ast: unknown;
14649
+ scopeManager?: unknown;
14650
+ services?: unknown;
14651
+ visitorKeys?: unknown;
14652
+ };
14634
14653
  };
14635
14654
 
14636
14655
  /**