Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-ava

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ava - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

rules/assertion-message.js

4

index.js

@@ -5,2 +5,3 @@ 'use strict';

rules: {
'assertion-message': require('./rules/assertion-message'),
'max-asserts': require('./rules/max-asserts'),

@@ -29,6 +30,7 @@ 'no-cb-test': require('./rules/no-cb-test'),

parserOptions: {
ecmaVersion: 6,
ecmaVersion: 7,
sourceType: 'module'
},
rules: {
'ava/assertion-message': ['off', 'always'],
'ava/max-asserts': ['off', 5],

@@ -35,0 +37,0 @@ 'ava/no-cb-test': 'off',

{
"name": "eslint-plugin-ava",
"version": "2.0.1",
"version": "2.1.0",
"description": "ESLint rules for AVA",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -25,3 +25,3 @@ # eslint-plugin-ava [![Build Status](https://travis-ci.org/sindresorhus/eslint-plugin-ava.svg?branch=master)](https://travis-ci.org/sindresorhus/eslint-plugin-ava)

"parserOptions": {
"ecmaVersion": 6,
"ecmaVersion": 7,
"sourceType": "module"

@@ -33,2 +33,3 @@ },

"rules": {
"ava/assertion-message": ["off", "always"],
"ava/max-asserts": ["off", 5],

@@ -60,2 +61,3 @@ "ava/no-cb-test": "off",

- [assertion-message](docs/rules/assertion-message.md) - Enforce or disallow assertion messages.
- [max-asserts](docs/rules/max-asserts.md) - Limit the number of assertions in a test.

@@ -81,5 +83,5 @@ - [no-cb-test](docs/rules/no-cb-test.md) - Ensure no `test.cb()` is used.

This plugin exports a [`recommended` configuration](index.js#L9) that enforces good practices.
This plugin exports a [`recommended` configuration](index.js) that enforces good practices.
To enable this configuration use the `extends` property in your `package.json`.
To enable this configuration, use the `extends` property in your `package.json`.

@@ -90,6 +92,6 @@ ```json

"eslintConfig": {
"extends": "plugin:ava/recommended",
"plugins": [
"ava"
]
],
"extends": "plugin:ava/recommended"
}

@@ -108,7 +110,8 @@ }

- [Takuto Wada](https://github.com/twada)
- [And our awesome contributors](https://github.com/sindresorhus/eslint-plugin-ava/graphs/contributors)
[And our awesome contributors](https://github.com/sindresorhus/eslint-plugin-ava/graphs/contributors)
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc