migrate template defaults to use package:pedantic for lints (#594)

Closes #593.
diff --git a/lib/src/generators/console_full.g.dart b/lib/src/generators/console_full.g.dart
index 7e24390..ab2f57b 100644
--- a/lib/src/generators/console_full.g.dart
+++ b/lib/src/generators/console_full.g.dart
@@ -28,13 +28,14 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiMgICBleGNsdWRlOgojICAgICAtIHBhdGgvdG8vZXhjbHVkZWQvZmlsZXMvKioK

-CiMgTGludCBydWxlcyBhbmQgZG9jdW1lbnRhdGlvbiwgc2VlIGh0dHA6Ly9kYXJ0LWxhbmcuZ2l0

-aHViLmlvL2xpbnRlci9saW50cwpsaW50ZXI6CiAgcnVsZXM6CiAgICAtIGNhbmNlbF9zdWJzY3Jp

-cHRpb25zCiAgICAtIGhhc2hfYW5kX2VxdWFscwogICAgLSBpdGVyYWJsZV9jb250YWluc191bnJl

-bGF0ZWRfdHlwZQogICAgLSBsaXN0X3JlbW92ZV91bnJlbGF0ZWRfdHlwZQogICAgLSB0ZXN0X3R5

-cGVzX2luX2VxdWFscwogICAgLSB1bnJlbGF0ZWRfdHlwZV9lcXVhbGl0eV9jaGVja3MKICAgIC0g

-dmFsaWRfcmVnZXhwcwo=''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKIyAgIGV4Y2x1ZGU6

+CiMgICAgIC0gcGF0aC90by9leGNsdWRlZC9maWxlcy8qKgo=''',
   'bin/main.dart',
   'text',
   '''
@@ -51,7 +52,8 @@
 YXBwbGljYXRpb24uCiMgdmVyc2lvbjogMS4wLjAKIyBob21lcGFnZTogaHR0cHM6Ly93d3cuZXhh

 bXBsZS5jb20KIyBhdXRob3I6IF9fYXV0aG9yX18gPGVtYWlsQGV4YW1wbGUuY29tPgoKZW52aXJv

 bm1lbnQ6CiAgc2RrOiAnPj0yLjEuMCA8My4wLjAnCgojZGVwZW5kZW5jaWVzOgojICBwYXRoOiBe

-MS40LjEKCmRldl9kZXBlbmRlbmNpZXM6CiAgdGVzdDogXjEuMC4wCg==''',
+MS40LjEKCmRldl9kZXBlbmRlbmNpZXM6CiAgcGVkYW50aWM6IF4xLjAuMAogIHRlc3Q6IF4xLjAu

+MAo=''',
   'test/__projectName___test.dart',
   'text',
   '''
diff --git a/lib/src/generators/package_simple.g.dart b/lib/src/generators/package_simple.g.dart
index 048841a..faa6c4e 100644
--- a/lib/src/generators/package_simple.g.dart
+++ b/lib/src/generators/package_simple.g.dart
@@ -33,13 +33,14 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiMgICBleGNsdWRlOgojICAgICAtIHBhdGgvdG8vZXhjbHVkZWQvZmlsZXMvKioK

-CiMgTGludCBydWxlcyBhbmQgZG9jdW1lbnRhdGlvbiwgc2VlIGh0dHA6Ly9kYXJ0LWxhbmcuZ2l0

-aHViLmlvL2xpbnRlci9saW50cwpsaW50ZXI6CiAgcnVsZXM6CiAgICAtIGNhbmNlbF9zdWJzY3Jp

-cHRpb25zCiAgICAtIGhhc2hfYW5kX2VxdWFscwogICAgLSBpdGVyYWJsZV9jb250YWluc191bnJl

-bGF0ZWRfdHlwZQogICAgLSBsaXN0X3JlbW92ZV91bnJlbGF0ZWRfdHlwZQogICAgLSB0ZXN0X3R5

-cGVzX2luX2VxdWFscwogICAgLSB1bnJlbGF0ZWRfdHlwZV9lcXVhbGl0eV9jaGVja3MKICAgIC0g

-dmFsaWRfcmVnZXhwcwo=''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKIyAgIGV4Y2x1ZGU6

+CiMgICAgIC0gcGF0aC90by9leGNsdWRlZC9maWxlcy8qKgo=''',
   'example/__projectName___example.dart',
   'text',
   '''
@@ -66,8 +67,8 @@
 YXJ0IGxpYnJhcmllcyBvciBhcHBsaWNhdGlvbnMuCiMgdmVyc2lvbjogMS4wLjAKIyBob21lcGFn

 ZTogaHR0cHM6Ly93d3cuZXhhbXBsZS5jb20KIyBhdXRob3I6IF9fYXV0aG9yX18gPGVtYWlsQGV4

 YW1wbGUuY29tPgoKZW52aXJvbm1lbnQ6CiAgc2RrOiAnPj0yLjEuMCA8My4wLjAnCgojZGVwZW5k

-ZW5jaWVzOgojICBwYXRoOiBeMS40LjEKCmRldl9kZXBlbmRlbmNpZXM6CiAgdGVzdDogXjEuMC4w

-Cg==''',
+ZW5jaWVzOgojICBwYXRoOiBeMS40LjEKCmRldl9kZXBlbmRlbmNpZXM6CiAgcGVkYW50aWM6IF4x

+LjAuMAogIHRlc3Q6IF4xLjAuMAo=''',
   'test/__projectName___test.dart',
   'text',
   '''
diff --git a/lib/src/generators/server_shelf.g.dart b/lib/src/generators/server_shelf.g.dart
index 840f901..bddc262 100644
--- a/lib/src/generators/server_shelf.g.dart
+++ b/lib/src/generators/server_shelf.g.dart
@@ -28,13 +28,14 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiMgICBleGNsdWRlOgojICAgICAtIHBhdGgvdG8vZXhjbHVkZWQvZmlsZXMvKioK

-CiMgTGludCBydWxlcyBhbmQgZG9jdW1lbnRhdGlvbiwgc2VlIGh0dHA6Ly9kYXJ0LWxhbmcuZ2l0

-aHViLmlvL2xpbnRlci9saW50cwpsaW50ZXI6CiAgcnVsZXM6CiAgICAtIGNhbmNlbF9zdWJzY3Jp

-cHRpb25zCiAgICAtIGhhc2hfYW5kX2VxdWFscwogICAgLSBpdGVyYWJsZV9jb250YWluc191bnJl

-bGF0ZWRfdHlwZQogICAgLSBsaXN0X3JlbW92ZV91bnJlbGF0ZWRfdHlwZQogICAgLSB0ZXN0X3R5

-cGVzX2luX2VxdWFscwogICAgLSB1bnJlbGF0ZWRfdHlwZV9lcXVhbGl0eV9jaGVja3MKICAgIC0g

-dmFsaWRfcmVnZXhwcwo=''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKIyAgIGV4Y2x1ZGU6

+CiMgICAgIC0gcGF0aC90by9leGNsdWRlZC9maWxlcy8qKgo=''',
   'bin/server.dart',
   'text',
   '''
@@ -61,6 +62,6 @@
 bmcgdGhlIHNoZWxmIHBhY2thZ2UuCiMgdmVyc2lvbjogMS4wLjAKIyBob21lcGFnZTogaHR0cHM6

 Ly93d3cuZXhhbXBsZS5jb20KIyBhdXRob3I6IF9fYXV0aG9yX18gPGVtYWlsQGV4YW1wbGUuY29t

 PgoKZW52aXJvbm1lbnQ6CiAgc2RrOiAnPj0yLjEuMCA8My4wLjAnCgpkZXBlbmRlbmNpZXM6CiAg

-YXJnczogXjEuNC4yCiAgc2hlbGY6IF4wLjcuMgoKI2Rldl9kZXBlbmRlbmNpZXM6CiMgIHRlc3Q6

-IF4xLjAuMAo='''
+YXJnczogXjEuNC4yCiAgc2hlbGY6IF4wLjcuMgoKZGV2X2RlcGVuZGVuY2llczoKICBwZWRhbnRp

+YzogXjEuMC4wCg=='''
 ];
