dart-atom / dart

A Dart plugin for Atom.
http://dart-atom.github.io/dart/
BSD 3-Clause "New" or "Revised" License
154 stars 44 forks source link

analysis_options: linter ignores excluded files #1070

Open gchumillas opened 8 years ago

gchumillas commented 8 years ago

The following configuration works well. When I open the Atom editor, it doesn't show any warning. Except when I open any of the excluded files. Then, it shows the "info" messages.

# .analysis_options
analyzer:
  strong-mode: true
  exclude:
    - test/**
linter:
  rules:
    - always_declare_return_types
    - always_specify_types

I think that Atom shouldn't print the "info" messages, even though any of those excluded files are being edited.

Additional info:

OS:                    Xubuntu 16.04
Dart VM version:       1.16.0 (Tue Apr 26 14:18:21 2016) on "linux_x64"
Pub version:           Pub 1.16.0
dartanalyzer version:  1.16.0