Skip to content

Commit 6c51ae5

Browse files
committed
chore: migrate linting to oxlint
1 parent fc09960 commit 6c51ae5

16 files changed

Lines changed: 572 additions & 1694 deletions

File tree

‎.oxlintrc.json‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"env": {
4+
"node": true,
5+
"browser": true,
6+
"es6": true
7+
},
8+
"rules": {
9+
"@typescript-eslint/no-explicit-any": "warn",
10+
"@typescript-eslint/explicit-function-return-type": "off",
11+
"@typescript-eslint/no-var-requires": "error",
12+
"no-unused-vars": ["warn", { "caughtErrorsIgnorePattern": "^ignore" }]
13+
},
14+
"overrides": [
15+
{
16+
"files": ["**/__tests__/**/*.ts", "**/__tests__/**/*.cjs", "**/*.test.ts", "**/*.spec.ts"],
17+
"rules": {
18+
"@typescript-eslint/no-explicit-any": "off",
19+
"@typescript-eslint/no-var-requires": "off"
20+
}
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)