diff --git a/lib/src/generators/web_angular.g.dart b/lib/src/generators/web_angular.g.dart
index 8abaab8..8a31618 100644
--- a/lib/src/generators/web_angular.g.dart
+++ b/lib/src/generators/web_angular.g.dart
@@ -30,16 +30,18 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiAgZXhjbHVkZTogW2J1aWxkLyoqXQogIGVycm9yczoKICAgIHVyaV9oYXNfbm90

-X2JlZW5fZ2VuZXJhdGVkOiBpZ25vcmUKICAjIEFuZ3VsYXIgcGx1Z2luIHN1cHBvcnQgaXMgaW4g

-YmV0YS4gWW91J3JlIHdlbGNvbWUgdG8gdHJ5IGl0IGFuZCByZXBvcnQKICAjIGlzc3VlczogaHR0

-cHM6Ly9naXRodWIuY29tL2RhcnQtbGFuZy9hbmd1bGFyX2FuYWx5emVyX3BsdWdpbi9pc3N1ZXMK

-ICAjIHBsdWdpbnM6CiAgICAjIC0gYW5ndWxhcgoKIyBMaW50IHJ1bGVzIGFuZCBkb2N1bWVudGF0

-aW9uLCBzZWUgaHR0cDovL2RhcnQtbGFuZy5naXRodWIuaW8vbGludGVyL2xpbnRzCmxpbnRlcjoK

