summaryrefslogtreecommitdiffstats
path: root/llhttp/.eslintrc.js
blob: 595cf53191f6a4ab29f5db4d5688dbc3e6c95f73 (plain)
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
module.exports = {
  'env': {
    'browser': false,
    'commonjs': true,
    'es6': true,
    'node': true
  },
  'extends': 'eslint:recommended',
  'rules': {
    'max-len': [ 2, {
      'code': 80,
      'ignoreComments': true
    } ],
    'indent': [
      'error',
      2
    ],
    'linebreak-style': [
      'error',
      'unix'
    ],
    'quotes': [
      'error',
      'single'
    ],
    'semi': [
      'error',
      'always'
    ]
  }
};