stencil-community / stencil-eslint

ESLint rules specific to Stencil JS projects
MIT License
57 stars 31 forks source link

TODO rules #1

Open manucorporat opened 5 years ago

manucorporat commented 5 years ago

Pending rules:

Naming:

Code quality

manucorporat commented 5 years ago

Help wanted!

Serabe commented 5 years ago

For arrays, we can suggest using ReadonlyArray<T> instead of T[] and for objects we have the mapped type Readonly<T>. That way, the checker can be simplified.

manucorporat commented 5 years ago

That's a great idea @Serabe ! and easy enough to implement

chimon2000 commented 4 years ago

@manucorporat would it be better to split these rules out to individual issues? I see some have been added but the list hasn't been updated.

d0whc3r commented 4 years ago

I just created a pull request with some rules and tests https://github.com/ionic-team/stencil-eslint/pull/2