Replies: 2 comments 1 reply
-
No, currently That being said, I personally think some configuration system might be necessary. Some people may think they want to disable This topic has been discussed occasionally and really controversial. More opinions/thoughts from lots of Deno users would be really helpful. |
Beta Was this translation helpful? Give feedback.
-
What confuses me is there are 68 'recommend' rules, but 87 rules in total. How do we use the other 20 rules? I have looked at https://lint.deno.land/ and https://github.com/denoland/deno_lint. I must be missing something obvious! The idea of having a core recommended set of rules that are always on and other rules that are turned on in a config would be great. That way there is a minimum enforced code quality/'deno code style', and people get to add any extras on top of that. I agree it should be 'opinionated as much as possible', but right now it is missing a lot of fantastic rules I would hope Deno users could agree on. Some of my favourites include:
and all the recommended rules that require type checking that can't be implemented yet. I imagine some people would hate some of them, but some should be universally loved. Ideally there could be a way for users to vote on which rules they like and dislike, just to get an idea of what people feel about them. The final say should of course go to the core devs. |
Beta Was this translation helpful? Give feedback.
-
There is a config file of the deno lint? to put all the rules on this file, like a
.eslintrc.json
.Beta Was this translation helpful? Give feedback.
All reactions