logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dist::Zilla::Plugin::Test::NoTabs - Author tests that ensure hard tabs are not used

Author

       Florian Ragwitz <rafl@debian.org>

Configuration Options

       This plugin accepts the following options:

   "finder"
       This is the name of a FileFinder for finding files to check.  The default value is ":InstallModules",
       ":ExecFiles" (see also Dist::Zilla::Plugin::ExecDir) and ":TestFiles"; this option can be used more than
       once.

       Other predefined finders are listed in "default_finders" in Dist::Zilla::Role::FileFinderUser.  You can
       define your own with the [FileFinder::ByName] plugin.

   "file"
       a filename to also test, in addition to any files found earlier. This option can be repeated to specify
       multiple additional files.

   "filename"
       The filename of the test to add - defaults to xt/author/no-tabs.t.

Contributors

       •   Karen Etheridge <ether@cpan.org>

       •   Noel Maddy <zhtwnpanta@gmail.com>

perl v5.36.0                                       2022-12-11             Dist::Zilla::Plugin::Test::NoTabs(3pm)

Description

       This is a plugin that runs at the gather files stage, providing the file xt/author/no-tabs.t, a standard
       Test::NoTabs test.

Name

       Dist::Zilla::Plugin::Test::NoTabs - Author tests that ensure hard tabs are not used

See Also

       •   Test::NoTabs

       •   Test::Tabs

Synopsis

       In your dist.ini:

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

Version

       version 0.15

See Also