@servant573/nest-jaeger
Version:
Jaeger middleware to request tracing for nest application
71 lines (70 loc) • 1.76 kB
JSON
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "unicorn"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"root": true,
"env": {
"node": true,
"jest": true
},
"ignorePatterns": [".eslintrc.json"],
"rules": {
"no-irregular-whitespace": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
"overrides": {
"constructors": "off"
}
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
{
"selector": "variable",
"format": ["camelCase", "snake_case", "UPPER_CASE"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
{
"selector": "typeLike",
"format": ["PascalCase", "UPPER_CASE"]
},
{
"selector": "memberLike",
"modifiers": ["public"],
"format": ["camelCase", "snake_case", "UPPER_CASE"],
"leadingUnderscore": "forbid"
},
{
"selector": "enumMember",
"format": ["UPPER_CASE"],
"leadingUnderscore": "forbid"
}
],
"unicorn/filename-case": [
"error",
{
"case": "kebabCase"
}
]
}
}