-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sorting output should be done in the CLI #19
Labels
bug
Something isn't working
help wanted
Extra attention is needed
package-cli
Involving cli package
package-core
Involving core package
Comments
boneskull
added
bug
Something isn't working
package-cli
Involving cli package
package-formatters
package-core
Involving core package
labels
Jul 15, 2019
boneskull
added a commit
that referenced
this issue
Jul 15, 2019
…es; closes #18 - do not hardcode `spec` in `.mocharc.js`; it's impossible to execute a single test file if it's there - add sourcemaps to Rollup config for debugging - fix "way too many subscriptions" to `Observable<Report>` instances - use `_.coerceToArray()` in a couple places - put `NO_FILEPATH` and `MULTIPLE_FILEPATHS` constants where they should be - import `gte` and `__` (placeholder) from `lodash/fp` - sort _before_ instantiating the `Report` object, not after (it will be moved anyway; see #19) - don't use hardcoded JSON in JSON formatter test - add some debugs - fix bad debug namespace in `rule-config.js` - refactor some logic into a new `Message` class in the inspector - rename `context` to `report` anywhere NOT in a Rule impl - remove unused `createReportWithFilepath()` - don't refuse to instantiate a `Report` from a `Report` - actually create a `Report` when inspecting (test harness) - remove dupe of `library-mismatch.spec.js`
boneskull
added a commit
that referenced
this issue
Jul 15, 2019
…es; closes #18 - do not hardcode `spec` in `.mocharc.js`; it's impossible to execute a single test file if it's there - add sourcemaps to Rollup config for debugging - fix "way too many subscriptions" to `Observable<Report>` instances - use `_.coerceToArray()` in a couple places - put `NO_FILEPATH` and `MULTIPLE_FILEPATHS` constants where they should be - import `gte` and `__` (placeholder) from `lodash/fp` - sort _before_ instantiating the `Report` object, not after (it will be moved anyway; see #19) - don't use hardcoded JSON in JSON formatter test - add some debugs - fix bad debug namespace in `rule-config.js` - refactor some logic into a new `Message` class in the inspector - rename `context` to `report` anywhere NOT in a Rule impl - remove unused `createReportWithFilepath()` - don't refuse to instantiate a `Report` from a `Report` - actually create a `Report` when inspecting (test harness) - remove dupe of `library-mismatch.spec.js`
boneskull
added a commit
that referenced
this issue
Jul 15, 2019
…es; closes #18 - do not hardcode `spec` in `.mocharc.js`; it's impossible to execute a single test file if it's there - add sourcemaps to Rollup config for debugging - fix "way too many subscriptions" to `Observable<Report>` instances - use `_.coerceToArray()` in a couple places - put `NO_FILEPATH` and `MULTIPLE_FILEPATHS` constants where they should be - import `gte` and `__` (placeholder) from `lodash/fp` - sort _before_ instantiating the `Report` object, not after (it will be moved anyway; see #19) - don't use hardcoded JSON in JSON formatter test - add some debugs - fix bad debug namespace in `rule-config.js` - refactor some logic into a new `Message` class in the inspector - rename `context` to `report` anywhere NOT in a Rule impl - remove unused `createReportWithFilepath()` - don't refuse to instantiate a `Report` from a `Report` - actually create a `Report` when inspecting (test harness) - remove dupe of `library-mismatch.spec.js`
also, IMO sorting is out-of-scope for non-CLI usage |
boneskull
changed the title
sorting output should be done at the formatter level
sorting output should be done in the CLI
Jul 17, 2019
to do this, you'd need to pull any sort-related anything out of the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
help wanted
Extra attention is needed
package-cli
Involving cli package
package-core
Involving core package
Currently, sorting is done in the core API (
toReportFromObject
), which doesn't make a lot of sense:The text was updated successfully, but these errors were encountered: