eslint-plugin-ava
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -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) |
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
28359
23
795
112