aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
blob: 5951e2e596c7fd806f02a44c5136c6f13ab36876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
  env: {
    browser: true,
    es2021: true,
    jest: true,
  },
  extends: [
    'eslint:recommended',
    'plugin:@typescript-eslint/recommended'
  ],
  parser: '@typescript-eslint/parser',
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
  },
  plugins: ['@typescript-eslint'],
  rules: {
    "indent": ["warn", 4],
    "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
  },
};