1. 08 Apr, 2017 1 commit
    • Alexandre Ardhuin's avatar
      upgrade to linter-0.1.30 (#9297) · 610955f8
      Alexandre Ardhuin authored
      * upgrade to linter-0.1.30
      
      * add prefer_is_empty lint
      * add directives_ordering lint
      * add no_adjacent_strings_in_list lint
      * add no_duplicate_case_values lint
      * add prefer_collection_literals lint
      * add prefer_const_constructors lint
      * add prefer_contains lint
      * add prefer_initializing_formals lint
      * add unnecessary_null_aware_assignments lint
      * add unnecessary_null_in_if_null_operators lint
      610955f8
  2. 05 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Update the examples/ README and associated fixes. (#9090) · a52c7b47
      Ian Hickson authored
      This yak shave went as follows:
      
      Fix https://github.com/flutter/flutter/issues/8795 by adding stocks to
      the examples README.
      
      Notice the layers entry in that README isn't quite right either.
      Update that.
      
      Check the layers/README file is worth pointing at.
      
      Update the layers/README.
      
      Let's run some of the layer tests to see if they still work.
      
      Oops, need to update them to gradle.
      
      Ok let's try running them again.
      
      Oops, sector is broken.
      
      Add a test for sector.
      
      Fix sector. Find you need to add an assert to a const constructor.
      
      Notice we need to turn const asserts on for the analyzer.
      
      Notice the analysis_options files are out of sync with each other and
      with the full list of lints.
      
      Turn on the lints that should be on.
      
      Fix the bugs that finds.
      a52c7b47
  3. 17 Mar, 2017 1 commit
  4. 16 Mar, 2017 1 commit
  5. 04 Mar, 2017 1 commit
  6. 15 Feb, 2017 1 commit
  7. 13 Feb, 2017 2 commits
  8. 23 Jan, 2017 2 commits
  9. 13 Jan, 2017 1 commit
  10. 15 Dec, 2016 1 commit
    • John McCutchan's avatar
      DependencyChecker with tests (#7268) · 2546259a
      John McCutchan authored
      - [x] Introduce DependencyChecker which can determine if any dependencies have been modified.
      - [x] Move the DartDependencyBuilder into a separate file.
      - [x] Add unit tests for DartDependencyBuilder.
      - [x] Add unit tets for DependencyChecker
      
      Part of #7014 
      2546259a
  11. 22 Nov, 2016 1 commit
  12. 07 Nov, 2016 1 commit
  13. 07 Oct, 2016 1 commit
    • Adam Barth's avatar
      Deploy `@checked` (#6244) · 2c21d795
      Adam Barth authored
      This patch adds `@checked` everywhere is needed to remove the
      `strong_mode_invalid_method_override` strong mode error.
      2c21d795
  14. 12 Sep, 2016 1 commit
  15. 09 Sep, 2016 2 commits
    • Dan Rubel's avatar
      new flutter repo level analysis options (#5786) · 7cf47ca4
      Dan Rubel authored
      This adds and enables a raft of new analysis options for the flutter repository, many of which are commented out until we clean up our code and/or address any linter false positives.
      7cf47ca4
    • Dan Rubel's avatar
      update analysis option comments (#5785) · 5784385a
      Dan Rubel authored
      This aligns the comments and fixes some misspellings in the three related analysis options files.
      There will be a follow on PR with more controversial changes to the repo level analysis options.
      5784385a
  16. 08 Sep, 2016 1 commit
    • Dan Rubel's avatar
      flutter analyze repo analysis options (#5707) · 3ed3390d
      Dan Rubel authored
      This updates the flutter analyze command to use the .analysis_options_flutter_analyze in the repo root when either the --flutter-repo flag is supplied or the sources being analyzed reside in the flutter repo.
      3ed3390d
  17. 19 Aug, 2016 1 commit
  18. 20 May, 2016 1 commit
  19. 05 May, 2016 1 commit
    • krisgiesing's avatar
      Move global analysis options file to the repo root (#3750) · 01978d98
      krisgiesing authored
      * Move global analysis options file to the repo root
      
      Also restore the analysis options file for stocks example, since
      the global options trigger warnings on generated intl files.
      
      * Remove obsolete analysis options file for Material Gallery example
      01978d98
  20. 04 May, 2016 1 commit
  21. 28 Apr, 2016 1 commit
  22. 11 Apr, 2016 1 commit
  23. 08 Apr, 2016 1 commit
  24. 04 Apr, 2016 1 commit
  25. 14 Mar, 2016 4 commits
  26. 12 Mar, 2016 2 commits
  27. 11 Mar, 2016 3 commits
    • pq's avatar
      Migrate flutter analyze config to options. · 0aa07baf
      pq authored
      More groundwork to get `analyze` and IDE output to agree.
      
      See: https://github.com/dart-lang/sdk/issues/25723
      0aa07baf
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
    • Hixie's avatar
      Remove the _EquationMember.hashCode override · 1d035228
      Hixie authored
      Since we removed our operator== overload, we can now allow people to put
      these in collections again.
      
      Also, turn on two more analyzer lints: avoid_empty_else and hash_and_equals.
      1d035228
  28. 10 Mar, 2016 1 commit