This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.proto
73 lines (67 loc) · 1.71 KB
/
schema.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
syntax = "proto3";
message EcmaFeatures {
bool jsx = 1;
}
message Environment {
bool browser = 1;
bool node = 2;
bool es6 = 3;
}
message JSDocOptions {
bool requireReturn = 1;
}
message JSDocRule {
oneof kind {
uint32 numeric = 1;
JSDocOptions options = 2;
}
}
message Rules {
uint32 eqeqeq = 1;
uint32 commaDangle = 2;
uint32 noConsole = 3;
uint32 noDebugger = 4;
uint32 noExtraSemi = 5;
uint32 noExtraParens = 6;
uint32 noIrregularWhitespace = 7;
uint32 noUndef = 8;
uint32 noUnusedVars = 9;
uint32 semi = 10;
uint32 semiSpacing = 11;
repeated JSDocRule validJsdoc = 12;
uint32 reactDisplayName = 13;
uint32 reactForbidPropTypes = 14;
uint32 reactJsxBooleanValue = 15;
uint32 reactJsxClosingBracketLocation = 16;
uint32 reactJsxCurlySpacing = 17;
uint32 reactJsxIndentProps = 18;
uint32 reactJsxMaxPropsPerLine = 19;
uint32 reactJsxNoDuplicateProps = 20;
uint32 reactJsxNoLiterals = 21;
uint32 reactJsxNoUndef = 22;
uint32 reactJsxSortPropTypes = 23;
uint32 reactJsxSortProps = 24;
uint32 reactJsxUsesReact = 25;
uint32 reactJsxUsesVars = 26;
uint32 reactNoDanger = 27;
uint32 reactNoDidMountSetState = 28;
uint32 reactNoDidUpdateSetState = 29;
uint32 reactNoDirectMutationState = 30;
uint32 reactNoMultiComp = 31;
uint32 reactNoSetState = 32;
uint32 reactNoUnknownProperty = 33;
uint32 reactPropTypes = 34;
uint32 reactReactInJsxScope = 35;
uint32 reactRequireExtension = 36;
uint32 reactSelfClosingComp = 37;
uint32 reactSortComp = 38;
uint32 reactWrapMultilines = 39;
}
message Main {
string extension = 1;
string parser = 2;
EcmaFeatures ecmaFeatures = 3;
repeated string plugins = 4;
Environment env = 5;
Rules rules = 6;
}