Update disabling-linters.md

This commit is contained in:
Lukas Gravley 2020-08-06 11:14:01 -05:00 committed by GitHub
parent 5ffa5518db
commit af7c3071d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,9 +243,9 @@ a {
### dartanalyzer standard Config file ### dartanalyzer standard Config file
- `.github/linters/.dart-lint.yml` - `.github/linters/analysis_options.yml`
- You can pass multiple rules and overwrite default rules - You can pass multiple rules and overwrite default rules
- File should be located at: `.github/linters/analysis_options.yaml` - File should be located at: `.github/linters/analysis_options.yml`
### dartanalyzer disable single line ### dartanalyzer disable single line
@ -263,7 +263,7 @@ int x = ''; // ignore: invalid_assignment
### dartanalyzer disable entire file ### dartanalyzer disable entire file
- You can disable entire files with the `analyzer.exclude` property in `analysis_options.yaml` - You can disable entire files with the `analyzer.exclude` property in `analysis_options.yml`
```dart ```dart
analyzer: analyzer: