by shados · 6y ago · 0 comments
If they were to be part of the standard, it would be another story.
{
"rules": {
"no-restricted-syntax": [
"error",
{
"selector": "TSEnumDeclaration",
"message": "Enum restricted."
},
{
"selector": "ClassDeclaration[abstract=true]",
"message": "Abstract class restricted."
},
{
"selector": "TSParameterProperty",
"message": "Parameter property restricted."
}
]
}
}
(TS decorators are already marked experimental)