Skip to content

Commit

Permalink
Add lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
RodBrowning committed Jul 14, 2022
1 parent 5d42b14 commit c732246
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"arrow-body-style": ["error", "always"],
"react/function-component-definition": [
2,
{ "namedComponents": "arrow-function" }
],
"no-multiple-empty-lines": "error",
"no-trailing-spaces": "error",
"react/function-component-definition": [2, { "namedComponents": "arrow-function" }],
"sort-imports": [
"error",
{
Expand All @@ -39,14 +38,7 @@
"import/order": [
"error",
{
"groups": [
"parent",
["external", "sibling"],
"internal",
"builtin",
"object",
"type"
]
"groups": [["external", "sibling"], ["parent", "internal", "builtin"], "object", "type"]
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true
"singleQuote": true,
"printWidth": 120
}

0 comments on commit c732246

Please sign in to comment.