forked from dfinity/internet-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
31 lines (31 loc) · 863 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./tsconfig.json"] },
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/strict-boolean-expressions": [
2,
{ "allowString": false, "allowNumber": false }
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"require-await": ["error"],
"@typescript-eslint/no-floating-promises": ["error"]
},
"ignorePatterns": [
"src/**/*.test.ts",
"src/frontend/src/test-e2e/*.ts",
"src/frontend/generated/*",
"src/frontend/jest-custom-sequencer.ts",
"vite.config.ts",
"vite.plugins.ts"
]
}