Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
212 additions
and
75 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.common.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.common.json"] | ||
} |
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
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
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
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 |
---|---|---|
@@ -1,23 +1,6 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": [ | ||
"./tslint.common.json" | ||
], | ||
// This configuration files enabled rules which require type checking | ||
// and therefore cannot be run by Visual Studio Code TSLint extension | ||
// See https://github.com/Microsoft/vscode-tslint/issues/70 | ||
"rules": { | ||
// These rules find errors related to TypeScript features. | ||
|
||
// These rules catch common errors in JS programming or otherwise | ||
// confusing constructs that are prone to producing bugs. | ||
|
||
// User-land promises like Bluebird implement "PromiseLike" (not "Promise") | ||
// interface only. The string "PromiseLike" bellow is needed to | ||
// tell tslint that it's ok to `await` such promises. | ||
"await-promise": [true, "PromiseLike", "RequestPromise"], | ||
"no-floating-promises": [true, "PromiseLike", "RequestPromise"], | ||
"no-unused-variable": true, | ||
"no-void-expression": [true, "ignore-arrow-function-shorthand"] | ||
} | ||
"@loopback/tslint-config/tslint.build.json" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,26 +1,6 @@ | ||
{ | ||
// See https://palantir.github.io/tslint/rules/ | ||
"rules": { | ||
// These rules find errors related to TypeScript features. | ||
"adjacent-overload-signatures": true, | ||
"prefer-for-of": true, | ||
"unified-signatures": true, | ||
"no-any": true, | ||
|
||
// These rules catch common errors in JS programming or otherwise | ||
// confusing constructs that are prone to producing bugs. | ||
|
||
"label-position": true, | ||
"no-arg": true, | ||
"no-construct": true, | ||
"no-duplicate-variable": true, | ||
|
||
"no-invalid-this": true, | ||
"no-misused-new": true, | ||
"no-shadowed-variable": true, | ||
"no-string-throw": true, | ||
"no-unused-expression": true, | ||
"no-var-keyword": true, | ||
"triple-equals": [true, "allow-null-check", "allow-undefined-check"] | ||
} | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": [ | ||
"@loopback/tslint-config/tslint.common.json" | ||
] | ||
} |
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
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
2 changes: 1 addition & 1 deletion
2
packages/cli/generators/project/templates/tslint.build.json.ejs
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tslint", | ||
"extends": ["./node_modules/@loopback/build/config/tslint.build.json"] | ||
"extends": ["./node_modules/@loopback/tslint-config/tslint.build.json"] | ||
} |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.