Skip to content

Commit

Permalink
chore(release): 122.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Feb 5, 2020
1 parent 70cee34 commit 6eabd6f
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 181 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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).

## 122.0.0 - 2020-02-04

- Added: `unicorn/prefer-replace-all` rule.
- Changed: minimum required `eslint-plugin-ava` version is now `10.0.1`.
- Changed: minimum required `eslint-plugin-import` version is now `2.20.1`.
- Changed: minimum required `eslint-plugin-react` version is now `7.18.3`.
- Changed: minimum required `eslint-plugin-unicorn` version is now `16.0.0`.

## 121.0.0 - 2020-01-20

- Added: `react/jsx-no-script-url` rule.
Expand Down
2 changes: 2 additions & 0 deletions lib/config/rules/unicorn.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ module.exports = {
// "unicorn/prefer-query-selector": "off",
// Prefer `Reflect.apply()` over `Function#apply()`
"unicorn/prefer-reflect-apply": "off",
// Prefer `String#replaceAll()` over regex searches with the global flag
"unicorn/prefer-replace-all": "error",
// Prefer the spread operator over `Array.from()`.
"unicorn/prefer-spread": "error",
// Prefer `String#slice()` over `String#substr()` and `String#substring()`
Expand Down
Loading

0 comments on commit 6eabd6f

Please sign in to comment.