Explorar o código

version 0.0.5

tanghongliang %!s(int64=7) %!d(string=hai) anos
pai
achega
c920d1102b
Modificáronse 3 ficheiros con 31 adicións e 7 borrados
  1. 8 5
      .gitignore
  2. 21 0
      analysis_options.yaml
  3. 2 2
      pubspec.yaml

+ 8 - 5
.gitignore

@@ -1,13 +1,16 @@
-.DS_Store
-.dart_tool/
+# See https://www.dartlang.org/guides/libraries/private-files
 
+# Files and directories created by pub
+.dart_tool/
 .packages
 .pub/
-pubspec.lock
-
 build/
+# If you're building an application, you may want to check-in your pubspec.lock
+pubspec.lock
 
-.flutter-plugins
+# Directory created by dartdoc
+# If you don't generate documentation locally you can remove this line.
+doc/api/
 
 */.idea/
 .idea/

+ 21 - 0
analysis_options.yaml

@@ -0,0 +1,21 @@
+# https://www.dartlang.org/guides/language/analysis-options
+# Source of linter options:
+# http://dart-lang.github.io/linter/lints/options/options.html
+analyzer:
+  strong-mode:
+    implicit-casts: false
+    implicit-dynamic: false
+  errors:
+    todo: ignore
+  exclude:
+    - flutter/**
+    - lib/*.dart
+
+linter:
+  rules:
+    - camel_case_types
+    - hash_and_equals
+    - iterable_contains_unrelated_type
+    - list_remove_unrelated_type
+    - unrelated_type_equality_checks
+    - valid_regexps

+ 2 - 2
pubspec.yaml

@@ -1,6 +1,6 @@
 name: flustars
-description: A new Flutter plugin.
-version: 0.0.3
+description: flustars library.
+version: 0.0.5
 author: thl <863764940@qq.com>
 homepage: https://github.com/Sky24n/flustars