-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
27 lines (27 loc) · 933 Bytes
/
.eslintrc.cjs
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
/** @type { import("eslint").Linter.Config } */
module.exports = {
overrides: [
{
files: ["*.js", "*.jsx", "*.ts", "*.tsx"],
parserOptions: {
sourceType: "module",
ecmaVersion: "latest",
project: "./tsconfig.json",
},
extends: ["love", "prettier"],
plugins: ["prettier", "simple-import-sort"],
rules: {
"prettier/prettier": "warn",
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/naming-convention": "off",
},
},
],
};