File: .eslintrc

package info (click to toggle)
node-js-cookie 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 296 kB
  • sloc: makefile: 4
file content (34 lines) | stat: -rw-r--r-- 991 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
28
29
30
31
32
33
34
{
  "env": {
    "commonjs": true
  },
  "globals": {
    "Cookies": true
  },
  "rules": {
    "curly": "error",
    "eqeqeq": "error",
    "no-unused-expressions": "error",
    "new-cap": "error",
    "no-caller": "error",
    "no-irregular-whitespace": "error",
    "no-undef": "error",
    "no-unused-vars": "error",
    "comma-style": ["error", "last"],
    "eol-last": "error",
    "semi": ["error", "always"],
    "keyword-spacing": ["error", {}],
    "spaced-comment": ["error", "always", {"exceptions": ["!"]}],
    "space-before-blocks": ["error", "always"],
    "key-spacing": ["error", {"afterColon": true}],
    "indent-legacy": ["error", "tab", {"SwitchCase": 1}],
    "linebreak-style": ["error", "unix"],
    "quotes": ["error", "single"],
    "array-bracket-spacing": ["error", "never", {}],
    "space-in-parens": ["error", "never"],
    "no-trailing-spaces": "error",
    "no-array-constructor": "error",
    "no-new-object": "error",
    "no-new-wrappers": "error"
  }
}