-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.herb.yml
More file actions
27 lines (23 loc) · 744 Bytes
/
Copy path.herb.yml
File metadata and controls
27 lines (23 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
framework: actionview
# Rails ships pre-rendered, minified error pages in public/. They are framework
# output, not source, so neither formatter nor linter should touch them.
files:
exclude:
- 'public/**'
formatter:
enabled: true
indentWidth: 2
maxLineLength: 120
rewriter:
# Sorts Tailwind/daisyUI classes into the canonical order. This is why Herb
# is here at all: the classes live in ERB and in helper strings, where
# prettier-plugin-tailwindcss cannot reach them (it has no ERB parser).
pre:
- tailwind-class-sorter
post: []
linter:
rules:
# False positive: `>` is standard Stimulus action syntax
# (e.g. click->controller#method)
html-no-unescaped-entities:
enabled: false