-ICBydWxlczoKICAgIC0gY2FuY2VsX3N1YnNjcmlwdGlvbnMKICAgIC0gaGFzaF9hbmRfZXF1YWxz

-CiAgICAtIGl0ZXJhYmxlX2NvbnRhaW5zX3VucmVsYXRlZF90eXBlCiAgICAtIGxpc3RfcmVtb3Zl

-X3VucmVsYXRlZF90eXBlCiAgICAtIHRlc3RfdHlwZXNfaW5fZXF1YWxzCiAgICAtIHVucmVsYXRl

-ZF90eXBlX2VxdWFsaXR5X2NoZWNrcwogICAgLSB2YWxpZF9yZWdleHBzCg==''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKICBleGNsdWRlOiBb

+YnVpbGQvKipdCiAgZXJyb3JzOgogICAgdXJpX2hhc19ub3RfYmVlbl9nZW5lcmF0ZWQ6IGlnbm9y

+ZQogICMgQW5ndWxhciBwbHVnaW4gc3VwcG9ydCBpcyBpbiBiZXRhLiBZb3UncmUgd2VsY29tZSB0

+byB0cnkgaXQgYW5kIHJlcG9ydAogICMgaXNzdWVzOiBodHRwczovL2dpdGh1Yi5jb20vZGFydC1s

+YW5nL2FuZ3VsYXJfYW5hbHl6ZXJfcGx1Z2luL2lzc3VlcwogICMgcGx1Z2luczoKICAgICMgLSBh

+bmd1bGFyCg==''',
   'lib/app_component.css',
   'text',
   '''
@@ -125,8 +127,8 @@
 CgplbnZpcm9ubWVudDoKICBzZGs6ICc+PTIuMS4wIDwzLjAuMCcKCmRlcGVuZGVuY2llczoKICBh

 bmd1bGFyOiBeNS4yLjAKICBhbmd1bGFyX2NvbXBvbmVudHM6IF4wLjExLjAKCmRldl9kZXBlbmRl

 bmNpZXM6CiAgYW5ndWxhcl90ZXN0OiBeMi4yLjAKICBidWlsZF9ydW5uZXI6IF4xLjEuMgogIGJ1

-aWxkX3Rlc3Q6IF4wLjEwLjMKICBidWlsZF93ZWJfY29tcGlsZXJzOiBeMS4wLjAKICB0ZXN0OiBe

