Skip to content

Commit

Permalink
build: fix eslint for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Dec 7, 2024
1 parent fe0537d commit f829786
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"source.organizeImports": "never"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": ["javascript", "typescript"]
"eslint.validate": ["javascript", "typescript"],
"eslint.options": {
"flags": ["unstable_ts_config"]
}
}
2 changes: 1 addition & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export default [
'@typescript-eslint/no-unused-expressions': 'off',
},
},
...oxlint.buildFromOxlintConfigFile('oxlint.json'),
...oxlint.buildFromOxlintConfigFile('.oxlintrc.json'),
];

0 comments on commit f829786

Please sign in to comment.