Skip to content

Commit aaaed58

Browse files
committed
docs
1 parent 5b1a406 commit aaaed58

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# TFLint Misc Ruleset
2+
3+
Tflint ruleset containing miscellaneous rules that don't fit into other rulesets.
4+
5+
## Installation
6+
7+
You can install the plugin with `tflint --init`. Declare a config in `.tflint.hcl` as follows:
8+
9+
```hcl
10+
plugin "misc" {
11+
enabled = true
12+
version = "0.1.0"
13+
source = "github.com/AleksaC/tflint-ruleset-misc"
14+
}
15+
```
16+
17+
## Rules
18+
19+
|Name|Description|Severity|Enabled|Link|
20+
| --- | --- | --- | --- | --- |
21+
|no_multiline_comments|Disallows usage of multiline comments|WARNING||https://github.com/AleksaC/tflint-ruleset-misc/tree/main/docs/rules/no_multiline_comments.md|
22+
23+
## Building the plugin
24+
25+
Clone the repository locally and run the following command:
26+
27+
```
28+
$ make
29+
```
30+
31+
You can easily install the built plugin with the following:
32+
33+
```
34+
$ make install
35+
```
36+
37+
You can run the built plugin like the following:
38+
39+
```console
40+
$ cat << EOS > .tflint.hcl
41+
plugin "misc" {
42+
enabled = true
43+
}
44+
EOS
45+
$ tflint
46+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# No Multiline Comments

0 commit comments

Comments
 (0)