Debian Codegraph @

third_party/python/aiohttp/vendor/llhttp/eslint.json

raw
1 {
2 "extends": [
3 "eslint:recommended",
4 "plugin:@typescript-eslint/recommended",
5 "plugin:@stylistic/recommended-extends"
6 ],
7 "rules": {
8 "max-len": [
9 "error",
10 {
11 "code": 120
12 }
13 ],
14 "no-console": "error",
15 "@typescript-eslint/no-unused-vars": "error",
16 "@stylistic/array-bracket-spacing": ["error", "always"],
17 "@stylistic/operator-linebreak": ["error", "after"],
18 "@stylistic/brace-style": ["error", "1tbs", { "allowSingleLine": true }],
19 "@stylistic/member-delimiter-style": ["error", {
20 "overrides": {
21 "interface": {
22 "multiline": {
23 "delimiter": "semi",
24 "requireLast": true
25 }
26 }
27 }
28 }],
29 "indent": "off",
30 "@stylistic/indent": ["error", 2, {
31 "SwitchCase": 1,
32 "FunctionDeclaration": { "parameters": "first" },
33 "FunctionExpression": { "parameters": "first" }
34 }],
35 "semi": "off",
36 "@stylistic/semi": ["error", "always"]
37 },
38 "parser": "@typescript-eslint/parser",
39 "parserOptions": {
40 "project": [
41 "tsconfig.eslint.json"
42 ],
43 "sourceType": "module",
44 "ecmaFeatures": {
45 "jsx": true,
46 "modules": true,
47 "experimentalObjectRestSpread": true
48 }
49 }
50 }