Commit graph

3 commits

Author SHA1 Message Date
GitLab Bot
3e1c760141 Add latest changes from gitlab-org/gitlab@master 2020-11-05 18:08:48 +00:00
Stan Hu
a8cbec49a0 Cache current working directory to speed up Rubocop
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
2019-05-03 05:44:46 -07:00
Rémy Coutable
02c47f2f73
Add a new QA::ElementWithPattern cop
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>
2018-10-15 14:28:03 +02:00