Skip to content

vicb/dart_strict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dart_strict

With reference to Analysis engine ‘strict’ mode - a proposal

Requirements

A working Dart installation

Usage

  • Take a note of your /path/to/dart-sdk
$ git clone https://github.com/myitcv/dart_strict.git
$ cd dart_strict
$ pub get
$ dart dart_strict.dart /home/myitcv/darts/dart-sdk _test_files/test1.dart
[1:1] Missing a return type for function 'blah1'
[1:7] Parameter 'a' is missing a type annotation
[10:3] Variable declaration is missing a type annotation
[11:3] Variable declaration is missing a type annotation
$ echo $?
1

TODO

  • Clean up code
  • Complete implementation of SE1 (relaxed version)
  • Implement SE2 and SE3
  • Integrate with Dart Analysis Engine (see this thread) which may mean this is no longer a standalone process

About

Strict type analysis in your Dart code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published