You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](#transfer-notice)
5
10
6
-
<pre>
7
-
gem install puppet-lint-strict_indent-check
8
-
</pre>
11
+
A puppet-lint plugin to validate Puppet DSL indentation
9
12
10
-
Usage
11
-
===
13
+
## Usage
12
14
13
15
This plugin provides an indentation check for puppet-lint `strict_indent`. The check has a strict expectation for all indentation, except comments and whitespace/blank lines.
14
16
15
17
supports --fix flag
16
18
17
19
Check will raise a warning for any files that don't have 2-space indent, and follow specific guidelines for increase/decrease of indent.
18
20
19
-
Alternate Indentation
20
-
===
21
+
## Alternate Indentation
21
22
22
23
Indentation defaults to 2 spaces. To use a different number of spaces, use the `-l` option to load ruby file changing the `chars_per_indent` config.
* indent should increase by one step the line after each opened brace (square, curly, paren)
39
39
* indent should decrease by one step the line of every closed brace.
@@ -45,3 +45,26 @@ Acceptable Identation
45
45
see `spec/fixtures/pass/` for good indentation examples.
46
46
47
47
see `spec/fixtures/fail/` for bad indentation examples.
48
+
49
+
## Transfer Notice
50
+
51
+
This plugin was originally authored by [Daniel Thorn](https://github.com/relud).
52
+
The maintainer preferred that Vox Pupuli take ownership of the module for future improvement and maintenance.
53
+
Existing pull requests and issues were transferred over, please fork and continue to contribute at https://github.com/voxpupuli/puppet-lint-strict_indent-check.
0 commit comments