Skip to content

A simple bash script to lint your project for tabs

License

Notifications You must be signed in to change notification settings

nickpoorman/tab-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

tab-lint

A simple bash script to lint your project for tabs.

This works great as part of your test suite because it will print out the offending lines and exit with an error code if any tabs are found in the project files.

Setup

Change FILE_TYPES to a pipe delimited list of file extensions you would like to check. Currently configured for a standard Ruby on Rails project.

Ignore directories

You may wish to add other directories to ignore. The current directories ignored are:

+ ./vendor
+ ./coverage

To ignore other directories, simply add them to the IGNORE_DIRECTORIES array.

About

A simple bash script to lint your project for tabs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages