Skip to content

Commit 769a4e3

Browse files
committed
Fix oxlint
1 parent 9f8203b commit 769a4e3

3 files changed

Lines changed: 14 additions & 17 deletions

File tree

.cursor/commands/deslop.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Remove AI code slop
2+
3+
Check the diff against main, and remove all AI generated slop introduced in this branch.
4+
5+
This includes:
6+
7+
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
8+
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
9+
- Casts to any to get around type issues
10+
- Any other style that is inconsistent with the file
11+
12+
Report at the end with only a 1-3 sentence summary of what you changed

.oxlintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
33
"rules": {
4-
"no-unused-vars": "warn",
5-
"no-console": "warn",
4+
"no-unused-vars": "error",
5+
"no-console": "error",
66
"eqeqeq": "error"
77
},
88
"ignorePatterns": [

oxlint.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)