Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

allow trivial arrow functions, useful for mapping functions where e.g… #47

Merged
merged 1 commit into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
multiline: true,
minItems: 1
}],
'arrow-body-style': ['error', 'always'],
'arrow-body-style': 'error',
'arrow-parens': 'error',
'arrow-spacing': 'error',
'block-scoped-var': 'error',
Expand Down
4 changes: 2 additions & 2 deletions configs/proper-arrows.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ module.exports = {
ternatry: true,
chained: true,
sequence: true,
trivial: true
trivial: false
}],
'@getify/proper-arrows/this': ['error', 'nested', {
'no-global': true,
trivial: true
trivial: false
}]
}
};