aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: d3bc05b3a5aeb9d7aae9573354b71c2e336f15f1 (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
27
28
29
30
31
32
33
module.exports = {
  root: true,
  env: {
    commonjs: true,
    es6: true,
    node: true,
  },
  extends: ['airbnb-base'],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly',
    use: 'readonly',
    window: 'readonly',
    document: 'readonly',
    ENV: 'readonly',
    session: 'readonly',
    response: 'readonly',
  },
  parserOptions: {
    ecmaVersion: 2018,
  },
  rules: {
    'arrow-parens': 0,
    'class-methods-use-this': 0,
    eqeqeq: 1,
    'implicit-arrow-linebreak': 0,
    'max-len': 0,
    'no-await-in-loop': 1,
    'no-restricted-syntax': 0,
    'operator-linebreak': 0,
    'object-curly-newline': 0,
  },
};