Debian Codegraph @

.eslintrc.json

raw symbols SCIP
1 {
2 "parser": "@typescript-eslint/parser",
3 "extends": [
4 "eslint:recommended",
5 "plugin:@typescript-eslint/recommended",
6 "plugin:react/recommended",
7 "plugin:react-hooks/recommended",
8 "plugin:react/jsx-runtime",
9 "plugin:prettier/recommended"
10 ],
11 "rules": {
12 "react/no-deprecated": "warn",
13 "react/prop-types": 0,
14 "react/no-find-dom-node": 0,
15 "react/display-name": 0,
16 "react/jsx-tag-spacing": [
17 1,
18 {
19 "beforeSelfClosing": "always"
20 }
21 ],
22 "curly": [
23 2
24 ],
25 "linebreak-style": [
26 2,
27 "unix"
28 ],
29 "semi": [
30 2,
31 "always"
32 ],
33 "comma-dangle": [
34 0
35 ],
36 "@typescript-eslint/no-unused-vars": [
37 2,
38 {
39 "vars": "all",
40 "args": "none",
41 "ignoreRestSiblings": true
42 }
43 ],
44 "@typescript-eslint/no-explicit-any": "off",
45 "@typescript-eslint/no-non-null-assertion": "off",
46 "no-console": [
47 0
48 ],
49 "object-curly-spacing": [
50 2,
51 "always"
52 ],
53 "keyword-spacing": [
54 "error"
55 ],
56 "no-prototype-builtins": "error",
57 "@typescript-eslint/no-empty-function": "warn",
58 "@typescript-eslint/no-var-requires": "warn"
59 },
60 "env": {
61 "es6": true,
62 "browser": true,
63 "node": true
64 },
65 "settings": {
66 "react": {
67 "version": "detect"
68 }
69 }
70 }