Skip to content

Commit cb1f784

Browse files
authored
Merge pull request #8 from YouweGit/eslint-conflict
Avoid conflict: `no-mixed-operators` / `no-extra-parens`
2 parents 98de8c0 + b63d49a commit cb1f784

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 3.5.1
8+
### Changed
9+
- ESLint conflict between `no-mixed-operators` and `no-extra-parens` resolved.
10+
711
## 3.5.0
812
### Added
913
- Args to show phpcs warnings/errors in color and show the correct class that
@@ -13,7 +17,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1317
- Rule `Generic.Formatting.MultipleStatementAlignment`, since this did not help for the readability
1418
of the code.
1519

16-
1720
## 3.4.0
1821
### Added
1922
- Constraint for `squizlabs/php_codesniffer` to be compatible with

src/Youwe/eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"no-extend-native": 2,
8181
"no-extra-bind": 2,
8282
"no-extra-boolean-cast": 2,
83-
"no-extra-parens": 2,
83+
"no-extra-parens": [2, "all", { "nestedBinaryExpressions": false }],
8484
"no-extra-semi": 2,
8585
"no-fallthrough": 2,
8686
"no-floating-decimal": 2,

0 commit comments

Comments
 (0)