Skip to content

Commit

Permalink
extract .prettierrc config from .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
lowsky committed Jan 20, 2018
1 parent a34f7b9 commit 3350663
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,7 @@
"strict": 1,
"no-undef": 1,
"no-fallthrough": 1,
"react/prop-types": 2,
"prettier/prettier": ["error", {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"arrowParens": "avoid",
"semi": false,
"tabWidth": 2,
"useTabs": false
}]
"react/prop-types": 2
},
"extends": ["standard", "standard-react", "plugin:prettier/recommended"],
"env": {
Expand Down
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"arrowParens": "avoid",
"semi": false,
"tabWidth": 2,
"useTabs": false
}

0 comments on commit 3350663

Please sign in to comment.