Commit Graph

6 Commits

Author SHA1 Message Date
JP Simard b83e0991b9 Remove all file headers
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
Ornithologist Coder c4b0053ed0 Adds fitBehavesLike and xitBehavesLike 2017-10-16 06:48:56 +02:00
Ornithologist Coder 61e19ea47f Adds [f,x]{describe, context, it} to Quick Call rule
* fdescribe
* fcontext
* fi
* xdescribe
* xcontext
* xit

are valid Quick calls and should not trigger this violation.

There should be another SwiftLint rule to discourage the use of focused
tests, so people don't commit and push code with focused tests.
2017-10-15 16:31:06 +02:00
Ornithologist Coder fe96e4139a Improve validation
* Apply 'cheap' validation earlier. It's not a call to a restrictive
  method, returns no violations.
* But if it it's a call to a restrictive method, then checks if the file
  containts a QuickSpec and if the call is within the bounds of the
  QuickSpec class.
2017-08-18 11:24:03 +02:00
Ornithologist Coder da98afcaf7 Apply code review changes 2017-08-18 11:24:03 +02:00
Ornithologist Coder 339e23070e Rename examples file and update headers 2017-08-18 11:24:03 +02:00