aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 066d4154d367707a60386be9ca761d7b3150df76 (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
module.exports = {
  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: {
    "class-methods-use-this": 'off',
    "no-restricted-syntax": 'off',
    "max-len": 0,
  },
};