summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/.eslintrc.yml
blob: 013d2ec3dd1159637662c2012808b717dd3b9435 (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
extends: 'eslint:recommended'

env:
  node: true
  mocha: true

rules:
  comma-style: error
  consistent-this:
    - error
    - _this
  indent:
    - error
    - 2
    - SwitchCase: 1
      VariableDeclarator: 2
  keyword-spacing: error
  no-console: off
  no-multi-spaces: error
  no-spaced-func: error
  no-trailing-spaces: error
  quotes:
    - error
    - single
  semi: error
  space-before-blocks: error
  space-before-function-paren:
    - error
    - never
  space-infix-ops: error
  space-unary-ops: error