Tom Hughes
|
da3aad3080
|
Sort cops
|
2020-04-15 15:55:18 +01:00 |
|
Tom Hughes
|
09defac787
|
Update COP names
|
2019-12-18 22:46:56 +00:00 |
|
Tom Hughes
|
fc8189685e
|
Fix erblint warnings
|
2019-12-04 19:58:21 +00:00 |
|
Tom Hughes
|
2fb4497c6c
|
Use erb-lint to prohibit inline scripting
|
2019-03-31 19:45:03 +01:00 |
|
Tom Hughes
|
7ce40eeb38
|
erblint: use consistent spacing in HTML tags
|
2019-03-28 00:30:48 +00:00 |
|
Tom Hughes
|
49da87fb6d
|
erblint: remove leading blank lines
|
2019-03-28 00:29:04 +00:00 |
|
Tom Hughes
|
89341ce266
|
erblint: avoid dynamic find_by methods
|
2019-03-27 19:14:16 +00:00 |
|
Tom Hughes
|
9f931ca1e3
|
erblint: add rel=noopener to links that open in a new tab
|
2019-03-27 19:11:49 +00:00 |
|
Tom Hughes
|
1d97fd25b7
|
erblint: use conditional assignment
|
2019-03-27 18:59:52 +00:00 |
|
Tom Hughes
|
6afa132b84
|
erblint: use word arrays
|
2019-03-27 18:57:04 +00:00 |
|
Tom Hughes
|
ecd81eadbe
|
erblint: use parentheses for nested function calls
|
2019-03-27 18:55:48 +00:00 |
|
Tom Hughes
|
40141993f7
|
erblint: use symbols as procs
|
2019-03-27 18:54:16 +00:00 |
|
Tom Hughes
|
70f571fbcf
|
erblint: avoid negated if conditions
|
2019-03-27 18:49:01 +00:00 |
|
Tom Hughes
|
7cd7354673
|
erblint: prefer symbolic logical operators over and/or/not
|
2019-03-27 18:47:51 +00:00 |
|
Tom Hughes
|
3af16f6337
|
erblint: fix remaining single quoted strings
|
2019-03-27 16:15:19 +00:00 |
|
Andy Allan
|
3834ed45e6
|
erblint: avoid parentheses for method calls with no arguments
|
2019-03-27 10:59:10 +01:00 |
|
Andy Allan
|
6d0100b91d
|
erblint: prefer double quoted strings
|
2019-03-27 10:57:00 +01:00 |
|
Andy Allan
|
e22266f8c4
|
Exclude most views from string literal checks
This allows us to work through them slowly, while preventing errors
from creeping into directories that already pass.
|
2019-03-27 10:42:16 +01:00 |
|
Andy Allan
|
74b91c0e3e
|
erblint: Add or remove curly braces around hash parameters as required
|
2019-03-27 10:30:48 +01:00 |
|
Andy Allan
|
040c0184a4
|
erblint: use hash rocket syntax
|
2019-03-27 10:03:56 +01:00 |
|
Tom Hughes
|
71c5cb21c5
|
Exclude files in the vendor directory from erb-lint rubocop checks
|
2019-03-26 20:52:43 +00:00 |
|
Andy Allan
|
d6a2515cb0
|
Introduce erb-lint for linting erb files
This also allows running rubocop on the ruby code within the erb
files.
|
2019-03-26 20:52:43 +00:00 |
|