git.delta.rocks / unique-network / refs/commits / c521d2f9a970

difftreelog

source

tests/.eslintrc.json2.8 KiBsourcehistory
1{2    "env": {3        "browser": true,4        "es2020": true5    },6    "extends": [7        "eslint:recommended",8        "plugin:@typescript-eslint/recommended"9    ],10    "parser": "@typescript-eslint/parser",11    "parserOptions": {12        "ecmaVersion": 11,13        "sourceType": "module"14    },15    "plugins": [16        "@typescript-eslint"17    ],18    "rules": {19        "indent": [20            "error",21            2,22            {23                "SwitchCase": 124            }25        ],26        "function-call-argument-newline": [27            "error",28            "consistent"29        ],30        "function-paren-newline": [31            "error",32            "multiline"33        ],34        "linebreak-style": [35            "error",36            "unix"37        ],38        "quotes": [39            "error",40            "single",41            {42                "avoidEscape": true43            }44        ],45        "require-await": 2,46        "semi": [47            "error",48            "always"49        ],50        "@typescript-eslint/explicit-module-boundary-types": "off",51        "comma-dangle": [52            "error",53            "always-multiline"54        ],55        "no-unused-vars": "off",56        "@typescript-eslint/no-empty-function": "off",57        "@typescript-eslint/no-non-null-assertion": "off",58        "@typescript-eslint/no-explicit-any": "off",59        "@typescript-eslint/no-unused-vars": [60            "warn",61            {62                "varsIgnorePattern": "_.+",63                "argsIgnorePattern": "_.+"64            }65        ],66        "no-async-promise-executor": "warn",67        "@typescript-eslint/no-empty-interface": "off",68        "prefer-const": [69            "error",70            {71                "destructuring": "all"72            }73        ],74        "@typescript-eslint/ban-ts-comment": "off",75        "object-curly-spacing": "warn",76        "arrow-spacing": "warn",77        "array-bracket-spacing": "warn",78        "template-curly-spacing": "warn",79        "space-in-parens": "warn",80        "@typescript-eslint/naming-convention": [81            "warn",82            {83                "selector": "default",84                "format": [85                    "camelCase"86                ],87                "leadingUnderscore": "allow",88                "trailingUnderscore": "allow"89            },90            {91                "selector": "variable",92                "format": [93                    "camelCase",94                    "UPPER_CASE"95                ],96                "leadingUnderscore": "allow",97                "trailingUnderscore": "allow"98            },99            {100                "selector": "typeLike",101                "format": [102                    "PascalCase"103                ]104            },105            {106                "selector": "memberLike",107                "format": null108            }109        ]110    }111}