1 | {
|
2 | "env": {
|
3 | "browser": true,
|
4 | "es2021": true,
|
5 | "node": true
|
6 | },
|
7 | "extends": [
|
8 | "eslint:recommended",
|
9 | "plugin:@typescript-eslint/recommended"
|
10 | ],
|
11 | "parser": "@typescript-eslint/parser",
|
12 | "parserOptions": {
|
13 | "ecmaVersion": 12,
|
14 | "sourceType": "module"
|
15 | },
|
16 | "plugins": [
|
17 | "@typescript-eslint",
|
18 | "eslint-plugin-tsdoc"
|
19 | ],
|
20 | "rules": {
|
21 | "indent": [
|
22 | "error",
|
23 | 4
|
24 | ],
|
25 | "linebreak-style": [
|
26 | "error",
|
27 | "unix"
|
28 | ],
|
29 | "quotes": [
|
30 | "error",
|
31 | "single"
|
32 | ],
|
33 | "semi": [
|
34 | "error",
|
35 | "always"
|
36 | ],
|
37 | "no-console": "error",
|
38 | "tsdoc/syntax": "warn"
|
39 | }
|
40 | }
|