Skip to content

Commit

Permalink
Merge pull request #630 from iadvize/NO-TICKET-arrowBodyStyleAsNeeded
Browse files Browse the repository at this point in the history
NO-TICKET: add arrow-body-style': ['error', 'as-needed']
  • Loading branch information
Nicolas Baptiste authored Dec 15, 2021
2 parents d831e19 + 74ce5f7 commit f73d3e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Change

- Added `'arrow-body-style': ['error', 'as-needed']`

## [2.2.0]

### Change
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-config/shared/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ module.exports = {
'eslint-comments/no-unlimited-disable': 'error',
'eslint-comments/no-unused-disable': 'error',
'eslint-comments/no-unused-enable': 'error',

'arrow-body-style': ['error', 'as-needed'],
},
overrides: [
{
Expand Down

0 comments on commit f73d3e5

Please sign in to comment.