eslint-plugin-jasmine
Advanced tools
Comparing version 2.8.6 to 2.9.0
@@ -1,2 +0,3 @@ | ||
# Enforce valid `expect()` usage (valid-expect) | ||
# `DEPRECATED` Enforce valid `expect()` usage (valid-expect) | ||
Rule is `DEPRECATED` use `expect-matcher` and `expect-single-argument` instead. | ||
@@ -7,3 +8,3 @@ Ensure `expect()` is called with a single argument and there is an actual expectation made. | ||
This rule triggers a warning if `expect()` is called with more than one argument or without arguments. | ||
This rule triggers a warning if `expect()` is called with more than one argument or without arguments. | ||
It would also issue a warning if there is nothing called on `expect()`, e.g.: | ||
@@ -10,0 +11,0 @@ |
@@ -5,2 +5,4 @@ 'use strict' | ||
rules: { | ||
'expect-matcher': require('./lib/rules/expect-matcher'), | ||
'expect-single-argument': require('./lib/rules/expect-single-argument'), | ||
'named-spy': require('./lib/rules/named-spy'), | ||
@@ -27,2 +29,4 @@ 'no-focused-tests': require('./lib/rules/no-focused-tests'), | ||
rules: { | ||
'jasmine/expect-matcher': 1, | ||
'jasmine/expect-single-argument': 1, | ||
'jasmine/named-spy': 0, | ||
@@ -36,3 +40,2 @@ 'jasmine/no-focused-tests': 2, | ||
'jasmine/no-suite-callback-args': 2, | ||
'jasmine/valid-expect': 1, | ||
'jasmine/no-assign-spyon': 0, | ||
@@ -39,0 +42,0 @@ 'jasmine/no-unsafe-spy': 1, |
'use strict' | ||
/** | ||
* DEPRECATED use expect-matcher and expect-single-argument rules instead | ||
* @fileoverview Enforce valid expect() usage | ||
@@ -5,0 +6,0 @@ * @author Alexander Afanasyev |
@@ -54,3 +54,3 @@ { | ||
}, | ||
"version": "2.8.6" | ||
"version": "2.9.0" | ||
} |
@@ -69,2 +69,4 @@ # eslint-plugin-jasmine | ||
---- | ----------- | ------- | ||
[expect-matcher][] | 1, | | ||
[expect-single-argument][] | 1, | | ||
[missing-expect][] | 0, `'expect()'` | expectation function names | ||
@@ -84,3 +86,3 @@ [named-spy][] | 0 | | ||
[no-unsafe-spy][] | 1 | | ||
[valid-expect][] | 1 | | ||
[valid-expect][] | `deprecated` | | ||
[prefer-jasmine-matcher][] | 1 | | ||
@@ -110,3 +112,4 @@ [prefer-toHaveBeenCalledWith][] | 1 | | ||
See [configuring rules][] for more information. | ||
[expect-matcher]: docs/rules/expect-matcher.md | ||
[expect-single-argument]: docs/rules/expect-single-argument.md | ||
[missing-expect]: docs/rules/missing-expect.md | ||
@@ -113,0 +116,0 @@ [named-spy]: docs/rules/named-spy.md |
@@ -0,1 +1,2 @@ | ||
// DEPRECATED use expect-matcher and expect-single-argument rules instead | ||
'use strict' | ||
@@ -2,0 +3,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182547
71
2536
141