File: .eslintrc.json

package info (click to toggle)
node-cosmiconfig 5.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 692 kB
  • sloc: makefile: 2
file content (27 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
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
{
  "parser": "babel-eslint",
  "parserOptions": {
    "sourceType": "script"
  },
  "extends": [
    "eslint-config-davidtheclark-node",
    "prettier"
  ],
  "plugins": [
    "flowtype"
  ],
  "rules": {
    "no-var": "off",
    "prefer-const": "off",
    "prefer-arrow-callback": "off",
    "node/no-unsupported-features": ["error", {"version": 4}],
    "func-names": ["error", "always"],
    "prefer-template": "error",
    "object-shorthand": [
        "error",
        "always",
        { "avoidExplicitReturnArrows": true }
    ],
    "flowtype/define-flow-type": "error"
  }
}