'VS Code Dart extension: how do I disable Dart style warnings?

I don't want to name .dart files using "lowercase_with_uderscores". How do I disable this warning in Dart VS Code extension? Moreover, when I rename my file to lowercase, it still shows the same warning each time I make changes to the file. Any idea on how to disable these warnings for good, not just for one file, but for the whole project? I know what's best for me, I'm just trying to code...

This is what I see: enter image description here



Solution 1:[1]

Just comment this highlighted line of code in the analysis_options.yaml file...

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kevin Meyer