Class: TRMNLP::Lint::Checks::LimitedInlineStyles
- Inherits:
-
TRMNLP::Lint::Check
- Object
- TRMNLP::Lint::Check
- TRMNLP::Lint::Checks::LimitedInlineStyles
- Defined in:
- lib/trmnlp/lint/checks/limited_inline_styles.rb
Constant Summary collapse
- MAX_INLINE_STYLES =
6- PROPERTIES =
%w[ justify-content padding margin background-color border-radius text-align object-fit font-size ].freeze
- MESSAGE =
'Markup uses too many inline styles, add more native Framework classes.'- LEARN_MORE =
'https://help.trmnl.com/en/articles/11395668-recipe-best-practices#h_3a3eab0712'
Method Summary
Methods inherited from TRMNLP::Lint::Check
Constructor Details
This class inherits a constructor from TRMNLP::Lint::Check