-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsort-class-members.test.js
68 lines (42 loc) · 1.2 KB
/
sort-class-members.test.js
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
/* eslint-disable
functional/no-classes,
no-empty-function,
no-useless-constructor,
@typescript-eslint/naming-convention,
no-underscore-dangle,
getter-return,
accessor-pairs,
no-undef,
sonar/no-accessor-field-mismatch,
*/
// eslint-disable-next-line import/no-unused-modules
export default class Example {
static staticProperty;
static staticArrowFunctionProperty = () => {};
static get staticAccessorPair() {}
static set staticAccessorPair(value) {}
static get staticGetter() {}
static set staticSetter(value) {}
static staticMethod() {}
static async staticAsyncMethod() {}
@decorator decoratedProperty = "bar";
property = "bar";
arrowFunctionProperty = () => {};
constructor() {}
get accessorPair() {}
set accessorPair(value) {}
get getter() {}
set setter(value) {}
@decorator
decoratedMethod() {}
method() {}
@decorator
async decoratedAsyncMethod() {}
async asyncMethod() {}
static _staticConventionalPrivateProperty;
static _staticConventionalPrivateMethod() {}
static async _staticAsyncConventionalPrivateMethod() {}
_conventionalPrivateProperty;
_conventionalPrivateMethod() {}
async _asyncConventionalPrivateMethod() {}
}