Skip to content

Commit

Permalink
Add function-call-argument-newline rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 19, 2019
1 parent 42d4c33 commit c7cc45c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
parserOptions: {
ecmaVersion: 2019,
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true
Expand Down Expand Up @@ -280,6 +280,10 @@ module.exports = {
'error',
'never'
],
'function-call-argument-newline': [
'error',
'consistent'
],
indent: [
'error',
'tab',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"simple"
],
"devDependencies": {
"ava": "^1.2.1",
"is-plain-obj": "^1.0.0",
"temp-write": "^3.1.0"
"ava": "^2.3.0",
"eslint": "^6.2.0",
"is-plain-obj": "^2.0.0",
"temp-write": "^4.0.0"
},
"peerDependencies": {
"eslint": ">=6.2.0"
Expand Down

0 comments on commit c7cc45c

Please sign in to comment.