Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Formatter: Path to custom formatters #455

Open
am11 opened this Issue · 1 comment

2 participants

@am11

In JsHint npm, the CLI option --reporter takes /path/to/my/custom/reporter.js.

In TsLint npm, the CLI option --formatters-dir takes /path/to/my/custom/formatter/ and --format takes name of my formatter (without js extension).

In JSCS, it would be --reporter /path/to/reporter.js.

Please add an option in CSSLint, so we can render the output with custom reporter situated at different location than the reporters directory under lib. See TsLint's implementation: https://github.com/palantir/tslint/blob/master/src/formatterLoader.ts and JSCS: am11/node-jscs@e5bdcdf

Thanks.

@am11

@nschonni, what is the relationship between formatter and reporter? In TsLint they have formatters and JsHint call the same thing as reporter. Here we have both in CSSLint.js. Or are they mutually exclusive concepts here?

@am11 am11 referenced this issue in madskristensen/WebEssentials2013
Closed

Investigate CoffeeLint #655

@nschonni nschonni self-assigned this
@nschonni nschonni added the Formatters label
@nschonni nschonni was unassigned by am11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.