aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/.eslintrc.cjs
blob: d8d7cfcdfe650d5842f783ce6ab09d1b0de86274 (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
/** @type {import("eslint").Linter.Config} */
module.exports = {
  root: true,
  extends: ["@monkeytype/eslint-config"],
  globals: {
    $: "readonly",
    jQuery: "readonly",
    html2canvas: "readonly",
    ClipboardItem: "readonly",
    grecaptcha: "readonly",
  },
  env: {
    browser: true,
    es2021: true,
    node: true,
  },
  ignorePatterns: [
    "node_modules/",
    "dist/",
    "static/js/",
    "__tests__/",
    "jest.config.ts",
  ],
};