You should never lint for Yoda conditions.
If you have a linter, you should lint for assignment inside conditionals.
Yoda conditions are a convention that prevents you from accidentally assigning when you meant to compare. A linter is just a better tool for this.