forked from Milkdown/milkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.oxlintrc.json
33 lines (33 loc) · 961 Bytes
/
.oxlintrc.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
32
33
{
"plugins": ["import", "typescript", "unicorn", "promise"],
"rules": {
"no-console": "error",
"eslint/no-unused-vars": "off",
"unicorn/prefer-array-some": "error",
"unicorn/no-useless-promise-resolve-reject": "error",
"unicorn/no-unnecessary-await": "error",
"unicorn/no-useless-fallback-in-spread": "error",
"unicorn/filename-case": [
"error",
{
"case": "kebabCase"
}
],
"unicorn/prefer-date-now": "error",
"unicorn/prefer-blob-reading-methods": "error",
"unicorn/no-typeof-undefined": "error",
"unicorn/no-new-array": "error",
"import/no-cycle": [
"error",
{
"ignoreTypes": true
}
],
"import/sort-imports": "error",
"import/no-duplicates": "error",
"import/no-import-assign": "error",
"import/no-self-import": "error",
"typescript/consistent-type-imports": "error",
"typescript/no-import-type-side-effects": "error"
}
}