This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "member-ordering: Support categories (#2041)"
This reverts commit 18e7604.
- Loading branch information
Noah Chen
committed
Jan 25, 2017
1 parent
f53ec35
commit d9aac70
Showing
21 changed files
with
187 additions
and
347 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
12 changes: 0 additions & 12 deletions
12
test/rules/member-ordering/omit-access-modifier/test.ts.lint
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class Foo { | ||
private x: number; | ||
private bar(): any { | ||
var bla: { a: string } = {a: '1'}; | ||
} | ||
y: number; | ||
~~~~~~~~~~ [0] | ||
} | ||
|
||
[0]: Declaration of public instance member variable not allowed to appear after declaration of private instance member function |
File renamed without changes.
10 changes: 0 additions & 10 deletions
10
test/rules/member-ordering/public-before-private/test.ts.lint
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
test/rules/member-ordering/static-before-instance/test.ts.lint
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class Foo { | ||
x: number; | ||
static y: number; | ||
~~~~~~~~~~~~~~~~~ [0] | ||
constructor() { | ||
// nothing to do | ||
} | ||
} | ||
|
||
[0]: Declaration of public static member variable not allowed to appear after declaration of public instance member variable |
File renamed without changes.