Skip to content

Commit ad7209f

Browse files
pdanpdanrstoenescu
authored andcommitted
Enforce ESLint arrow-parens as-needed (quasarframework#1947)
1 parent f45d51c commit ad7209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
],
2323
// add your custom rules here
2424
'rules': {
25-
'arrow-parens': 0,
25+
'arrow-parens': [2, 'as-needed'],
2626
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
2727
'one-var': 0,
2828
'import/first': 0,

0 commit comments

Comments
 (0)