-MS41LjEK''',
+aWxkX3Rlc3Q6IF4wLjEwLjMKICBidWlsZF93ZWJfY29tcGlsZXJzOiBeMS4wLjAKICBwZWRhbnRp

+YzogXjEuMC4wCiAgdGVzdDogXjEuNS4xCg==''',
   'test/app_test.dart',
   'text',
   '''
diff --git a/lib/src/generators/web_simple.g.dart b/lib/src/generators/web_simple.g.dart
index 693a4bd..1916b5b 100644
--- a/lib/src/generators/web_simple.g.dart
+++ b/lib/src/generators/web_simple.g.dart
@@ -28,13 +28,14 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiMgICBleGNsdWRlOgojICAgICAtIHBhdGgvdG8vZXhjbHVkZWQvZmlsZXMvKioK

-CiMgTGludCBydWxlcyBhbmQgZG9jdW1lbnRhdGlvbiwgc2VlIGh0dHA6Ly9kYXJ0LWxhbmcuZ2l0

-aHViLmlvL2xpbnRlci9saW50cwpsaW50ZXI6CiAgcnVsZXM6CiAgICAtIGNhbmNlbF9zdWJzY3Jp

-cHRpb25zCiAgICAtIGhhc2hfYW5kX2VxdWFscwogICAgLSBpdGVyYWJsZV9jb250YWluc191bnJl

-bGF0ZWRfdHlwZQogICAgLSBsaXN0X3JlbW92ZV91bnJlbGF0ZWRfdHlwZQogICAgLSB0ZXN0X3R5

-cGVzX2luX2VxdWFscwogICAgLSB1bnJlbGF0ZWRfdHlwZV9lcXVhbGl0eV9jaGVja3MKICAgIC0g

-dmFsaWRfcmVnZXhwcwo=''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKIyAgIGV4Y2x1ZGU6

+CiMgICAgIC0gcGF0aC90by9leGNsdWRlZC9maWxlcy8qKgo=''',
   'pubspec.yaml',
   'text',
   '''
@@ -43,7 +44,7 @@
 LmNvbQojYXV0aG9yOiBfX2F1dGhvcl9fIDxlbWFpbEBleGFtcGxlLmNvbT4KCmVudmlyb25tZW50

 OgogIHNkazogJz49Mi4xLjAgPDMuMC4wJwoKI2RlcGVuZGVuY2llczoKIyAgcGF0aDogXjEuNC4x

 CgpkZXZfZGVwZW5kZW5jaWVzOgogIGJ1aWxkX3J1bm5lcjogXjEuMS4yCiAgYnVpbGRfd2ViX2Nv

-bXBpbGVyczogXjEuMC4wCg==''',
+bXBpbGVyczogXjEuMC4wCiAgcGVkYW50aWM6IF4xLjAuMAo=''',
   'web/favicon.ico',
   'binary',
   '''
diff --git a/lib/src/generators/web_stagexl.g.dart b/lib/src/generators/web_stagexl.g.dart
index cc82e23..861bb44 100644
--- a/lib/src/generators/web_stagexl.g.dart
+++ b/lib/src/generators/web_stagexl.g.dart
@@ -28,13 +28,14 @@
   'analysis_options.yaml',
   'text',
   '''
-YW5hbHl6ZXI6CiMgICBleGNsdWRlOgojICAgICAtIHBhdGgvdG8vZXhjbHVkZWQvZmlsZXMvKioK

-CiMgTGludCBydWxlcyBhbmQgZG9jdW1lbnRhdGlvbiwgc2VlIGh0dHA6Ly9kYXJ0LWxhbmcuZ2l0

-aHViLmlvL2xpbnRlci9saW50cwpsaW50ZXI6CiAgcnVsZXM6CiAgICAtIGNhbmNlbF9zdWJzY3Jp

-cHRpb25zCiAgICAtIGhhc2hfYW5kX2VxdWFscwogICAgLSBpdGVyYWJsZV9jb250YWluc191bnJl

-bGF0ZWRfdHlwZQogICAgLSBsaXN0X3JlbW92ZV91bnJlbGF0ZWRfdHlwZQogICAgLSB0ZXN0X3R5

-cGVzX2luX2VxdWFscwogICAgLSB1bnJlbGF0ZWRfdHlwZV9lcXVhbGl0eV9jaGVja3MKICAgIC0g

-dmFsaWRfcmVnZXhwcwo=''',
+IyBEZWZpbmVzIGEgZGVmYXVsdCBzZXQgb2YgbGludCBydWxlcyBlbmZvcmNlZCBmb3IKIyBwcm9q

