description |
---|
Enforce consistent spacing before and after keywords. |
🛑 This file is source code, not the primary documentation location! 🛑
See https://typescript-eslint.io/rules/keyword-spacing for documentation.
This rule extends the base eslint/keyword-spacing
rule.
This version adds support for generic type parameters on function calls.
{
// note you must disable the base rule as it can report incorrect errors
"keyword-spacing": "off",
"@typescript-eslint/keyword-spacing": ["error"]
}
See eslint/keyword-spacing
options.
Taken with ❤️ from ESLint core