Closed
Bug 1834590
Opened 11 months ago
Closed 11 months ago
[stylelint] Allow for alternative .stylelintrc.js config file
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox115 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(1 file)
To better support linting Thunderbird CSS files with mach stylelint
, an optional override of the --config argument passed to stylelint is needed.
cmd_args = (
[
binary,
os.path.join(
module_path, "node_modules", "stylelint", "bin", "stylelint.js"
),
"--formatter",
"json",
"--allow-empty-input",
"--config",
os.path.join(lintargs["root"], ".stylelintrc.js"),
]
Assignee | ||
Comment 1•11 months ago
|
||
Default to using .stylelintrc.js in $topsrcdir with optional override for
Thunderbird's config file in comm-central.
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/0c2fdb9ff91e [stylelint] Use "stylelint-rc" from stylelint.yml if it exists. r=linter-reviewers,Standard8
Comment 3•11 months ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•