Skip to content

Commit 22ea846

Browse files
committed
updated template
1 parent e762a24 commit 22ea846

File tree

7 files changed

+10
-22
lines changed

7 files changed

+10
-22
lines changed

.github/workflows/dart_build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ on:
99

1010
jobs:
1111
build:
12-
1312
runs-on: ubuntu-latest
14-
1513
container:
1614
image: google/dart:latest
1715

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2021, MarchDev Toolkit
3+
Copyright (c) 2022, MarchDev Toolkit
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

analysis_options.yaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
# Defines a default set of lint rules enforced for
2-
# projects at Google. For details and rationale,
3-
# see https://github.com/dart-lang/pedantic#enabled-lints.
4-
include: package:pedantic/analysis_options.1.8.0.yaml
1+
include: package:flutter_lints/flutter.yaml
52

6-
# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
7-
# Uncomment to specify additional rules.
8-
# linter:
9-
# rules:
10-
# - camel_case_types
11-
12-
# analyzer:
13-
# exclude:
14-
# - path/to/excluded/files/**
3+
linter:
4+
rules:
5+
avoid_print: false
6+
prefer_single_quotes: true

example/bin/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, the MarchDev Toolkit project authors. Please see the AUTHORS file
1+
// Copyright (c) 2022, the MarchDev Toolkit project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

lib/dart_package_template.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// Copyright (c) 2020, the MarchDev Toolkit project authors. Please see the AUTHORS file
1+
// Copyright (c) 2022, the MarchDev Toolkit project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

55
library dart_package_template;
6-
7-

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ environment:
1111
dependencies:
1212

1313
dev_dependencies:
14-
pedantic: ^1.11.0
14+
flutter_lints: ^1.0.0
1515
test: ^1.16.5

test/dart_package_template_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, the MarchDev Toolkit project authors. Please see the AUTHORS file
1+
// Copyright (c) 2022, the MarchDev Toolkit project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

0 commit comments

Comments
 (0)