Skip to content

Commit

Permalink
dev: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
paulRbr committed Apr 27, 2021
1 parent d2d79ce commit 5d21f64
Show file tree
Hide file tree
Showing 4 changed files with 1,210 additions and 1,376 deletions.
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"oclif",
"oclif-typescript"
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
]
}
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 90,
"tabWidth": 2
}
Loading

0 comments on commit 5d21f64

Please sign in to comment.