File: .eslintrc

package info (click to toggle)
node-rollup-plugin-replace 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 376 kB
  • sloc: makefile: 6; sh: 2
file content (43 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download | duplicates (4)
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
32
33
34
35
36
37
38
39
40
41
42
43
{
  "root": true,
  "rules": {
    "indent": [ 2, "tab", { "SwitchCase": 1 } ],
    "semi": [ 2, "always" ],
    "keyword-spacing": [ 2, { "before": true, "after": true } ],
    "space-before-blocks": [ 2, "always" ],
    "no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
    "no-cond-assign": 0,
    "no-unused-vars": 2,
    "object-shorthand":  [ 2, "always" ],
    "no-const-assign": 2,
    "no-class-assign": 2,
    "no-this-before-super": 2,
    "no-var": 2,
    "no-unreachable": 2,
    "valid-typeof": 2,
    "quote-props": [ 2, "as-needed" ],
    "one-var": [ 2, "never" ],
    "prefer-arrow-callback": 2,
    "prefer-const": [ 2, { "destructuring": "all" } ],
    "arrow-spacing": 2
  },
  "env": {
    "es6": true,
    "browser": true,
    "node": true
  },
  "extends": [
    "eslint:recommended",
    "plugin:import/errors",
    "plugin:import/warnings"
  ],
  "parserOptions": {
    "ecmaVersion": 8,
    "sourceType": "module"
  },
  "settings": {
    "import/ignore": [ 0, [
      "\\.path.js$"
    ] ]
  }
}