-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc.json
More file actions
24 lines (24 loc) · 1.38 KB
/
.eslintrc.json
File metadata and controls
24 lines (24 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"project": ["./packages/core/tsconfig.json", "./packages/agents/reference/tsconfig.json", "./packages/agents/search/tsconfig.json", "./packages/agents/pricing/tsconfig.json", "./packages/agents/booking/tsconfig.json", "./packages/agents/ticketing/tsconfig.json", "./packages/agents/exchange/tsconfig.json", "./packages/agents/settlement/tsconfig.json", "./packages/agents/reconciliation/tsconfig.json", "./packages/agents/lodging/tsconfig.json", "./packages/agents-tmc/tsconfig.json", "./packages/agents-platform/tsconfig.json", "./packages/adapters/duffel/tsconfig.json", "./packages/connect/tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/require-await": "off",
"no-console": ["warn", { "allow": ["warn", "error"] }]
},
"ignorePatterns": ["dist", "node_modules", "data", "*.js", "*.mjs", "**/__tests__/**"]
}