Skip to content

Commit

Permalink
stop ignoring no_leading_underscores_for_library_prefixes in build sc…
Browse files Browse the repository at this point in the history
…ripts, code_builder does it (#3349)
  • Loading branch information
jakemac53 committed Aug 3, 2022
1 parent 7eb3087 commit 2dcbb05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions build_runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.2.1-dev

- Stop ignoring the no_leading_underscores_for_library_prefixes lint in
generated build scripts, code_builder now does this for you.

## 2.2.0

- Support global 'runs_before' configuration for builders. This allows users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Future<String> _generateBuildScript() async {
}
content
..writeln('// ignore_for_file: directives_ordering')
..writeln(
'// ignore_for_file: no_leading_underscores_for_library_prefixes')
..writeln(library.accept(emitter));

return DartFormatter().format(content.toString());
Expand Down
2 changes: 1 addition & 1 deletion build_runner/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build_runner
version: 2.2.0
version: 2.2.1-dev
description: A build system for Dart code generation and modular compilation.
repository: https://github.com/dart-lang/build/tree/master/build_runner

Expand Down

0 comments on commit 2dcbb05

Please sign in to comment.