mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
update dart section - clean up invalid references
- modified invalid file names (changed to anaylsis_options.yaml)
This commit is contained in:
parent
daba819f85
commit
af7101fd92
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue