Skip to content

Commit baa01ec

Browse files
committed
Initial commit.
0 parents  commit baa01ec

File tree

8 files changed

+138
-0
lines changed

8 files changed

+138
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
packages
2+
/*/build/
3+
.pub/
4+
pubspec.lock
5+
6+
# Files generated by dart tools
7+
.dart_tool
8+
doc/

AUTHORS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Below is a list of people and organizations that have contributed
2+
# to the project. Names should be added to the list like so:
3+
#
4+
# Name/Organization <email address>
5+
6+
Google Inc.

CONTRIBUTING.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Want to contribute? Great! First, read this page (including the small print at
2+
the end).
3+
4+
### Before you contribute
5+
Before we can use your code, you must sign the
6+
[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual)
7+
(CLA), which you can do online. The CLA is necessary mainly because you own the
8+
copyright to your changes, even after your contribution becomes part of our
9+
codebase, so we need your permission to use and distribute your code. We also
10+
need to be sure of various other things—for instance that you'll tell us if you
11+
know that your code infringes on other people's patents. You don't have to sign
12+
the CLA until after you've submitted your code for review and a member has
13+
approved it, but you must do it before we can put your code into our codebase.
14+
15+
Before you start working on a larger contribution, you should get in touch with
16+
us first through the issue tracker with your idea so that we can help out and
17+
possibly guide you. Coordinating up front makes it much easier to avoid
18+
frustration later on.
19+
20+
### Code reviews
21+
All submissions, including submissions by project members, require review.
22+
23+
### File headers
24+
All files in the project must start with the following header.
25+
26+
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
27+
// for details. All rights reserved. Use of this source code is governed by a
28+
// BSD-style license that can be found in the LICENSE file.
29+
30+
### The small print
31+
Contributions made by corporations are covered by a different agreement than the
32+
one above, the
33+
[Software Grant and Corporate Contributor License Agreement](https://developers.google.com/open-source/cla/corporate).

LICENSE

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright 2017, the Dart project authors. All rights reserved.
2+
Redistribution and use in source and binary forms, with or without
3+
modification, are permitted provided that the following conditions are
4+
met:
5+
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above
9+
copyright notice, this list of conditions and the following
10+
disclaimer in the documentation and/or other materials provided
11+
with the distribution.
12+
* Neither the name of Google Inc. nor the names of its
13+
contributors may be used to endorse or promote products derived
14+
from this software without specific prior written permission.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# webdev
2+
3+
A CLI for Dart web development.

analysis_options.yaml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
analyzer:
2+
strong-mode:
3+
implicit-casts: false
4+
errors:
5+
unused_import: error
6+
unused_local_variable: error
7+
dead_code: error
8+
override_on_non_overriding_method: error
9+
linter:
10+
rules:
11+
# Errors
12+
- avoid_empty_else
13+
- await_only_futures
14+
- comment_references
15+
- control_flow_in_finally
16+
- empty_statements
17+
- hash_and_equals
18+
- iterable_contains_unrelated_type
19+
- no_duplicate_case_values
20+
- test_types_in_equals
21+
- throw_in_finally
22+
- unawaited_futures
23+
- unnecessary_statements
24+
- unrelated_type_equality_checks
25+
- valid_regexps
26+
27+
# Style
28+
- annotate_overrides
29+
- avoid_function_literals_in_foreach_calls
30+
- avoid_init_to_null
31+
- avoid_return_types_on_setters
32+
- avoid_returning_null
33+
- avoid_unused_constructor_parameters
34+
- camel_case_types
35+
- directives_ordering
36+
- empty_catches
37+
- empty_constructor_bodies
38+
- library_names
39+
- library_prefixes
40+
- non_constant_identifier_names
41+
- prefer_conditional_assignment
42+
- prefer_final_fields
43+
- prefer_is_empty
44+
- prefer_is_not_empty
45+
- prefer_typing_uninitialized_variables
46+
- recursive_getters
47+
- slash_for_doc_comments
48+
- type_init_formals
49+
- unnecessary_brace_in_string_interps
50+
- unnecessary_getters_setters
51+
- unnecessary_lambdas
52+
- unnecessary_null_aware_assignments

webdev/CHANGELOG.md

Whitespace-only changes.

webdev/pubspec.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: webdev
2+
description: A CLI for Dart web development.
3+
author: Dart Team <[email protected]>
4+
homepage: https://github.com/dart-lang/webdev
5+
6+
environment:
7+
sdk: ">=2.0.0-dev <2.0.0"
8+
9+
dev_dependencies:
10+
test: "^0.12.0"

0 commit comments

Comments
 (0)