Dist::...:NoTabs(3pm)
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::NoTabsTest::Tabs
AUTHOR πΈ
Florian Ragwitz <rafl@debian.org> β the legend themselves π
COPYRIGHT AND LICENSE π
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
- debian bookworm: libdist-zilla-plugin-test-notabs-perl 0.15-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdist-zilla-plugin-test-notabs-perl 0.15-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdist-zilla-plugin-test-notabs-perl 0.15-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-plugin-test-notabs-perl 0.15-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-test-notabs-perl 0.15-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms