43081j / 43081j/eslint-plugin-wc
Possibly update no-constructor-params rule to allow optional params
Open
- Dominant language
- TypeScript
- Stars
- 113
- Forks
- 19
- Avg merge
- 3h 14m
- Merged PRs (30d)
- 2
Description
You could in theory have constructor parameters as long as they are optional:
```ts
class Foo extends HTMLElement {
constructor(a?: string, b?: string) {
// fine
}
}
```
We could update the rule to check for this and allow it
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.