Opened 6 months ago

#7307 new change

Add rules to disallow trailing whitespaces to stylelint-config-eyeo

Reported by: greiner Assignee:
Priority: Unknown Milestone:
Module: Automation Keywords:
Cc: ire, juliandoucette, agiammarchi, saroyanm Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

According to our coding style, trailing whitespaces are not allowed. While we do enforce that in eslint-config-eyeo, we don't yet in stylelint-config-eyeo. Therefore we should add the necessary rules to it.

What to change

Add the following rules to stylelint-config-eyeo:

  • "no-eol-whitespace": true
  • "no-missing-end-of-source-newline": true

Further information

The above rules are unable to detect trailing whitespaces in empty lines.

Change History (0)

Note: See TracTickets for help on using tickets.