This package provides the following services:
linter-mixed-indent
An Atom plugin to mark lines that have differing indentation (spaces vs. tabs).
When a file contains both types of indentation, lines using the less-commonly used indentation will be marked in the editor.
Uses mixedindentlint for linting.
Installation
atom-linter is required
The Linter package must be installed in order to use this plugin. If it isn't installed, please follow the instructions here.
Plugin installation
$ apm install linter-mixed-indent
Settings
There are options available in the settings panel for the plugin inside Atom's preferences.
ignore comments
If set, ignore comments entirely in code. Otherwise comment indentation will be scanned as well.
force indentation type
If not set to automatic, always assume indentation should be one type, rather than scanning the file for the most common indentation.
Contributing
New issues are welcome! Even better, if you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository
- Create a new branch from the latest
master
- Commit and push the new branch
- Make a pull request