summaryrefslogtreecommitdiffstats
path: root/fastify-busboy/.eslintrc.js
blob: 4b904cd194fedb11a48f98c1a8728ae57522a85c (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
module.exports = {
  ignorePatterns: [
    'bench',
    'deps/encoding'
  ],
  extends: [
    'standard',
    'eslint:recommended',
    'plugin:n/recommended'
  ],
  rules: {
    'no-unused-vars': [1, { vars: 'all', args: 'none' }],
    'n/no-missing-require': 1,
    'no-constant-condition': 'off',
    'no-var': 'off',
    'no-redeclare': 1,
    'no-fallthrough': 1,
    'no-control-regex': 1,
    'no-empty': 'off',
    'prefer-const': 'off'
  },
  env: {
    node: true,
    mocha: true,
    es6: true
  }
}