Closed jacehensley-wf closed 7 years ago
Proposed solution for https://github.com/dart-atom/dartlang/issues/940. How It Was Fixed: Add configuration options for maxIssuesPerFile and maxIssuesPerProject. Had to bump the order of the options after that. Change the const variables _maxIssuesPerFile and _maxIssuesPerProject to be getters. They can no longer be const because they can be updated. Use the values from the configuration options in the getters. Testing Suggestions: Pull down this branch: See that you can change the max issues displayed per project and file. Change them. Run Reanalyze Sources Create enough errors that they get truncated by the max values. See that get get truncated at the provided values.
Proposed solution for https://github.com/dart-atom/dartlang/issues/940.
maxIssuesPerFile
maxIssuesPerProject
order
const
_maxIssuesPerFile
_maxIssuesPerProject
Reanalyze Sources
FYA: @devoncarew
Sorry for the delay! lgtm
Landed this, but local testing show a bunch of regressions re: our dart-js interop code...
(not related to this PR)
FYA: @devoncarew