How to remove todo static analysis for Dart/Flutter projects?

Viewed 1785

Dart and flutter have a static analysis linter/tool. Most of the time I find it useful, except for TODO comments in my code. I have a different way of tracking my todos in code (beyond the static analysis tool).

How can I disable this analysis for all my todo comments? I don't want to have to add an ignore statement (ignore: todo) for each item either, like below.

Example:

// I don't want to have to do this every time.

// ignore: todo
// TODO: implement rest of class
class SomeClass {
    Object someValue;
}
1 Answers
Related