This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +52
-50
lines changed
Expand file tree Collapse file tree 7 files changed +52
-50
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ *
3+ */
4+ export interface Env {
5+ es6 ?: boolean ;
6+ node ?: boolean ;
7+ }
Original file line number Diff line number Diff line change 1- import { EslintRules } from './rules/eslint' ;
2- import { RuleConfig } from './rules/rule-config' ;
3-
4- /**
5- *
6- */
7- export interface Env {
8- es6 ?: boolean ;
9- node ?: boolean ;
10- }
11-
12- /**
13- *
14- */
15- export interface ParserOptions {
16- sourceType ?: 'module' | '...' ;
17- ecmaVersion ?: 2020 ;
18- project ?: any ;
19- warnOnUnsupportedTypeScriptVersion ?: boolean ;
20- }
21-
22- /**
23- *
24- */
25- export type Rules = Partial < EslintRules > & Partial < Record < string , RuleConfig > > ;
26-
27- /**
28- *
29- */
30- export interface Override {
31- files : string [ ] ;
32- rules : Rules ;
33- }
34-
35- /**
36- *
37- */
38- export type Overrides = Array < Override > ;
39-
40- /**
41- *
42- */
43- export interface Settings {
44- jsdoc ?: {
45- mode : string ;
46- } ;
47- }
1+ import type { Env } from './env' ;
2+ import type { Overrides } from './overrides' ;
3+ import type { ParserOptions } from './parser-options' ;
4+ import type { Rules } from './rules' ;
5+ import type { Settings } from './settings' ;
486
497/**
508 *
Original file line number Diff line number Diff line change 1+ import type { Rules } from './rules' ;
2+
3+ /**
4+ *
5+ */
6+ export interface Override {
7+ files : string [ ] ;
8+ rules : Rules ;
9+ }
10+
11+ /**
12+ *
13+ */
14+ export type Overrides = Array < Override > ;
Original file line number Diff line number Diff line change 1+ /**
2+ *
3+ */
4+ export interface ParserOptions {
5+ sourceType ?: 'module' | '...' ;
6+ ecmaVersion ?: 2020 ;
7+ project ?: any ;
8+ warnOnUnsupportedTypeScriptVersion ?: boolean ;
9+ }
Original file line number Diff line number Diff line change 1- import { NoDebuggerRule } from './no-debugger' ;
2- import { QuotesRule } from './quotes' ;
3- import { SemiRule } from './semi' ;
1+ import type { NoDebuggerRule } from './no-debugger' ;
2+ import type { QuotesRule } from './quotes' ;
3+ import type { SemiRule } from './semi' ;
44
55/**
66 *
Original file line number Diff line number Diff line change 1+ import type { EslintRules } from './eslint' ;
2+ import type { RuleConfig } from './rule-config' ;
3+
4+ /**
5+ *
6+ */
7+ export type Rules = Partial < EslintRules > & Partial < Record < string , RuleConfig > > ;
Original file line number Diff line number Diff line change 1+ /**
2+ *
3+ */
4+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
5+ export interface Settings extends Partial < Record < string , unknown > > {
6+ //
7+ }
You can’t perform that action at this time.
0 commit comments