- Add static code diagnostic
avoid-returning-widgets
.
- Rename all rules config items from snake_case to kebab-case with backward compatibility.
- Rework JSON report format.
- Stable null safety release.
- Changed the supported
analyzer
version to^1.4.0
. - Changed the supported
analyzer_plugin
version to^0.6.0
.
- Set min
SDK
version to2.12.0
. - Changed the supported
analyzer
version to^1.3.0
. - Changed the supported
analyzer_plugin
version to^0.5.0
. - Remove obsolete rule
prefer-trailing-comma-for-collection
,potential-null-dereference
. - Rename cli arguments:
ignore-files
toexclude
maximum-nesting
tomaximum-nesting-level
number-of-arguments
tonumber-of-parameters
- Update README.
- Add static code diagnostic
member-ordering-extended
.
- Allow configuring output directory for HTML reporter
- Fixed bug with missing CSS files in HTML report directory
- Add static code diagnostic avoid-unused-parameters
- Add Gitlab Code Quality support in Code Climate report
- Changed the support version range of the analyzer to
>=0.39.3 <0.42.0
- Add Maximum Nesting metric
- Add static code diagnostic prefer-trailing-comma
- Explained usage with Flutter in README.
- Add static code diagnostics no-equal-arguments, potential-null-dereference
- Improve HTML report
- Removed deprecated
AnalysisOptions.from
useAnalysisOptions.fromMap
instead - Removed deprecated
Config.linesOfCodeWarningLevel
useConfig.linesOfExecutableCodeWarningLevel
instead - Removed deprecated
MetricsAnalysisRecorder.startRecordFile
andMetricsAnalysisRecorder.endRecordFile
useMetricsRecordsStore.recordFile
instead - **Breaking Change:*-
MetricsAnalyzer.runAnalysis
now accept array with folder paths - Add static code anti-patterns long-parameter-list
- Set min SDK version to >=2.8.0.
- Add static code diagnostics no-equal-then-else
- Add static code anti-patterns long-method
- Add static code diagnostics provide-correct-intl-args, component-annotation-arguments-ordering
- Fix static code diagnostics member-ordering and prefer-conditional-expression
- Add static code diagnostics prefer-conditional-expressions, prefer-on-push-cd-strategy, member-ordering, no-object-declaration
- Improve static code diagnostic no-magic-number
- Set min analyzer 0.39.3
- Support analyzer_plugin 0.3.0
- Add experimental static code diagnostics binary-expression-operand-order, prefer-intl-name
- Add Number of Methods metric
- Drop dependency on resource
- Improve html report
- Set min SDK version to >=2.6.0.
- Add experimental static code diagnostics prefer-trailing-comma-for-collection, no-magic-number
- Support number of arguments metric in analyzer plugin
- Support excluding files from metrics calculation
- Improve code diagnostics double-literal-format, no-boolean-literal-compare
- Add experimental static code diagnostics newline-before-return, no-empty-block, avoid-preserve-whitespace-false
- Support cyclomatic complexity metric in analyzer plugin
- Add experimental static code diagnostics double-literal-format, no-boolean-literal-compare
- Drop dependency on built_collection
- Add set-exit-on-violation-level cli argument
- Fix get arguments count
- Add Number of Arguments metrics
- Validate root-folder argument
- Fix paths to analyze fail to validate with non-default root-folder
- Fix paths weren't validated to be inside root-folder
- Support factory constructors analysis
- Allow analyzing multiple directories
- Tweak console reporter
- Add some dartdocs
- Update readme
- Add library usage example
- Fix validate input arguments
- Improve CodeClimate report
- Added support extension methods
- Added support for CodeClimate
- Initial release