fix: Updated formatting rules

This commit is contained in:
Marius Begby committed 2023-07-17 12:39:05 +02:00
1 parent bcc4f8ffac
commit 22f4a22c0e
3 files changed
+14 -1

No files matched your search

+1
View File
@@ -6,3 +6,4 @@ end_of_line = crlf
insert_final_newline = true
indent_style = space
indent_size = 4
max_line_legnth = 120
+11
View File
@@ -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"],
+2 -1
View File
@@ -7,5 +7,6 @@
"trailingComma": "none",
"arrowParens": "always",
"endOfLine": "auto",
"tabWidth": 4
"tabWidth": 4,
"printWidth": 120
}