UNPKG

@coffeelint/cli

Version:
608 lines (352 loc) 31.1 kB
## [5.2.11](https://github.com/coffeelint/coffeelint/compare/v5.2.10...v5.2.11) (2022-11-07) ### Bug Fixes * **deps:** bump yargs from 17.6.0 to 17.6.2 ([#222](https://github.com/coffeelint/coffeelint/issues/222)) ([f7c7e60](https://github.com/coffeelint/coffeelint/commit/f7c7e6024437a3fe6e9168ecd19bc2ad426b454e)) ## [5.2.10](https://github.com/coffeelint/coffeelint/compare/v5.2.9...v5.2.10) (2022-09-30) ### Bug Fixes * resolve to correct coffeelint file ([#220](https://github.com/coffeelint/coffeelint/issues/220)) ([6e02503](https://github.com/coffeelint/coffeelint/commit/6e025039fa0fd310a1a7154deca58bb3424efd09)) ## [5.2.9](https://github.com/coffeelint/coffeelint/compare/v5.2.8...v5.2.9) (2022-05-16) ### Bug Fixes * **deps:** bump glob from 8.0.1 to 8.0.3 ([#209](https://github.com/coffeelint/coffeelint/issues/209)) ([b51dafc](https://github.com/coffeelint/coffeelint/commit/b51dafc740f1a4b1a7c46ade93d862acd5d04f1f)) * **deps:** bump yargs from 17.4.1 to 17.5.1 ([#208](https://github.com/coffeelint/coffeelint/issues/208)) ([5fd34f4](https://github.com/coffeelint/coffeelint/commit/5fd34f4faf26661dde836fd3f69c3e2f44954727)) ## [5.2.8](https://github.com/coffeelint/coffeelint/compare/v5.2.7...v5.2.8) (2022-04-25) ### Bug Fixes * **deps:** bump coffeescript from 2.6.1 to 2.7.0 ([#206](https://github.com/coffeelint/coffeelint/issues/206)) ([9f0316c](https://github.com/coffeelint/coffeelint/commit/9f0316ca9e659dc9f8dde5d0106146ecb5d0a541)) ## [5.2.7](https://github.com/coffeelint/coffeelint/compare/v5.2.6...v5.2.7) (2022-04-19) ### Bug Fixes * **deps:** bump glob from 7.2.0 to 8.0.1 ([#205](https://github.com/coffeelint/coffeelint/issues/205)) ([7476704](https://github.com/coffeelint/coffeelint/commit/7476704bfd6245be9aeb7624e92db570f6048082)) ## [5.2.6](https://github.com/coffeelint/coffeelint/compare/v5.2.5...v5.2.6) (2022-04-11) ### Bug Fixes * **deps:** bump yargs from 17.4.0 to 17.4.1 ([#204](https://github.com/coffeelint/coffeelint/issues/204)) ([ed7815e](https://github.com/coffeelint/coffeelint/commit/ed7815ee81630d0bd514fd4fb6df19c3fbb70e44)) ## [5.2.5](https://github.com/coffeelint/coffeelint/compare/v5.2.4...v5.2.5) (2022-03-21) ### Bug Fixes * **deps:** bump yargs from 17.3.1 to 17.4.0 ([#200](https://github.com/coffeelint/coffeelint/issues/200)) ([ab15421](https://github.com/coffeelint/coffeelint/commit/ab154214a74d2b81d6965b64137ce81c9a1330d3)) ## [5.2.4](https://github.com/coffeelint/coffeelint/compare/v5.2.3...v5.2.4) (2022-01-27) ### Bug Fixes * **deps:** bump resolve from 1.21.0 to 1.22.0 ([#191](https://github.com/coffeelint/coffeelint/issues/191)) ([91e4186](https://github.com/coffeelint/coffeelint/commit/91e4186bc29ecb782b2482fc3a71ce48e7ddc881)) ## [5.2.3](https://github.com/coffeelint/coffeelint/compare/v5.2.2...v5.2.3) (2022-01-04) ### Bug Fixes * **deps:** bump resolve from 1.20.0 to 1.21.0 ([#189](https://github.com/coffeelint/coffeelint/issues/189)) ([466ac4b](https://github.com/coffeelint/coffeelint/commit/466ac4bb13dbe6fe19e791c1d3a90c7d10059511)) * **deps:** update all deps ([c63d425](https://github.com/coffeelint/coffeelint/commit/c63d425f46e1f8a8b080c05046cf59ef132b1750)) ## [5.2.2](https://github.com/coffeelint/coffeelint/compare/v5.2.1...v5.2.2) (2021-12-20) ### Bug Fixes * **deps:** bump ignore from 5.1.9 to 5.2.0 ([#187](https://github.com/coffeelint/coffeelint/issues/187)) ([c2f8625](https://github.com/coffeelint/coffeelint/commit/c2f8625b7ebbe97559d5ee55e7cb1267416e9e58)) ## [5.2.1](https://github.com/coffeelint/coffeelint/compare/v5.2.0...v5.2.1) (2021-12-01) ### Bug Fixes * **deps:** bump yargs from 17.2.1 to 17.3.0 ([#185](https://github.com/coffeelint/coffeelint/issues/185)) ([32f2cfd](https://github.com/coffeelint/coffeelint/commit/32f2cfd09faf94f77acf6cb1ae775c544a1bd7c7)) # [5.2.0](https://github.com/coffeelint/coffeelint/compare/v5.1.1...v5.2.0) (2021-11-07) ### Features * add "type" property to rules ([#179](https://github.com/coffeelint/coffeelint/issues/179)) ([85f38a2](https://github.com/coffeelint/coffeelint/commit/85f38a21b7bf2ff5198ed3770ae89ff8a646798b)) ## [5.1.1](https://github.com/coffeelint/coffeelint/compare/v5.1.0...v5.1.1) (2021-11-05) ### Bug Fixes * **deps:** bump ignore from 5.1.8 to 5.1.9 ([#176](https://github.com/coffeelint/coffeelint/issues/176)) ([fbdb8c9](https://github.com/coffeelint/coffeelint/commit/fbdb8c9c682bb1616e8cc6766cc23ed5e2792c82)) # [5.1.0](https://github.com/coffeelint/coffeelint/compare/v5.0.5...v5.1.0) (2021-11-01) ### Features * Allow ".coffeelintrc.json" config file ([#173](https://github.com/coffeelint/coffeelint/issues/173)) ([970fcd4](https://github.com/coffeelint/coffeelint/commit/970fcd48c15c29043b87be8b407f3b53fb495a7f)) ## [5.0.5](https://github.com/coffeelint/coffeelint/compare/v5.0.4...v5.0.5) (2021-10-18) ### Bug Fixes * **deps:** bump coffeescript from 2.6.0 to 2.6.1 ([#166](https://github.com/coffeelint/coffeelint/issues/166)) ([66c5e32](https://github.com/coffeelint/coffeelint/commit/66c5e328ab35be20cb59e00b6971bb2a4af07bc2)) ## [5.0.4](https://github.com/coffeelint/coffeelint/compare/v5.0.3...v5.0.4) (2021-09-23) ### Bug Fixes * **deps:** bump glob from 7.1.7 to 7.2.0 ([#162](https://github.com/coffeelint/coffeelint/issues/162)) ([e77d072](https://github.com/coffeelint/coffeelint/commit/e77d0729ed0c82554dea7c9d74404902938f8b5c)) * **deps:** bump yargs from 17.1.1 to 17.2.0 ([#163](https://github.com/coffeelint/coffeelint/issues/163)) ([6be6c16](https://github.com/coffeelint/coffeelint/commit/6be6c16215f84f5cfba8cd11378ac12fff104b7c)) ## [5.0.3](https://github.com/coffeelint/coffeelint/compare/v5.0.2...v5.0.3) (2021-09-20) ### Bug Fixes * **deps:** bump coffeescript from 2.5.1 to 2.6.0 ([#154](https://github.com/coffeelint/coffeelint/issues/154)) ([254351c](https://github.com/coffeelint/coffeelint/commit/254351c8c019449e176e14edc78b1f1d297f7906)) ## [5.0.2](https://github.com/coffeelint/coffeelint/compare/v5.0.1...v5.0.2) (2021-08-16) ### Bug Fixes * **deps:** bump yargs from 17.1.0 to 17.1.1 ([#146](https://github.com/coffeelint/coffeelint/issues/146)) ([d7f9085](https://github.com/coffeelint/coffeelint/commit/d7f90857e09e051e6733dd67eea0f17144f91cfb)) ## [5.0.1](https://github.com/coffeelint/coffeelint/compare/v5.0.0...v5.0.1) (2021-05-07) ### Bug Fixes * **deps:** bump glob from 7.1.6 to 7.1.7 ([#137](https://github.com/coffeelint/coffeelint/issues/137)) ([cdf451b](https://github.com/coffeelint/coffeelint/commit/cdf451b3cc342d025eea128dae0328fdbf1191cf)) # [5.0.0](https://github.com/coffeelint/coffeelint/compare/v4.1.5...v5.0.0) (2021-05-04) ### Bug Fixes * minimum node v12 ([#134](https://github.com/coffeelint/coffeelint/issues/134)) ([2f190bb](https://github.com/coffeelint/coffeelint/commit/2f190bbb0a351e3436fcb7d4ce19f87251f18115)) ### BREAKING CHANGES * drop support for node v10 ## [4.1.5](https://github.com/coffeelint/coffeelint/compare/v4.1.4...v4.1.5) (2021-05-03) ### Bug Fixes * **deps:** bump yargs from 16.2.0 to 17.0.0 ([#132](https://github.com/coffeelint/coffeelint/issues/132)) ([62369be](https://github.com/coffeelint/coffeelint/commit/62369be532c4a6a3bb5f98fc7bbf86cd32264060)) ## [4.1.4](https://github.com/coffeelint/coffeelint/compare/v4.1.3...v4.1.4) (2021-03-23) ### Bug Fixes * update deps ([1bdf866](https://github.com/coffeelint/coffeelint/commit/1bdf866521540d6ffb5b7a1201a8831295b449bd)) * update generated_coffeelint.json ([4aa1f2a](https://github.com/coffeelint/coffeelint/commit/4aa1f2acc0a57461b67f0e3c9e3debdadf41dab7)) ## [4.1.3](https://github.com/coffeelint/coffeelint/compare/v4.1.2...v4.1.3) (2021-02-12) ### Bug Fixes * **deps:** bump resolve from 1.19.0 to 1.20.0 ([#118](https://github.com/coffeelint/coffeelint/issues/118)) ([90fb2a1](https://github.com/coffeelint/coffeelint/commit/90fb2a1c4653d1cdfeda0f6011b3c53030e709c3)) ## [4.1.2](https://github.com/coffeelint/coffeelint/compare/v4.1.1...v4.1.2) (2020-11-11) ### Bug Fixes * **deps:** bump resolve from 1.18.1 to 1.19.0 ([#98](https://github.com/coffeelint/coffeelint/issues/98)) ([e602414](https://github.com/coffeelint/coffeelint/commit/e602414b5269380bb0a26f01dea73b9970eec8e1)) ## [4.1.1](https://github.com/coffeelint/coffeelint/compare/v4.1.0...v4.1.1) (2020-10-16) ### Bug Fixes * **deps:** bump yargs from 16.0.3 to 16.1.0 ([#94](https://github.com/coffeelint/coffeelint/issues/94)) ([6a21feb](https://github.com/coffeelint/coffeelint/commit/6a21febba8d09af157348e1fb2f9bf00cc6820b8)) # [4.1.0](https://github.com/coffeelint/coffeelint/compare/v4.0.0...v4.1.0) (2020-09-23) ### Features * Add rule object_shorthand ([#90](https://github.com/coffeelint/coffeelint/issues/90)) ([d586228](https://github.com/coffeelint/coffeelint/commit/d586228214fccf110c3d044e9a75ad825f5518c7)) # [4.0.0](https://github.com/coffeelint/coffeelint/compare/v3.2.10...v4.0.0) (2020-09-10) ### Bug Fixes * update deps ([3dde492](https://github.com/coffeelint/coffeelint/commit/3dde492531cd209b3c568346a0f08638a4cd69f4)) ### BREAKING CHANGES * Drop support for Node v8 ## [3.2.10](https://github.com/coffeelint/coffeelint/compare/v3.2.9...v3.2.10) (2020-07-15) ### Bug Fixes * **deps:** update dependency strip-json-comments to ^3.1.1 ([c0e112e](https://github.com/coffeelint/coffeelint/commit/c0e112e69639f8d96f1be54412d4b2ae12e87424)) ## [3.2.9](https://github.com/coffeelint/coffeelint/compare/v3.2.8...v3.2.9) (2020-07-11) ### Bug Fixes * **deps:** update dependency yargs to ^15.4.1 ([fe70faf](https://github.com/coffeelint/coffeelint/commit/fe70faf159a1d2156a19ecb14ee73ad5b21b3498)) ## [3.2.8](https://github.com/coffeelint/coffeelint/compare/v3.2.7...v3.2.8) (2020-07-03) ### Bug Fixes * **deps:** update dependency yargs to ^15.4.0 ([d252233](https://github.com/coffeelint/coffeelint/commit/d2522336e21a2b8718baa03ecf169785fbe06937)) ## [3.2.7](https://github.com/coffeelint/coffeelint/compare/v3.2.6...v3.2.7) (2020-06-11) ### Bug Fixes * **deps:** update dependency ignore to ^5.1.8 ([#68](https://github.com/coffeelint/coffeelint/issues/68)) ([dc316a4](https://github.com/coffeelint/coffeelint/commit/dc316a4a627f4b6d979d99d577ad439981f9b7f3)) * Improve max_line_length rule with comment behavior ([#67](https://github.com/coffeelint/coffeelint/issues/67)) ([aa7930a](https://github.com/coffeelint/coffeelint/commit/aa7930a9aca0e572d4e79d33e50736e7d145b034)) * **deps:** update dependency ignore to ^5.1.8 ([2a6b1d0](https://github.com/coffeelint/coffeelint/commit/2a6b1d0ef7ab74c46fe8420569496b5606eeb490)) ## [3.2.6](https://github.com/coffeelint/coffeelint/compare/v3.2.5...v3.2.6) (2020-05-23) ### Bug Fixes * **deps:** update dependency ignore to ^5.1.6 ([#63](https://github.com/coffeelint/coffeelint/issues/63)) ([a06e76e](https://github.com/coffeelint/coffeelint/commit/a06e76e5c04cd98261340cbd3a5b5ad4a9c42cc2)) ## [3.2.5](https://github.com/coffeelint/coffeelint/compare/v3.2.4...v3.2.5) (2020-05-22) ### Bug Fixes * **deps:** update dependency ignore to ^5.1.5 ([#62](https://github.com/coffeelint/coffeelint/issues/62)) ([ac86e49](https://github.com/coffeelint/coffeelint/commit/ac86e49faf9e4249bd486b1b0017433528ab0eff)) ## [3.2.4](https://github.com/coffeelint/coffeelint/compare/v3.2.3...v3.2.4) (2020-04-23) ### Bug Fixes * **deps:** update dependency resolve to ^1.17.0 ([#60](https://github.com/coffeelint/coffeelint/issues/60)) ([e42b0d1](https://github.com/coffeelint/coffeelint/commit/e42b0d1b1282674a24ae6f744b8d7f9904568337)) ## [3.2.3](https://github.com/coffeelint/coffeelint/compare/v3.2.2...v3.2.3) (2020-04-17) ### Bug Fixes * **deps:** update dependency resolve to ^1.16.1 ([#58](https://github.com/coffeelint/coffeelint/issues/58)) ([a3c5915](https://github.com/coffeelint/coffeelint/commit/a3c59152bfa76417cbabb21132be69ea78a0be68)) ## [3.2.2](https://github.com/coffeelint/coffeelint/compare/v3.2.1...v3.2.2) (2020-04-17) ### Bug Fixes * **deps:** update dependency resolve to ^1.16.0 ([#56](https://github.com/coffeelint/coffeelint/issues/56)) ([f16af4d](https://github.com/coffeelint/coffeelint/commit/f16af4d81aa4a9dfd3106d15bc94d49a8af24d2b)) ## [3.2.1](https://github.com/coffeelint/coffeelint/compare/v3.2.0...v3.2.1) (2020-04-17) ### Bug Fixes * **deps:** use semantic-release ([9c90153](https://github.com/coffeelint/coffeelint/commit/9c90153a106990f0fad4424e12b64fb7f332fdbb)) ## [3.2.0](https://github.com/coffeelint/coffeelint/compare/v3.1.3...v3.2.0) (2020-04-10) Add prefer_fat_arrows_in_methods rule. - Fix last line comment trailing semicolon [#55](https://github.com/coffeelint/coffeelint/pull/55) - Add prefer_fat_arrows_in_methods rule [#15](https://github.com/coffeelint/coffeelint/pull/15) ## [3.1.3](https://github.com/coffeelint/coffeelint/compare/v3.1.2...v3.1.3) (2020-04-08) Fix newlines_after_classes when there are blank lines before last line in class. - Fix newlines_after_classes [#52](https://github.com/coffeelint/coffeelint/pull/52) - Remove relics from coffeescript &lt;= v1.10.0 [#53](https://github.com/coffeelint/coffeelint/pull/53) ## [3.1.2](https://github.com/coffeelint/coffeelint/compare/v3.1.1...v3.1.2) (2020-04-05) Update coffeescript dependency to v2.5.1. - Update coffeescript dependency. [#50](https://github.com/coffeelint/coffeelint/pull/50) ## [3.1.1](https://github.com/coffeelint/coffeelint/compare/v3.1.0...v3.1.1) (2020-03-22) Update commandline dependency to maintained dependency. - Replace optimist with yargs. [#46](https://github.com/coffeelint/coffeelint/pull/46) ## [1.16.2](https://github.com/coffeelint/coffeelint/compare/v1.16.1...v1.16.2) (2020-02-06) First 1.x release under new npm package; to use: `npm install -g @coffeelint/cli@old` - Don’t unnecessarily print “context:” at the end of some error messages [#42](https://github.com/coffeelint/coffeelint/pull/42) ## [3.1.0](https://github.com/coffeelint/coffeelint/compare/v3.0.2...v3.1.0) (2020-02-06) Added a few rules and rules options. More bug fixes and internal updates to make developing easier. We got through the backlog of pull requests. Now on to the issues... - Add `prefer_logical_operator` rule. [#13](https://github.com/coffeelint/coffeelint/pull/13) - Add `missing_parseint_radix` rule. [#17](https://github.com/coffeelint/coffeelint/pull/17) - Add `bracket_spacing` rule. [#26](https://github.com/coffeelint/coffeelint/pull/26) - `space_operators`: add `default_parameters` option. [#16](https://github.com/coffeelint/coffeelint/pull/16) - `colon_assignment_spacing`: add `min_left` and `min_right` option. [#22](https://github.com/coffeelint/coffeelint/pull/22) - `spacing_after_comma`: add `ignore_elision` option. [#34](https://github.com/coffeelint/coffeelint/pull/34) - `braces_spacing`: add `mono_object_spaces` option. [#17](https://github.com/coffeelint/coffeelint/pull/17) - Properly double quote fields in `csv` reporter. [#14](https://github.com/coffeelint/coffeelint/pull/14) - Stop printing empty context in `checkstyle` reporter. [#12](https://github.com/coffeelint/coffeelint/pull/12) - `no_tabs` rejects tabs at the end of the line. [#20](https://github.com/coffeelint/coffeelint/pull/20) - Prevent endless loop if lineNumber is negative. [#10](https://github.com/coffeelint/coffeelint/pull/10) - Update dependency `resolve` to v1.15.1 ## [3.0.2](https://github.com/coffeelint/coffeelint/compare/v3.0.1...v3.0.2) (2020-01-22) small fixes - Bugfix for error message when a config file cannot be found. [#38](https://github.com/coffeelint/coffeelint/pull/38) - Update dependency `resolve` to v1.15.0 - Update documentation ## [3.0.1](https://github.com/coffeelint/coffeelint/compare/v3.0.0...v3.0.1) (2020-01-22) CoffeeLint has a new webpage at https://coffeelint.github.io - Update dependencies and clean up documentation ## [3.0.0](https://github.com/coffeelint/coffeelint/compare/v2.1.0...v3.0.0) (2020-01-14) CoffeeLint has a new home at https://github.com/coffeelint/coffeelint and a new npm package [@coffeelint/cli](https://www.npmjs.com/package/@coffeelint/cli). - Bugfix for error message when an unknown level is used. [#4](https://github.com/coffeelint/coffeelint/pull/4) - Bugfix for error `duplicate_key` when keys are wrapped in quotes. [#6](https://github.com/coffeelint/coffeelint/pull/6) - Add `no_spaces` rule to disallow spaces for indentation. [#7](https://github.com/coffeelint/coffeelint/pull/7) - Several enhancements, including CJSX fixes. [#8](https://github.com/coffeelint/coffeelint/pull/8) - Add rule name to default reporter. [#11](https://github.com/coffeelint/coffeelint/pull/11) ## [1.15.0](https://github.com/coffeelint/coffeelint/compare/v1.14.1...v1.15.0) (2015-11-18) This version updates the enable/disable directives. In addition to the existing `# coffeelint: disable=rule_name` you can also use `# coffeelint: disable-line=rule_name`. The rule name is still optional in both cases, and you can enable the rules using the same syntax. You can also use `# noqa` as a shortcut for `# coffeelint: disable-line` - See [#552](https://github.com/clutchski/coffeelint/pull/552) for more details. ## [1.14.1](https://github.com/coffeelint/coffeelint/compare/v1.14.0...v1.14.1) (2015-11-18) Most of the changes are more for linting the development files of coffeelint. The minor version increase is due to the change in cyclomatic_complexity, which now ignores nested functions. I foresee this change affecting very few people but probably still needs a minor version increase. - `cyclomatic_complexity` rule has been changed to ignore nested functions - 1.4.1: inlined rules not previously specified in JSON config now properly return a message ## [1.13.0](https://github.com/coffeelint/coffeelint/compare/v1.11.0...v1.13.0) (2015-10-07) The v1.12.x versions are considered buggy and you should upgrade to v1.13.x if you experience problems **These releases were largely for bugfixes!** - Bugfix for `no_implicit_braces` causing errors in classes and other edge cases - Bugfix for `ensure_comprehensions` where it failed if a nested loop had an equal sign - Bugfix for `braces_spacing` failing over generated curly braces - Several changes to `indentation` See [bffa25](https://github.com/coffeelint/coffeelint/commit/bffa2532efd8bcca5d9c1b3a9d3b5914e882dd5f) for the full list of changes. However between the release of v1.12.0 and v1.13.0, a regression was caused by fixing one of the indentation requests and as a result the change was reverted. The revert will most likely not affect too many users - Bugfix for `newlines_after_classes`, also fixed regressions caused between v1.12.0 and v1.13.0. If you have v1.12.x and are experiencing problems, please upgrade. Also note nested classes are now ignored completely - `no_this` is now compatible with `no_stand_alone_at` and will make checks against singular `this` - Bugfix for `missing_fat_arrows`, declaring a class prototype (via '::' operator) no longer fail if they don't use a fat arrow - Bugfix for `eol_last`, it now fails if there are multiple newlines at the end of a file (thanks [charlierudolph](https://github.com/charlierudolph))- - Bugfix for `arrow_spacing`, now ignores arrow spacing in empty functions (thanks [sgentle](https://github.com/sgentle)) ## [1.11.0](https://github.com/coffeelint/coffeelint/compare/v1.10.0...v1.11.0) (2015-08-19) - New config option `{ "extends": "coffeelint-config-myconfig" }` based on [eslint's shareable configs](https://eslint.org/docs/developer-guide/shareable-configs) - New rule `no_nested_string_interpolation` - New rule `no_private_function_fat_arrows` - New CLI option `--ext` to specify alternate file extensions to check - Bugfixes including tracking nested string interpolation which eleminates some misleading warnings ## [1.10.0](https://github.com/coffeelint/coffeelint/compare/v1.9.7...v1.10.0) (2015-05-31) - New option `--trimconfig`. shows the minimal config to implement your customizations. - New rule `eol_last` - New rule `no_this` (prefer @ instead) - New option in `no_debugger` to flag console calls - Many small bug fixes ## [1.9.6](https://github.com/coffeelint/coffeelint/compare/v1.9.4...v1.9.6) (2015-05-05) - Fix no_interpolation_in_single_quotes to only handle single quotes [#400](https://github.com/clutchski/coffeelint/pull/400) - Avoid non-standard String.prototype.trimRight [#401](https://github.com/clutchski/coffeelint/pull/401) - Strip comments from config file before parsing [#407](https://github.com/clutchski/coffeelint/pull/407) - missing_fat_arrows: fix constructor checking in strict mode [#409](https://github.com/clutchski/coffeelint/pull/409) - Use configfilter to expand module names ## [1.9.4](https://github.com/coffeelint/coffeelint/compare/v1.9.3...v1.9.4) (2015-04-06) - missing_fat_arrows: added strict-mode option, defaults to false - Add "empty_object_spaces" to braces_spacing ## [1.9.3](https://github.com/coffeelint/coffeelint/compare/v1.9.1...v1.9.3) (2015-03-29) - Add fat arrow to `arrow_spacing` - Fix an exception when package.json can't be parsed. ## [1.9.1](https://github.com/coffeelint/coffeelint/compare/v1.9.0...v1.9.1) (2015-02-22) - Small change to make CoffeeLint compatible with atom.io ## [1.9.0](https://github.com/coffeelint/coffeelint/compare/v1.8.1...v1.9.0) (2015-02-20) - Updated to CoffeeScript 1.9.1 thanks to swang - Fix `no_implicit_braces error` in class declarations - New rule `braces_padding` ## [1.8.1](https://github.com/coffeelint/coffeelint/compare/v1.7.1...v1.8.1) (2014-12-20) - New rule `ensure_comprehensions` (warn by default) - Added options to [transform](https://github.com/coffeelint/coffeelint/blob/master/doc/user.md#how-do-i-use-jsx-reactjs) code before processing it. (JSX support) or to use a different [flavor of CoffeeScript](https://github.com/coffeelint/coffeelint/blob/master/doc/user.md#what-about-different-flavors-of-coffeescript-like-icedcoffeescript). - New rule `transform_messes_up_line_numbers`. This simply tells you if a transform you're using changes the total number of lines in the file. ## [1.7.1](https://github.com/coffeelint/coffeelint/compare/v1.7.0...v1.7.1) (2014-12-15) - Fix for `spacing_after_comma` so that newlines count as space after commas ## [1.7.0](https://github.com/coffeelint/coffeelint/compare/v1.6.0...v1.7.0) (2014-12-12) - New rule `spacing_after_comma` - Indentation improvements - Fix Block RegExp triggering in `no_unnecessary_double_quotes` ## [1.6.0](https://github.com/coffeelint/coffeelint/compare/v1.5.7...v1.6.0) (2014-08-30) - New rule `prefer_english_operator` - New behavior `.coffeelintignore` works just like a .gitignore - Exposed `ErrorReporter` to 3rd parties so reporters can be used outside our CLI implementation. See [#330](https://github.com/clutchski/coffeelint/pull/330) for details - Linting from STDIN will look for config files. - `-f` option can specify a package.json that contains `coffeelintConfig` - Depricated `--no-color` in favor of new `--color=<always/never/auto>` option - Fixed an indentation bug when you have a blank line in the middle of a chained call. ## [1.5.5](https://github.com/coffeelint/coffeelint/compare/v1.5.3...v1.5.5) (2014-08-12) - [#317](https://github.com/clutchski/coffeelint/pull/317) Change $HOME search priority to account for non-default windows users. - [#320](https://github.com/clutchski/coffeelint/pull/320) Remove support for chaining calls using a dot at the end of a line. - Removed extra messages that broke XML output. ## [1.5.3](https://github.com/coffeelint/coffeelint/compare/v1.5.2...v1.5.3) (2014-08-08) - Indentation improvements for chained calls. See [#285](https://github.com/clutchski/coffeelint/pull/285) - Fixed some missing cases for `space_operators` - Fix for a last-line edge case in `no_implicit_parens` - Fixed trailing semicolons in multi-line strings with multiple embedded tokens ## [1.5.2](https://github.com/coffeelint/coffeelint/compare/v1.5.0...v1.5.2) (2014-06-07) - [#280](https://github.com/clutchski/coffeelint/pull/280) Fix for fat-arrow false positives. It was producing errors when the class is defined inside a function (AMD style) - MANY indentation fixes. See [#282](https://github.com/clutchski/coffeelint/pull/282). ## [1.5.0](https://github.com/coffeelint/coffeelint/compare/v1.4.1...v1.5.0) (2014-05-28) - New: --cache and coffeelint.setCache(obj) - Rule module loading is not limited to running from the commandline. See [#279](https://github.com/clutchski/coffeelint/pull/279) - Fix for [#173](https://github.com/clutchski/coffeelint/pull/173): Empty functions surrounded by parens don't require spacing. - Fix for [#271](https://github.com/clutchski/coffeelint/pull/271): trailing semicolons multiline strings are ignored - Fix for [#214](https://github.com/clutchski/coffeelint/pull/214): `no_unnecessary_fat_arrows` doesn't trigger if the function contains super. ## [1.4.0](https://github.com/coffeelint/coffeelint/compare/v1.3.0...v1.4.0) (2014-05-16) - Similar to grunt-cli, the coffeelint command will now load the project-specific version of coffeelint if there is one there. - 3rd party rules don't have to be globally installed any more. - Added --reporter option that also supports 3rd party reporters. [coffeelint-stylish](https://github.com/janraasch/coffeelint-stylish) is the first one available. - Documentation for [new users](https://github.com/coffeelint/coffeelint/blob/master/doc/user.md) and [3rd party developers](https://github.com/coffeelint/coffeelint/blob/master/doc/integration.md). ## [1.3.0](https://github.com/coffeelint/coffeelint/compare/v1.2.0...v1.3.0) (2014-04-17) - New rule `no_empty_functions` - Improved documentation on how to contribute in README.md - Rules using the AST work with a minified version of CoffeeScript - Fixed line length check to account for windows line endings ## [1.2.0](https://github.com/coffeelint/coffeelint/compare/v1.1.0...v1.2.0) (2014-03-07) - New rule `no_debugger` - New rule `no_interpolation_in_single_quotes` - New rule `no_unnecessary_double_quotes` - Strict mode for `no_implicit_parens`. Turning it off allows implicit parens when they span multiple lines. ## [1.1.0](https://github.com/coffeelint/coffeelint/compare/v1.0.8...v1.1.0) (2014-02-22) - CoffeeScript 1.7 support - Dropped support for CoffeeScript 1.6. (Use ~1.0.0 if you still need it) ## [1.0.0](https://github.com/coffeelint/coffeelint/compare/v0.6.0...v1.0.0) (2013-11-21) - CoffeeLint will detect config files by default. - New rule `colon_assignment_spacing` - New rule `no_unnecessary_fat_arrows` - New rule `missing_fat_arrows` - Added an option to `no_trailing_whitespace` to forbid trailing space on empty lines - Added an option to `no_implicit_braces` to allow unambiguous implicit braces - Fixed --makeconfig - New option: --checkstyle - Fixed invalid XML produced by --jslint - Removed the need for the -r flag. It remains for backward compatibility but doesn't do anything now ## [0.6.0](https://github.com/coffeelint/coffeelint/compare/v0.5.7...v0.6.0) (2013-10-10) - New internal structure to support custom rules. - Dropped support for NodeJS 0.6. ## [0.5.7](https://github.com/coffeelint/coffeelint/compare/v0.5.6...v0.5.7) (2013-08-10) - CSVReporter now has a column for last line to account for cyclomatic complexity spanning the length of the function - Added support for literate CoffeeScript - Dropped support for CoffeeScript 1.4 and 1.5 - Fixed `non_empty_constructor_needs_parens` for namespaced constructors - Simplified the build process to allow installing direct from the git repo - More fixes to indentation checking (continued https://github.com/clutchski/coffeelint/issues/107) - Fixed spacing error when returning negative numbers (https://github.com/clutchski/coffeelint/issues/129) - Fixed arrow spacing in callback parameters (https://github.com/clutchski/coffeelint/issues/131) - Added beginning and end line numbers for cyclomatic complexity (https://github.com/clutchski/coffeelint/pull/134) - Added header to CSVReporter - Fixes for `space_operators`(https://github.com/clutchski/coffeelint/issues/137) ## [0.5.6](https://github.com/coffeelint/coffeelint/compare/v0.5.4...v0.5.6) (2013-06-07) - Added `no_empty_param_list` rule. - Added the `--makeconfig` option. - CoffeeScript 1.5 and 1.6 compatibility - Fixed indentation of chained functions. (https://github.com/clutchski/coffeelint/issues/107, fixed 1/2 of [#4](https://github.com/clutchski/coffeelint/pull/4)) - Fixed bug in `no_stand_alone_at` (https://github.com/jashkenas/coffee-script/issues/1601) - Added `arrow_spacing` rule (require spaces around arrows) - Added `empty_constructor_needs_parens` - Added `non_empty_constructor_needs_parens` - Added `duplicate_key` (https://jslinterrors.com/duplicate-key-a/) - Added `no_trailing_whitespace.allowed_in_comments` rule option (Allow trailing space in comments. Created to allow markdown) - Added `newlines_after_classes` rule - Line length exception. Lines containing only a link are ignored. ## [0.5.4](https://github.com/coffeelint/coffeelint/compare/v0.5.3...v0.5.4) (2012-11-06) - Support for default configuration file using environment variable `COFFEELINT_CONFIG`. ## [0.5.3](https://github.com/coffeelint/coffeelint/compare/v0.5.2...v0.5.3) (2012-11-06) - Added `no_stand_alone_at` rule. - Fixed correctly reporting line numbers of compilation errors after line 10. - Fixed incomplete results output. ## [0.5.2](https://github.com/coffeelint/coffeelint/compare/v0.5.1...v0.5.2) (2012-09-18) - Added `--nocolor` option. - My main man ruddzw fixed issue [#58](https://github.com/clutchski/coffeelint/pull/58), in which the `-q` option was suppressing information even when it was off. - Fixed broken `jslint` option. - The `no_trailing_semicolons` rule now works on Windows files. ## [0.5.1](https://github.com/coffeelint/coffeelint/compare/v0.5.0...v0.5.1) (2012-09-15) - Show CoffeeScript syntax errors in the same manner as lint errors. - Brad Dunbar added the `-q` command line option, which only prints errors. ## [0.5.0](https://github.com/coffeelint/coffeelint/compare/v0.4.0...v0.5.0) (2012-09-08) - Lint code from stdin with the `--stdin` option, thanks to sjz. - Added the `no_implicit_parens` rule. - Leandro Ostera added the `--jslint` reporter, to allow CoffeeLint to integrate with the Jenkin's violations plugin. - Implicit braces are always allowed in in class defiinitions, thanks to Omar Khan. - CoffeeLint now requires CoffeeScript 1.3.3 ## 0.4.0 (2012-04-06) - Added fancy coloured output and proper CSV output. - Directories can be recursively linted. - Added the `line endings` rule. - Rewrote the command line tool in CoffeeScript. ## 0.3.0 (2012-03-13) - Added the `no_backticks` rule. - Colorized the command line output. - Added validation for the rule names. - Allowed windows line endings, thanks to <a href="https://github.com/szinsli">szinsli</a>. ## 0.2.0 (2012-01-26) - Added warnings, which will be reported, but won't fail the command line tool. ## 0.1.0 (2012-01-22) - Initial CoffeeLint release.