Atom linter plugin to mark lines that have differing indentation
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps
lib
menus
spec
.eslintrc.js
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

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.

Example

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:

  1. Fork the plugin repository
  2. Create a new branch from the latest master
  3. Commit and push the new branch
  4. Make a pull request