summaryrefslogtreecommitdiff
path: root/rubocop/qa_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Cache current working directory to speed up Rubocopsh-cache-rubocop-cwdStan Hu2019-05-031-1/+1
| | | | | | | This saves thousands of getcwd() system calls and improves the performance of running Rubocop, which is also used by HAML linting. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61383
* Add a new QA::ElementWithPattern copRémy Coutable2018-10-151-0/+11
This cop forbids the use of `element :foo, 'pattern'` and `element :bar, /pattern/` in QA files. Signed-off-by: Rémy Coutable <remy@rymai.me>