This repository was archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
52 lines (51 loc) · 1.55 KB
/
index.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
const MAX_LINE_LENGTH = 140;
module.exports = {
extends: [
'tslint:recommended',
],
rules: {
'max-line-length': [true, MAX_LINE_LENGTH],
'no-invalid-this': true,
'object-literal-key-quotes': [true, 'as-needed'],
'one-line': false,
'quotemark': [true, 'single', 'jsx-double', 'avoid-template'],
'triple-equals': true,
'typedef': [
true,
'call-signature',
'parameter',
'property-declaration',
'member-variable-declaration',
],
'ordered-imports': false,
'object-literal-sort-keys': false,
'interface-name': false,
'member-access': true,
'ban-ts-ignore': true,
'no-inferrable-types': [true, 'ignore-params', 'ignore-properties'],
'no-shadowed-variable': true,
'prefer-object-spread': true,
'arrow-return-shorthand': true,
'member-ordering': [
true,
{
'order': [
'static-field',
'static-method',
'instance-field',
'constructor',
'instance-method',
],
},
],
'comment-format': false,
},
jsRules: {
'max-line-length': [true, MAX_LINE_LENGTH],
'no-invalid-this': true,
'object-literal-key-quotes': [true, 'as-needed'],
'one-line': false,
'quotemark': [true, 'single', 'jsx-double', 'avoid-template'],
'triple-equals': true,
},
};