+ZWN0cyBhdCBHb29nbGUuIEZvciBkZXRhaWxzIGFuZCByYXRpb25hbGUsCiMgc2VlIGh0dHBzOi8v

+Z2l0aHViLmNvbS9kYXJ0LWxhbmcvcGVkYW50aWMjZW5hYmxlZC1saW50cy4KaW5jbHVkZTogcGFj

+a2FnZTpwZWRhbnRpYy9hbmFseXNpc19vcHRpb25zLnlhbWwKCiMgRm9yIGxpbnQgcnVsZXMgYW5k

+IGRvY3VtZW50YXRpb24sIHNlZSBodHRwOi8vZGFydC1sYW5nLmdpdGh1Yi5pby9saW50ZXIvbGlu

+dHMuCiMgVW5jb21tZW50IHRvIHNwZWNpZnkgYWRkaXRpb25hbCBydWxlcy4KIyBsaW50ZXI6CiMg

+ICBydWxlczoKIyAgICAgLSBjYW1lbF9jYXNlX3R5cGVzCgphbmFseXplcjoKIyAgIGV4Y2x1ZGU6

+CiMgICAgIC0gcGF0aC90by9leGNsdWRlZC9maWxlcy8qKgo=''',
   'pubspec.yaml',
   'text',
   '''
@@ -43,7 +44,7 @@
 YXV0aG9yOiBfX2F1dGhvcl9fIDxlbWFpbEBleGFtcGxlLmNvbT4KCmVudmlyb25tZW50OgogIHNk

 azogJz49Mi4xLjAgPDMuMC4wJwoKZGVwZW5kZW5jaWVzOgogIHN0YWdleGw6IF4xLjEuMAoKZGV2

 X2RlcGVuZGVuY2llczoKICBidWlsZF9ydW5uZXI6IF4xLjEuMgogIGJ1aWxkX3dlYl9jb21waWxl

