Skip to content

Commit 411338a

Browse files
committed
config: exclude HAML files from Lint/Syntax cop
Rubocop's Lint/Syntax cop cannot parse HAML, causing false positives. This excludes HAML files only from Lint/Syntax, not all cops.
1 parent 337c3f1 commit 411338a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ AllCops:
99
- bin/**/*
1010
- vendor/bundle/**/*
1111

12+
Lint/Syntax:
13+
Exclude:
14+
- app/views/**/*.haml
15+
1216
plugins:
1317
- rubocop-capybara
1418
- rubocop-performance

0 commit comments

Comments
 (0)