added rule no-trailing-spaces (#1307)

This commit is contained in:
Greenlamp2 2024-05-24 01:45:04 +02:00 committed by GitHub
parent 68e94845ab
commit e2be6ba002
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
113 changed files with 771 additions and 767 deletions

View File

@ -22,7 +22,11 @@
"@typescript-eslint/no-extra-semi": ["error"], // Disallows unnecessary semicolons for TypeScript-specific syntax
"brace-style": "off", // Note: you must disable the base rule as it can report incorrect errors
"curly": ["error", "all"], // Enforces the use of curly braces for all control statements
"@typescript-eslint/brace-style": ["error", "1tbs"]
"@typescript-eslint/brace-style": ["error", "1tbs"],
"no-trailing-spaces": ["error", { // Disallows trailing whitespace at the end of lines
"skipBlankLines": false, // Enforces the rule even on blank lines
"ignoreComments": false // Enforces the rule on lines containing comments
}]
}
}
]