diff --git a/.editorconfig b/.editorconfig index 311c301..edb2837 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,3 +6,4 @@ end_of_line = crlf insert_final_newline = true indent_style = space indent_size = 4 +max_line_legnth = 120 diff --git a/.eslintrc.json b/.eslintrc.json index 1cda418..853c74b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -9,6 +9,17 @@ }, "rules": { "indent": ["error", 4, { "SwitchCase": 1 }], + "max-len": [ + "error", + { + "code": 120, + "ignoreTemplateLiterals": true, + "ignoreStrings": true, + "ignoreComments": true, + "ignoreRegExpLiterals": true, + "ignoreUrls": true + } + ], "linebreak-style": ["error", "windows"], "quotes": ["error", "single"], "semi": ["error", "always"], diff --git a/.prettierrc b/.prettierrc index 3b68416..f723216 100644 --- a/.prettierrc +++ b/.prettierrc @@ -7,5 +7,6 @@ "trailingComma": "none", "arrowParens": "always", "endOfLine": "auto", - "tabWidth": 4 + "tabWidth": 4, + "printWidth": 120 }