Stylelint job should create default prettier config, and allow custom stylelint config

Migrated issue

Reported by: tomtech

Related to !402 (merged) !401 (merged) !399 (merged) !397 (merged)

Problem/Motivation

When stylelint runs, any css files with long selectors will be erroneously recommended to wrap the selector line.

In prettierrc.json, the printWidth is set to a large amount, specifically for css files, but prettierrc.json is not copied to the module root when stylelint is run.

Steps to reproduce

Observe stylelint results on a css file with a long selector line.

Proposed resolution

When eslint runs, it copies over prettierrc.json from core, if it does not exist in the module codebase.

stylelint should do the same.

Assignee Loading
Time tracking Loading