update dart section - clean up invalid references

- modified invalid file names (changed to anaylsis_options.yaml)
This commit is contained in:
Casey Vega 2020-07-21 12:37:47 -07:00 committed by GitHub
parent daba819f85
commit af7101fd92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@ For some linters it is also possible to override rules on a case by case level w
- [Dockerfile](#dockerfile) - [Dockerfile](#dockerfile)
- [Terraform](#terraform) - [Terraform](#terraform)
- [CSS](#css) - [CSS](#css)
- [DART](#dart)
- [ENV](#dotenv-linter) - [ENV](#dotenv-linter)
- [Kotlin](#kotlin) - [Kotlin](#kotlin)
- [OpenAPI](#openapi) - [OpenAPI](#openapi)
@ -826,7 +827,7 @@ import package.b.*
- `.github/linters/.dart-lint.yml` - `.github/linters/.dart-lint.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/.dart-lint.yml` - File should be located at: `.github/linters/anaylsis_options.yaml`
### dartanalyzer disable single line ### dartanalyzer disable single line
@ -844,7 +845,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 `.dart-lint.yml` - You can disable entire files with the `analyzer.exclude` property in `anaylsis_options.yaml`
```dart ```dart
analyzer: analyzer: