Skip to content

Commit

Permalink
Change defaults for trailingComma and arrowParens
Browse files Browse the repository at this point in the history
  • Loading branch information
haydn committed Nov 16, 2020
1 parent 31b0c78 commit 47d8b43
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,28 @@
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "none",
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
"arrowParens": "always",
"overrides": [
{
"files": [
"src/Editor.js",
"src/index.js",
"src/layers.js",
"src/layers.test.js",
"src/pushID.js",
"src/reorder.js",
"src/reorder.test.js",
"src/useKeys.js"
],
"options": {
"trailingComma": "none",
"arrowParens": "avoid"
}
}
]
},
"eslintConfig": {
"extends": [
Expand Down

1 comment on commit 47d8b43

@vercel
Copy link

@vercel vercel bot commented on 47d8b43 Nov 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.