google / google/protobuf.dart

Add `// ignore_for_file: type=lint` comments to the top of generated files

Open
#803 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
572
Forks
196
Avg merge
1h 59m
Merged PRs (30d)
2

Description

Today there are some lints that will trigger on protobuf files (such as the 80 char limit lint). The only real solution is to disable those lints entirely for the whole project.

However, this package could add `// ignore_for_file: type=lint` to the top of generated files so that lints are all silenced. In general for generated code this is a good practice, to eliminate noise.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.