From 4338c5129005110b69ba329c13d040c0a3af1357 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Tue, 23 Oct 2018 13:09:35 +0300 Subject: [PATCH] chore: `85.0.0` release --- CHANGELOG.md | 5 +++++ lib/config/rules/jest.js | 2 ++ package-lock.json | 20 ++++++++++---------- package.json | 6 +++--- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e30c1..07399ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). Except add new rule (it is breaking changed by default). +## 85.0.0 - 2018-10-23 + +- Added: `jest/no-test-callback` rule. +- Chore: minimum require `eslint-plugin-jest` version is now `^21.26.0`. + ## 84.0.0 - 2018-10-22 - Added: `jest/prefer-to-contain` rule. diff --git a/lib/config/rules/jest.js b/lib/config/rules/jest.js index 61dcb92..54e4b02 100644 --- a/lib/config/rules/jest.js +++ b/lib/config/rules/jest.js @@ -25,6 +25,8 @@ module.exports = { "jest/no-jest-import": "error", // Disallow large snapshots "jest/no-large-snapshots": "off", + // Using a callback in asynchronous tests + "jest/no-test-callback": "error", // Disallow using `f` & `x` prefixes to define focused/skipped tests "jest/no-test-prefixes": "error", // Disallow explicitly returning from tests diff --git a/package-lock.json b/package-lock.json index 4004bcf..54eaf0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-itgalaxy", - "version": "84.0.0", + "version": "85.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1676,9 +1676,9 @@ } }, "caniuse-lite": { - "version": "1.0.30000893", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000893.tgz", - "integrity": "sha512-kOddHcTEef+NgN/fs0zmX2brHTNATVOWMEIhlZHCuwQRtXobjSw9pAECc44Op4bTBcavRjkLaPrGomknH7+Jvg==", + "version": "1.0.30000898", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000898.tgz", + "integrity": "sha512-ytlTZqO4hYe4rNAJhMynUAIUI33jsP2Bb1two/9OVC39wZjPZ8exIO0eCLw5mqAtegOGiGF0kkTWTn3B02L+mw==", "dev": true }, "capture-stack-trace": { @@ -3230,9 +3230,9 @@ } }, "eslint-plugin-jest": { - "version": "21.25.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.25.1.tgz", - "integrity": "sha512-mmphmAD/WihjFGq1IUHLSZWQPcd8U9w/SeFCHf3p0V3Q3MBxmj1ZKnh41hID44guIACLuwos/LhVWIr4phN4yg==", + "version": "21.26.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.26.0.tgz", + "integrity": "sha512-zYePgbZaJsTfiJMb6XcsrrqgDpUB40AmGjjlwMZPEgVstrAsDNW8z7qQggD1lC24yR9h9VxTTb8qu6HRq3n6eg==", "dev": true }, "eslint-plugin-jsx-a11y": { @@ -9348,9 +9348,9 @@ } }, "remark-lint": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/remark-lint/-/remark-lint-6.0.2.tgz", - "integrity": "sha512-zrIx7InZLLOUYUViT6lSa8T80pDyl3Ywvliog+4hoc7LoiJZRV74ejq+RBZK70bg/p2dU/CV6ycedgypFFePPg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/remark-lint/-/remark-lint-6.0.3.tgz", + "integrity": "sha512-PQkF5vQos3iCJ7kXcvGLG/06UoC4cL1h6JORludnClFQYKIeWi9Z6HHLTJl439Q95OLf6ywwOdaKIU5Vul/Thg==", "dev": true, "requires": { "remark-message-control": "^4.0.0" diff --git a/package.json b/package.json index 25b4987..0aa0ef7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-itgalaxy", - "version": "84.0.0", + "version": "85.0.0", "description": "Itgalaxy org's ESLint rules and configs.", "keywords": [ "eslint", @@ -37,7 +37,7 @@ "eslint-plugin-ava": "^5.0.0", "eslint-plugin-html": "^4.0.5", "eslint-plugin-import": "^2.13.0", - "eslint-plugin-jest": "^21.25.1", + "eslint-plugin-jest": "^21.26.0", "eslint-plugin-jsx-a11y": "^6.1.0", "eslint-plugin-lodash": "^3.1.0", "eslint-plugin-markdown": "^1.0.0-beta.8", @@ -63,7 +63,7 @@ "eslint-plugin-ava": "^5.0.0", "eslint-plugin-html": "^4.0.5", "eslint-plugin-import": "^2.13.0", - "eslint-plugin-jest": "^21.24.0", + "eslint-plugin-jest": "^21.26.0", "eslint-plugin-jsx-a11y": "^6.1.0", "eslint-plugin-lodash": "^3.1.0", "eslint-plugin-markdown": "^1.0.0-beta.8",