mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
updated eslint config
This commit is contained in:
parent
616f011ef0
commit
da9b59c1a3
@ -7,7 +7,7 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
// General rules that apply to all files
|
// General rules that apply to all files
|
||||||
"eqeqeq": ["error", "always"], // Enforces the use of === and !== instead of == and !=
|
"eqeqeq": ["error", "always"], // Enforces the use of === and !== instead of == and !=
|
||||||
"curly": ["error", "all"], // Requires curly braces for all control statements
|
"curly": [2, "multi-line"], // Enforce curly braces for multi-line control statements
|
||||||
"indent": ["error", 2], // Enforces a 2-space indentation
|
"indent": ["error", 2], // Enforces a 2-space indentation
|
||||||
"quotes": ["error", "single"], // Enforces the use of single quotes for strings
|
"quotes": ["error", "single"], // Enforces the use of single quotes for strings
|
||||||
"semi": ["error", "always"], // Requires semicolons at the end of statements
|
"semi": ["error", "always"], // Requires semicolons at the end of statements
|
||||||
|
Loading…
Reference in New Issue
Block a user