vapabase
vapabase•9mo ago

Default Lint Rules

Is there a list of the lint rules that are applied by default. When I look at the documentation it mentions all of the recommended rules. I'm migrating some node code, and would like to apply the same rules in node, before I migrate the code to Deno, as that will reduce any friction, and I seem to have some relaxed typing here and there which I'd like to resolve, then migrate.
1 Reply
Deno AI Helper
Deno AI Helper•9mo ago
Yes, there is a list of lint rules that are applied by default in Deno. The documentation states that by default, deno lint will run with all recommended lint rules enabled. To see a complete list of supported rules, you can visit the deno_lint rule documentation. This should provide you with the information you need to align your Node code with Deno's default linting standards before migration. To access the list of default lint rules, you can follow this link: the deno_lint rule documentation. 🦕 Remember, you can also customize the behavior of deno lint using CLI flags like --rules-exclude, --rules-include, and --rules-tags if you need to match the linting rules more closely with your current Node setup.