Skip to content

Commit

Permalink
chore(release): 99.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 25, 2019
1 parent 39f341f commit 88a5f11
Show file tree
Hide file tree
Showing 7 changed files with 704 additions and 978 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ 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).

## 99.0.0 - 2019-03-25

- Added: `jest/no-empty-title` rule.
- Chore: minimum require `eslint-plugin-ava` version is now `^6.0.0`.
- Changed: disable `react/self-closing-comp` (in favor prettier).
- Changed: disable `linebreak-style` (in favor prettier).

## 98.0.0 - 2019-02-01

- Added: `jest/prefer-todo` rule.
Expand Down
2 changes: 2 additions & 0 deletions lib/config/rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ module.exports = {
// Disallow use of the `with` statement
// Disable in favor `no-restricted-syntax` rule
"no-with": "off",
// Enforce using named capture group in regular expression
"prefer-named-capture-group": "off",
// require using Error objects as Promise rejection reasons
"prefer-promise-reject-errors": ["error", { allowEmptyReject: false }],
// Require use of the second argument for parseInt()
Expand Down
6 changes: 5 additions & 1 deletion lib/config/rules/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ module.exports = {
"jest/no-alias-methods": "error",
// Disallow disabled tests
"jest/no-disabled-tests": "error",
// Disallow disabled tests
"jest/no-empty-title": "error",
// Disallow focused tests
"jest/no-focused-tests": "error",
// Disallow setup and teardown hooks
Expand Down Expand Up @@ -58,5 +60,7 @@ module.exports = {
// Enforce valid `expect()` usage
"jest/valid-expect": "error",
// Suggest using `test.todo`
"jest/prefer-todo": "error"
"jest/prefer-todo": "error",
// Suggest using `toBeCalledWith()` OR `toHaveBeenCalledWith()`
"jest/prefer-called-with": "off"
};
2 changes: 1 addition & 1 deletion lib/config/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module.exports = {
// Enforce ES5 or ES6 class for returning value in render function
"react/require-render-return": "error",
// Prevent extra closing tags for components without children
"react/self-closing-comp": "error",
"react/self-closing-comp": "off",
// Enforce component methods order
"react/sort-comp": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion lib/config/rules/stylistic-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module.exports = {
// Enforce position of line comments
"line-comment-position": "off",
// Disallow mixed "LF" and "CRLF" as linebreaks
"linebreak-style": ["error", "unix"],
"linebreak-style": "off",
// Enforces empty lines around comments
"lines-around-comment": "off",
// Require or disallow an empty line between class members
Expand Down
Loading

0 comments on commit 88a5f11

Please sign in to comment.