UNPKG

4.15 kBJavaScriptView Raw
1module.exports = {
2 'accessor-pairs': 2,
3 'array-bracket-spacing': 0,
4 'block-scoped-var': 0,
5 'brace-style': [2, '1tbs', { 'allowSingleLine': true }],
6 'camelcase': 0,
7 'comma-dangle': [2, 'never'],
8 'comma-spacing': [2, { 'before': false, 'after': true }],
9 'comma-style': [2, 'last'],
10 'complexity': 0,
11 'computed-property-spacing': 0,
12 'consistent-return': 0,
13 'consistent-this': 0,
14 'constructor-super': 2,
15 'curly': [2, 'multi-line'],
16 'default-case': 0,
17 'dot-location': [2, 'property'],
18 'dot-notation': 0,
19 'eol-last': 2,
20 'eqeqeq': [2, 'allow-null'],
21 'func-names': 0,
22 'func-style': 0,
23 'generator-star-spacing': [2, { 'before': true, 'after': false }],
24 'yield-star-spacing': [2, { 'before': true, 'after': false }],
25 'guard-for-in': 0,
26 'indent': [1, 2, { 'SwitchCase': 1 }],
27 'key-spacing': [2, { 'beforeColon': false, 'afterColon': true }],
28 'linebreak-style': 0,
29 'lines-around-comment': 0,
30 'max-nested-callbacks': 0,
31 'new-cap': [2, { 'newIsCap': true, 'capIsNew': false }],
32 'new-parens': 2,
33 'newline-after-var': 0,
34 'no-alert': 0,
35 'no-array-constructor': 2,
36 'no-caller': 2,
37 'no-catch-shadow': 0,
38 'no-cond-assign': 2,
39 'no-console': 0,
40 'no-constant-condition': 0,
41 'no-continue': 0,
42 'no-control-regex': 2,
43 'no-debugger': 2,
44 'no-delete-var': 2,
45 'no-div-regex': 0,
46 'no-dupe-args': 2,
47 'no-dupe-keys': 2,
48 'no-duplicate-case': 2,
49 'no-else-return': 0,
50 'no-empty': 0,
51 'no-empty-character-class': 2,
52 'no-eq-null': 0,
53 'no-eval': 2,
54 'no-ex-assign': 2,
55 'no-extend-native': 2,
56 'no-extra-bind': 2,
57 'no-extra-boolean-cast': 2,
58 'no-extra-parens': 0,
59 'no-extra-semi': 0,
60 'no-fallthrough': 2,
61 'no-floating-decimal': 2,
62 'no-func-assign': 2,
63 'no-implied-eval': 2,
64 'no-inline-comments': 0,
65 'no-inner-declarations': [2, 'functions'],
66 'no-invalid-regexp': 2,
67 'no-irregular-whitespace': 2,
68 'no-iterator': 2,
69 'no-label-var': 2,
70 'no-labels': 0,
71 'no-lone-blocks': 2,
72 'no-lonely-if': 0,
73 'no-loop-func': 0,
74 'no-mixed-requires': 0,
75 'no-mixed-spaces-and-tabs': 2,
76 'no-multi-spaces': 1,
77 'no-multi-str': 0,
78 'no-multiple-empty-lines': [1, { 'max': 1 }],
79 'no-native-reassign': 2,
80 'no-negated-in-lhs': 2,
81 'no-nested-ternary': 0,
82 'no-new': 2,
83 'no-new-func': 0,
84 'no-new-object': 2,
85 'no-new-require': 2,
86 'no-new-wrappers': 2,
87 'no-obj-calls': 2,
88 'no-octal': 2,
89 'no-octal-escape': 2,
90 'no-param-reassign': 0,
91 'no-path-concat': 0,
92 'no-process-env': 0,
93 'no-process-exit': 0,
94 'no-proto': 0,
95 'no-redeclare': 2,
96 'no-regex-spaces': 2,
97 'no-restricted-modules': 0,
98 'no-return-assign': 2,
99 'no-script-url': 0,
100 'no-self-compare': 0,
101 'no-sequences': 2,
102 'no-shadow': 0,
103 'no-shadow-restricted-names': 2,
104 'no-spaced-func': 2,
105 'no-sparse-arrays': 2,
106 'no-sync': 0,
107 'no-ternary': 0,
108 'no-this-before-super': 2,
109 'no-throw-literal': 2,
110 'no-trailing-spaces': 1,
111 'no-undef': 2,
112 'no-undef-init': 2,
113 'no-undefined': 0,
114 'no-underscore-dangle': 0,
115 'no-unexpected-multiline': 2,
116 'no-unneeded-ternary': 2,
117 'no-unreachable': 2,
118 'no-unused-expressions': 0,
119 'no-unused-vars': [1],
120 'no-use-before-define': 0,
121 'no-var': 0,
122 'no-void': 0,
123 'no-warning-comments': 0,
124 'no-with': 2,
125 'object-curly-spacing': 0,
126 'object-shorthand': 0,
127 'one-var': [2, { 'initialized': 'never' }],
128 'operator-assignment': 0,
129 'operator-linebreak': [2, 'after', { 'overrides': { '?': 'before', ':': 'before' } }],
130 'padded-blocks': 0,
131 'prefer-const': 0,
132 'quote-props': 0,
133 'quotes': [2, 'single', 'avoid-escape'],
134 'radix': 2,
135 'semi': [2, 'always'],
136 'semi-spacing': 0,
137 'sort-vars': 0,
138 'keyword-spacing': 2,
139 'space-before-blocks': [2, 'always'],
140 'space-before-function-paren': [2, 'never'],
141 'space-in-parens': [2, 'never'],
142 'space-infix-ops': 2,
143 'space-unary-ops': [2, { 'words': true, 'nonwords': false }],
144 'spaced-comment': [2, 'always', { 'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!'] }],
145 'strict': 0,
146 'use-isnan': 2,
147 'valid-jsdoc': 0,
148 'valid-typeof': 2,
149 'vars-on-top': 0,
150 'wrap-iife': [2, 'any'],
151 'wrap-regex': 0,
152 'yoda': [2, 'never']
153};