Skip to content

Commit

Permalink
feat(unbound-method): add original unbound-method rule
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 20, 2021
1 parent b1d6111 commit c0037ae
Show file tree
Hide file tree
Showing 13 changed files with 2,006 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/rules/__tests__/fixtures/class.ts
@@ -0,0 +1,13 @@
// used by no-throw-literal test case to validate custom error
export class Error {}

// used by unbound-method test case to test imports
export const console = { log() {} };

// used by prefer-reduce-type-parameter to test native vs userland check
export class Reducable {
reduce() {}
}

// used by no-implied-eval test function imports
export class Function {}
Empty file.
1 change: 1 addition & 0 deletions src/rules/__tests__/fixtures/foo.ts
@@ -0,0 +1 @@
export type T = number;

0 comments on commit c0037ae

Please sign in to comment.