summaryrefslogtreecommitdiff
path: root/qutebrowser/javascript/.eslintrc.yaml
blob: fc56f9dd87912dbfb61080a336688d3543f8bee6 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
env:
    browser: true

parserOptions:
    ecmaVersion: 3

extends:
    "eslint:all"

rules:
     strict: ["error", "global"]
     one-var: "off"
     padded-blocks: ["error", "never"]
     space-before-function-paren: ["error", "never"]
     no-underscore-dangle: "off"
     no-var: "off"
     vars-on-top: "off"
     newline-after-var: "off"
     camelcase: "off"
     require-jsdoc: "off"
     func-style: ["error", "declaration"]
     newline-before-return: "off"
     init-declarations: "off"
     no-plusplus: "off"
     no-extra-parens: off
     id-length: ["error", {"exceptions": ["i", "k", "x", "y"]}]
     object-shorthand: "off"
     max-statements: ["error", {"max": 30}]
     quotes: ["error", "double", {"avoidEscape": true}]
     object-property-newline: ["error", {"allowMultiplePropertiesPerLine": true}]
     comma-dangle: ["error", "always-multiline"]
     no-magic-numbers: "off"
     no-undefined: "off"
     wrap-iife: ["error", "inside"]
     func-names: "off"
     sort-keys: "off"
     no-warning-comments: "off"
     max-len: ["error", {"ignoreUrls": true}]
     capitalized-comments: "off"
     prefer-destructuring: "off"
     line-comment-position: "off"
     no-inline-comments: "off"
     array-bracket-newline: "off"
     array-element-newline: "off"
     no-multi-spaces: ["error", {"ignoreEOLComments": true}]
     function-paren-newline: "off"