Socket
Socket
Sign inDemoInstall

eslint-plugin-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jasmine - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

docs/rules/no-expect-in-setup-teardown.md

6

index.js

@@ -15,3 +15,4 @@ 'use strict'

'no-unsafe-spy': require('./lib/rules/no-unsafe-spy'),
'no-global-setup': require('./lib/rules/no-global-setup')
'no-global-setup': require('./lib/rules/no-global-setup'),
'no-expect-in-setup-teardown': require('./lib/rules/no-expect-in-setup-teardown')
},

@@ -31,3 +32,4 @@ configs: {

'jasmine/no-unsafe-spy': 1,
'jasmine/no-global-setup': 2
'jasmine/no-global-setup': 2,
'jasmine/no-expect-in-setup-teardown': 1
}

@@ -34,0 +36,0 @@ }

@@ -54,3 +54,3 @@ {

},
"version": "2.1.2"
"version": "2.2.0"
}

@@ -67,15 +67,16 @@ # eslint-plugin-jasmine

Rule | Recommended | Options
---- | ----------- | -------
[named-spy][] | 0 |
[no-focused-tests][] | 2 |
[no-disabled-tests][] | 1 |
[no-suite-dupes][] | 1, `'block'` | `['block', 'branch']`
[no-spec-dupes][] | 1, `'block'` | `['block', 'branch']`
[missing-expect][] | 0, `'expect()'` | expectation function names
[no-suite-callback-args][] | 2 |
[valid-expect][] | 1 |
[no-assign-spyon][] | 0 |
[no-unsafe-spy][] | 1 |
[no-global-setup][] | 2 |
Rule | Recommended | Options
---- | ----------- | -------
[named-spy][] | 0 |
[no-focused-tests][] | 2 |
[no-disabled-tests][] | 1 |
[no-suite-dupes][] | 1, `'block'` | `['block', 'branch']`
[no-spec-dupes][] | 1, `'block'` | `['block', 'branch']`
[missing-expect][] | 0, `'expect()'` | expectation function names
[no-suite-callback-args][] | 2 |
[valid-expect][] | 1 |
[no-assign-spyon][] | 0 |
[no-unsafe-spy][] | 1 |
[no-global-setup][] | 2 |
[no-expect-in-setup-teardown][] | 1, `'expect()'` | expectation function names

@@ -114,2 +115,3 @@ For example, using the recommended configuration, the `no-focused-tests` rule

[no-global-setup]: docs/rules/no-global-setup.md
[no-expect-in-setup-teardown]: docs/rules/no-expect-in-setup-teardown.md

@@ -116,0 +118,0 @@ [configuring rules]: http://eslint.org/docs/user-guide/configuring#configuring-rules

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc