aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.yml
blob: e8ee5b7cb71b170840596d7eace86b302e5fab55 (plain) (blame)
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
env:
    browser: true
    node: true
    commonjs: true
    es6: true
extends: 'eslint:recommended'
parserOptions:
    sourceType: module
    ecmaVersion: 8
rules:
    indent:
        - error
        - 4
        - ArrayExpression: off
          SwitchCase: 1
          CallExpression:
            arguments: first
    no-unused-vars:
        - error
        - argsIgnorePattern: ^_$
    semi:
        - error
        - always
    linebreak-style:
        - error
        - unix