Dist::...:NoTabs(3pm)

πŸ“¦
version 0.15 Β· 2 versions
  • 0.15 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.15 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

Dist::Zilla::Plugin::Test::NoTabs πŸ’…

okay bestie, so this little icon is a Dist::Zilla plugin β€” part of the Dist::...:NoTabs page β€” and its whole entire job is to make sure nobody sneaks a hard tab into your code. no tabs. none. zero. we're a spaces household fr fr. ✨


VERSION πŸŽ€

this one's rockin' version 0.15 🫢


SYNOPSIS 🌸

drop this into your dist.ini and you're sooo good:

[Test::NoTabs]
finder = my_finder
finder = other_finder

DESCRIPTION πŸ’–

so basically? this plugin shows up at the gather files stage β€” you know, the part of the Dist::Zilla pipeline where everybody's files get rounded up 🧚 β€” and it hands you a file called xt/author/no-tabs.t. that file is a standard Test::NoTabs test. it is literally that simple. no cap.


CONFIGURATION OPTIONS ⭐

here's everything you can pass in, bestie:

"finder" πŸ¦‹

this is the name of a FileFinder β€” i.e. the thing that goes and finds the files you want checked. the default value is ":InstallModules", ":ExecFiles" (peep also Dist::Zilla::Plugin::ExecDir) and ":TestFiles". and yes queen, you can use this option more than once πŸ”₯

the other predefined finders live in "default_finders" in Dist::Zilla::Role::FileFinderUser. wanna roll your own? totally doable with the [FileFinder::ByName] plugin πŸ’…

"file" 🌈

a filename to also test, on top of any files that got found earlier. this option can be repeated so you can specify multiple additional files. stack 'em up πŸ“

"filename" πŸ’œ

the filename of the test to add β€” and it defaults to xt/author/no-tabs.t. cute, right?


SEE ALSO πŸ‘‘

  • Test::NoTabs
  • Test::Tabs

AUTHOR 🌸

Florian Ragwitz <rafl@debian.org> β€” the legend themselves 😭


this software is copyright (c) 2010 by Florian Ragwitz.

it's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. πŸ’…


CONTRIBUTORS 🫢

  • Karen Etheridge <ether@cpan.org>
  • Noel Maddy <zhtwnpanta@gmail.com>

ngl, these two are the real MVPs for helping out πŸ’–

okay that's the whole page!! ty for coming to my ted talk, generated as part of the perl v5.36.0 docs on 2022-12-11 β€” go forth and vanquish every tab, bestie πŸ‘‘βœ¨

πŸ“¦ where this page comes from