Skip to content

Commit

Permalink
Add eslint; test destruction for function components
Browse files Browse the repository at this point in the history
  • Loading branch information
edsrzf committed May 14, 2021
1 parent b74429e commit 3295dac
Show file tree
Hide file tree
Showing 6 changed files with 1,078 additions and 231 deletions.
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/ban-types": "off"
}
}
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parser": "typescript",
"arrowParens": "avoid",
"semi": true,
"singleQuote": true,
"trailingComma": "all"
}
Loading

0 comments on commit 3295dac

Please sign in to comment.