-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
31 lines (31 loc) · 1.01 KB
/
.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
{
"extends": ["next/core-web-vitals", "standard-with-typescript", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"project": "../../lint.tsconfig.json"
},
"ignorePatterns": ["**/dist/", "*.d.ts", "packages/web/components/ui/**/*"],
"globals": {
// mocha
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true,
"describe": true,
"it": true
},
"rules": {
"import/order": "error",
"@typescript-eslint/no-confusing-void-expression": "off",
"node/no-unpublished-import": "off",
"node/no-missing-import": "off",
"node/shebang": "off",
"no-unused-vars": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/strict-boolean-expressions": "off",
// We use currently all `== null` as a way to check for undefined or null, might as well turn this check off
"@typescript-eslint/no-non-null-assertion": "off"
}
}