-
Notifications
You must be signed in to change notification settings - Fork 0
fix: fill in some documented gaps with rules that exist #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,20 @@ import { defineConfig } from 'oxlint'; | |
| export default defineConfig({ | ||
| plugins: ['typescript'], | ||
| rules: { | ||
| 'typescript/no-dupe-class-members': 'warn', | ||
| 'typescript/no-redeclare': 'warn', | ||
| 'typescript/no-unused-expressions': ['warn', { allowShortCircuit: true, enforceForJSX: true }], | ||
| 'typescript/no-unused-vars': [ | ||
| 'warn', | ||
|
Comment on lines
+9
to
+13
|
||
| { | ||
| vars: 'all', | ||
| args: 'none', | ||
| ignoreRestSiblings: true, | ||
| caughtErrors: 'all', | ||
| caughtErrorsIgnorePattern: '^_', | ||
| }, | ||
| ], | ||
| 'typescript/no-useless-constructor': 'warn', | ||
| 'typescript/array-type': ['warn', { default: 'array' }], | ||
| 'typescript/no-empty-object-type': ['warn', { allowInterfaces: 'with-single-extends' }], | ||
| 'typescript/no-wrapper-object-types': 'warn', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is titled “Rules not covered by oxlint / oxlint-config-universe coverage”, but
no-implied-evalis now listed as available viaoxlint-config-universe/typescript-analysis. That reads as contradictory for users skimming this list. Consider movingno-implied-evalout of the “not covered” table (or adjusting the heading/notes to clarify it’s covered, but only when opting into the type-aware preset).