diff --git a/.eslintrc.json b/.eslintrc.json index 751ccbc..97c6c03 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", { @@ -39,14 +38,7 @@ "import/order": [ "error", { - "groups": [ - "parent", - ["external", "sibling"], - "internal", - "builtin", - "object", - "type" - ] + "groups": [["external", "sibling"], ["parent", "internal", "builtin"], "object", "type"] } ] } diff --git a/.prettierrc.json b/.prettierrc.json index 65261d6..dea2b7a 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,5 +1,6 @@ { "trailingComma": "es5", "tabWidth": 2, - "singleQuote": true + "singleQuote": true, + "printWidth": 120 }