Skip to content

Commit

Permalink
Fix eslint config with pretter
Browse files Browse the repository at this point in the history
  • Loading branch information
mori-atsushi committed Mar 26, 2019
1 parent 78eae24 commit 8db65fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "prettier"],
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
Expand Down Expand Up @@ -33,8 +33,8 @@
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"airbnb",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"airbnb"
"plugin:prettier/recommended"
]
}
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
printWidth: 80,
tabWidth: 2,
};

0 comments on commit 8db65fd

Please sign in to comment.