Commit Graph

12 Commits

Author SHA1 Message Date
Machiste Quintana
4a8fa01e2c 🔥 Remove newlines_after_classes rule
This rule, although it would be nice, is a bit too buggy for use right now -
see https://github.com/clutchski/coffeelint/issues/245
2015-05-22 20:08:29 -04:00
Machiste Quintana
ffd3d7a61f Require 2 newlines after class definitions 2015-05-22 16:07:07 -04:00
Machisté N. Quintana
39e402d0c8 🔥 Remove space_operators rule 2015-05-22 14:18:30 -04:00
Machiste Quintana
186a9ee05a Lint for even more style errors 2015-05-21 23:12:03 -04:00
Machiste Quintana
9b8d7d46fe Lint for more styleguide errors
- Add more coffeelint rules to cover code style requirements from
CONTRIBUTING.md
2015-04-06 23:54:34 -04:00
Kevin Sawicki
1f4359d429 Treat debugger statements as lint errors 2014-09-30 13:25:55 -07:00
Desmond Brand
a20f04149c remove line_endings rule 2014-08-15 17:06:43 -07:00
Desmond Brand
ccd32cd084 💄 arrow spacing warn -> error 2014-08-15 15:57:50 -07:00
Desmond Brand
6b5d16173b 💄 more lint rules 2014-08-15 15:55:22 -07:00
Desmond Brand
590bfa0c86 💄 Tighten lint rules
coffeelint.json had some rules set to ignore, but since #3116 was merged there
are no violations of these rules in the code anymore. Tighten up the rules to
prevent those kinds of errors from creeping back in.

Test Plan:

Lint executes without finding any errors

```
$ ./script/grunt coffeelint
Running "coffeelint:src" (coffeelint) task
>> 80 files lint free.

Running "coffeelint:build" (coffeelint) task
>> 23 files lint free.

Running "coffeelint:test" (coffeelint) task
>> 40 files lint free.
Done, without errors.
```
2014-08-15 15:34:33 -07:00
Desmond Brand
1201fb6a5d ignore no_unnecessary_fat_arrows too 2014-08-11 16:32:13 -07:00
Desmond Brand
66ce001961 Move coffeelint settings to external file
The motivation is for this is to allow `coffeelint` config to be shared by
`script/grunt coffeelint`, global `coffeelint` and inline linting via
`AtomLinter`.

Test Plan:

Made some deliberate lint errors then ran `script/grunt coffeelint` and
verified the output looked the same with and without this change.
2014-08-10 21:41:55 -07:00