-cnM6IF4xLjAuMAo=''',
+cnM6IF4xLjAuMAogIHBlZGFudGljOiBeMS4wLjAK''',
   'web/images/dart@1x.png',
   'binary',
   '''
diff --git a/templates/analysis_options.yaml b/templates/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/analysis_options.yaml
+++ b/templates/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/console-full/analysis_options.yaml b/templates/console-full/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/console-full/analysis_options.yaml
+++ b/templates/console-full/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/console-full/pubspec.yaml b/templates/console-full/pubspec.yaml
index ec46962..f3640fc 100644
--- a/templates/console-full/pubspec.yaml
+++ b/templates/console-full/pubspec.yaml
@@ -11,4 +11,5 @@
 #  path: ^1.4.1
 
 dev_dependencies:
+  pedantic: ^1.0.0
   test: ^1.0.0
diff --git a/templates/package-simple/analysis_options.yaml b/templates/package-simple/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/package-simple/analysis_options.yaml
+++ b/templates/package-simple/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/package-simple/pubspec.yaml b/templates/package-simple/pubspec.yaml
index 76d13a3..4ea8340 100644
--- a/templates/package-simple/pubspec.yaml
+++ b/templates/package-simple/pubspec.yaml
@@ -11,4 +11,5 @@
 #  path: ^1.4.1
 
 dev_dependencies:
+  pedantic: ^1.0.0
   test: ^1.0.0
diff --git a/templates/server-shelf/analysis_options.yaml b/templates/server-shelf/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/server-shelf/analysis_options.yaml
+++ b/templates/server-shelf/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/server-shelf/pubspec.yaml b/templates/server-shelf/pubspec.yaml
index a338938..87127fc 100644
--- a/templates/server-shelf/pubspec.yaml
+++ b/templates/server-shelf/pubspec.yaml
@@ -11,5 +11,5 @@
   args: ^1.4.2
   shelf: ^0.7.2
 
-#dev_dependencies:
-#  test: ^1.0.0
+dev_dependencies:
+  pedantic: ^1.0.0
diff --git a/templates/web-angular/analysis_options.yaml b/templates/web-angular/analysis_options.yaml
index d7333e1..80249c7 100644
--- a/templates/web-angular/analysis_options.yaml
+++ b/templates/web-angular/analysis_options.yaml
@@ -1,3 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
   exclude: [build/**]
   errors:
@@ -6,14 +17,3 @@
   # issues: https://github.com/dart-lang/angular_analyzer_plugin/issues
   # plugins:
     # - angular
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/web-angular/pubspec.yaml b/templates/web-angular/pubspec.yaml
index 37de2ff..c6b46b4 100644
--- a/templates/web-angular/pubspec.yaml
+++ b/templates/web-angular/pubspec.yaml
@@ -16,4 +16,5 @@
   build_runner: ^1.1.2
   build_test: ^0.10.3
   build_web_compilers: ^1.0.0
+  pedantic: ^1.0.0
   test: ^1.5.1
diff --git a/templates/web-simple/analysis_options.yaml b/templates/web-simple/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/web-simple/analysis_options.yaml
+++ b/templates/web-simple/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/web-simple/pubspec.yaml b/templates/web-simple/pubspec.yaml
index 2bcb3b2..c9a449c 100644
--- a/templates/web-simple/pubspec.yaml
+++ b/templates/web-simple/pubspec.yaml
@@ -13,3 +13,4 @@
 dev_dependencies:
   build_runner: ^1.1.2
   build_web_compilers: ^1.0.0
+  pedantic: ^1.0.0
diff --git a/templates/web-stagexl/analysis_options.yaml b/templates/web-stagexl/analysis_options.yaml
index 97d4b47..a686c1b 100644
--- a/templates/web-stagexl/analysis_options.yaml
+++ b/templates/web-stagexl/analysis_options.yaml
@@ -1,14 +1,14 @@
+# Defines a default set of lint rules enforced for
+# projects at Google. For details and rationale,
+# see https://github.com/dart-lang/pedantic#enabled-lints.
+include: package:pedantic/analysis_options.yaml
+
+# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
+# Uncomment to specify additional rules.
+# linter:
+#   rules:
+#     - camel_case_types
+
 analyzer:
 #   exclude:
 #     - path/to/excluded/files/**
-
-# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
-linter:
-  rules:
-    - cancel_subscriptions
-    - hash_and_equals
-    - iterable_contains_unrelated_type
-    - list_remove_unrelated_type
-    - test_types_in_equals
-    - unrelated_type_equality_checks
-    - valid_regexps
diff --git a/templates/web-stagexl/pubspec.yaml b/templates/web-stagexl/pubspec.yaml
index f6f4981..60689e9 100644
--- a/templates/web-stagexl/pubspec.yaml
+++ b/templates/web-stagexl/pubspec.yaml
@@ -13,3 +13,4 @@
 dev_dependencies:
   build_runner: ^1.1.2
   build_web_compilers: ^1.0.0
+  pedantic: ^1.0.0
diff --git a/test/validate_templates.dart b/test/validate_templates.dart
index 261935c..0a8557b 100644
--- a/test/validate_templates.dart
+++ b/test/validate_templates.dart
@@ -31,15 +31,14 @@
 final String _expectedAnalysisOptions =
     _getMetaTemplateFile('templates/analysis_options.yaml');
 final String _expectedAngularAnalysisOptions = [
-  _expectedAnalysisOptions.split('\n').take(1),
+  _expectedAnalysisOptions.split('\n').take(12),
   '  exclude: [build/**]',
   '  errors:',
   '    uri_has_not_been_generated: ignore',
   "  # Angular plugin support is in beta. You're welcome to try it and report",
   '  # issues: https://github.com/dart-lang/angular_analyzer_plugin/issues',
   '  # plugins:',
-  '    # - angular',
-  _expectedAnalysisOptions.split('\n').skip(3),
+  '    # - angular\n',
 ].expand((e) => e is Iterable ? e : [e]).join('\n');
 
 void main() {