mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
fix: Updated formatting rules
This commit is contained in:
1 parent
bcc4f8ffac
commit
22f4a22c0e
3 files changed
+14
-1
No files matched your search
@@ -6,3 +6,4 @@ end_of_line = crlf
|
|||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
max_line_legnth = 120
|
||||||
@@ -9,6 +9,17 @@
|
|||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"indent": ["error", 4, { "SwitchCase": 1 }],
|
"indent": ["error", 4, { "SwitchCase": 1 }],
|
||||||
|
"max-len": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"code": 120,
|
||||||
|
"ignoreTemplateLiterals": true,
|
||||||
|
"ignoreStrings": true,
|
||||||
|
"ignoreComments": true,
|
||||||
|
"ignoreRegExpLiterals": true,
|
||||||
|
"ignoreUrls": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"linebreak-style": ["error", "windows"],
|
"linebreak-style": ["error", "windows"],
|
||||||
"quotes": ["error", "single"],
|
"quotes": ["error", "single"],
|
||||||
"semi": ["error", "always"],
|
"semi": ["error", "always"],
|
||||||
|
|||||||
+2
-1
@@ -7,5 +7,6 @@
|
|||||||
"trailingComma": "none",
|
"trailingComma": "none",
|
||||||
"arrowParens": "always",
|
"arrowParens": "always",
|
||||||
"endOfLine": "auto",
|
"endOfLine": "auto",
|
||||||
"tabWidth": 4
|
"tabWidth": 4,
|
||||||
|
"printWidth": 120
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user