-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: enabled most of strict-type-checked internally #7339
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
27ff54b
590e8ad
8f05085
d3fe48e
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @typescript-eslint/prefer-literal-enum-member */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. enum ArgumentType {
Other = 0,
String = 1 << 0,
RegExp = 1 << 1,
Both = String | RegExp,
} 🤮 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't it make you feel like a pro? 😎 |
||
import type { TSESTree } from '@typescript-eslint/utils'; | ||
import { AST_NODE_TYPES } from '@typescript-eslint/utils'; | ||
import * as tsutils from 'ts-api-utils'; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,10 +74,8 @@ async function main(): Promise<void> { | |
); | ||
const EXTENDS = ['./configs/base', './configs/eslint-recommended']; | ||
|
||
type RuleEntry = [ | ||
string, | ||
TSESLint.RuleModule<string, readonly unknown[], TSESLint.RuleListener>, | ||
]; | ||
// TODO: migrate to import { RuleModule } from '@typescript-eslint/utils/ts-eslint' | ||
type RuleEntry = [string, TSESLint.RuleModule<string, readonly unknown[]>]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TODO - should really migrate to |
||
|
||
const allRuleEntries: RuleEntry[] = Object.entries(rules).sort((a, b) => | ||
a[0].localeCompare(b[0]), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @typescript-eslint/no-extraneous-class */ | ||
class RuleTester {} | ||
class SourceCode {} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.