Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deno Lint - Disable / add rules to linter


currently I'm developing the backend of my website with Deno in Typescript and I am using their linter Deno lint.
But since the beginning of my new project, I can't find out how to modify the linter properly.

Deno lint doc says that its supporting most eslint rules and my goal would be to add some rules like eol-last or eslint semi.

Does anybody has some experince with deno and it's linter and wants to share it?

like image 580
Robert Fent Avatar asked Nov 06 '22 04:11

Robert Fent


1 Answers

Now you can use // deno-lint-ignore-file or // deno-lint-ignore <codes...>.

like image 176
justjavac Avatar answered Nov 25 '22 00:11

justjavac