abundant-leather-17386
08/11/2022, 9:09 AMrefined-addition-53644
08/11/2022, 10:18 AMwide-midnight-78598
08/11/2022, 12:05 PMwide-midnight-78598
08/11/2022, 12:11 PMabundant-leather-17386
08/11/2022, 12:15 PMhundreds-father-404
08/11/2022, 1:23 PMhappy-kitchen-89482
08/11/2022, 1:28 PMwide-midnight-78598
08/11/2022, 1:52 PMhundreds-father-404
08/11/2022, 1:54 PMWhat we don't have are targets 😞cc @bitter-ability-32190, we've been DMing about target-less formatters. I think I have a strategy to make it happen, only lacking the time ⏰
bitter-ability-32190
08/11/2022, 1:56 PMwide-midnight-78598
08/11/2022, 1:56 PMbitter-ability-32190
08/11/2022, 1:58 PMhundreds-father-404
08/11/2022, 2:00 PMSpecifically whether to skip the formatting (same for linting).Could be done via the config system. But yeah, agreed the story is important to figure out, including what happens if we start with a target-less formatter and want to migrate it Or maybe we let the user decide in which mode to invoke the tool, with the default being target-less because that's how The Real World works
hundreds-father-404
08/11/2022, 2:06 PMhappy-kitchen-89482
08/11/2022, 2:11 PM./pants lint '**/*.html'
should do the right thinghundreds-father-404
08/11/2022, 2:17 PM./pants lint src/html::
now 😉 CLI args consistently for target-less goalshappy-kitchen-89482
08/11/2022, 2:19 PMhappy-kitchen-89482
08/11/2022, 2:19 PMhundreds-father-404
08/11/2022, 2:19 PMAssuming linters know how to ignore files they don’t operate onThey do for linters. They have an
.is_applicable()
function 🙂wide-midnight-78598
08/11/2022, 6:14 PMwide-midnight-78598
08/11/2022, 6:17 PMhundreds-father-404
08/11/2022, 6:21 PMname=
much betterbitter-ability-32190
08/11/2022, 6:28 PMhappy-kitchen-89482
08/11/2022, 6:40 PM