This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improves
jasmine-no-lambda-expression-callbacks
rule, extends chang…
…elog, upgrades packages
- Loading branch information
1 parent
d02d578
commit f85f16f
Showing
16 changed files
with
242 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ src/ | |
.editorconfig | ||
runTests.js | ||
tsconfig.json | ||
yarn.lock |
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,6 +1,17 @@ | ||
Change Log | ||
=== | ||
|
||
v2.0.1 | ||
--- | ||
* [enhancement] Added preliminary checks for `jasmine-no-lambda-expression-callbacks` rule to skip walking file if there are no jasmine | ||
top-level statements. | ||
|
||
v2.0.0 | ||
--- | ||
* [enhancement] Upgrades to tslint@4 | ||
* **BREAKING CHANGES** | ||
* [enhancement] Upgraded to tslint@4 | ||
|
||
v1.0.0 | ||
--- | ||
* [new-rule] `import-barrels` rule added | ||
* [new-rule] `jasmine-no-lambda-expression-callbacks` rule added |
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
6 changes: 6 additions & 0 deletions
6
...ambdaExpressionCallback/default/jasmineNoLambdaExpressionCallbackRuleDefaultIIFE1.ts.lint
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,6 @@ | ||
(function test() { | ||
describe('some test in an IIFE', () => {}); | ||
~~~~~~~~ [no-lambda-callback] | ||
})(); | ||
|
||
[no-lambda-callback]: Don't use lambda expressions as callbacks to jasmine functions |
6 changes: 6 additions & 0 deletions
6
...ambdaExpressionCallback/default/jasmineNoLambdaExpressionCallbackRuleDefaultIIFE2.ts.lint
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,6 @@ | ||
(() => { | ||
describe('some test in an IIFE', () => {}); | ||
~~~~~~~~ [no-lambda-callback] | ||
})(); | ||
|
||
[no-lambda-callback]: Don't use lambda expressions as callbacks to jasmine functions |
6 changes: 6 additions & 0 deletions
6
...ambdaExpressionCallback/default/jasmineNoLambdaExpressionCallbackRuleDefaultIIFE3.ts.lint
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,6 @@ | ||
(function test() { | ||
describe('some test in an other IIFE', () => {}); | ||
~~~~~~~~ [no-lambda-callback] | ||
}()); | ||
|
||
[no-lambda-callback]: Don't use lambda expressions as callbacks to jasmine functions |
6 changes: 6 additions & 0 deletions
6
...bdaExpressionCallback/default/jasmineNoLambdaExpressionCallbackRuleDefaultWrapped.ts.lint
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,6 @@ | ||
export function test() { | ||
describe('some test in a callback', () => {}); | ||
~~~~~~~~ [no-lambda-callback] | ||
} | ||
|
||
[no-lambda-callback]: Don't use lambda expressions as callbacks to jasmine functions |
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.