All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 runtime! ale_linters/terraform/tflint.vim
5 call ale#linter#Reset()
7 Execute(The tflint handler should parse items correctly):
11 \ 'filename': 'github.com/wata727/example-module/aws_instance.tf',
16 \ 'text': 'A block definition must have block content delimited by "{" and "}", starting on the same line as the block header.',
17 \ 'code': 'Invalid block definition',
21 \ 'filename': 'github.com/wata727/example-module/aws_instance.tf',
26 \ 'text': 'An argument named "ami" is not expected here.',
27 \ 'code': 'Unsupported argument',
31 \ 'filename': 'github.com/wata727/example-module/aws_instance.tf',
36 \ 'text': 'An argument named "instance_type" is not expected here.',
37 \ 'code': 'Unsupported argument',
41 \ 'filename': 'github.com/wata727/example-module/aws_db_instance.tf',
46 \ 'text': 'be warned, traveller',
47 \ 'code': 'aws_db_instance_readable_password',
51 \ 'filename': 'github.com/wata727/example-module/aws_elasticache_cluster.tf',
56 \ 'text': 'error message',
57 \ 'code': 'aws_elasticache_cluster_invalid_type',
61 \ 'filename': 'github.com/wata727/example-module/aws_instance.tf',
66 \ 'text': 'just so ya know',
67 \ 'code': 'aws_instance_not_specified_iam_profile',
71 \ ale_linters#terraform#tflint#Handle(123, [
72 \ '{"issues":[{"rule":{"name":"aws_db_instance_readable_password","severity":"WARNING","link":"https://github.com/wata727/tflint/blob/master/docs/aws_db_instance_readable_password.md"},"message":"be warned, traveller","range":{"filename":"github.com/wata727/example-module/aws_db_instance.tf","start":{"line":12,"column":11},"end":{"line":12,"column":21},"callers":[]}},{"rule":{"name":"aws_elasticache_cluster_invalid_type","severity":"ERROR","link":"https://github.com/wata727/tflint/blob/master/docs/aws_elasticache_cluster_invalid_type.md"},"message":"error message","range":{"filename":"github.com/wata727/example-module/aws_elasticache_cluster.tf","start":{"line":9,"column":29},"end":{"line":9,"column":29},"callers":[]}},{"rule":{"name":"aws_instance_not_specified_iam_profile","severity":"NOTICE","link":"https://github.com/wata727/tflint/blob/master/docs/aws_instance_not_specified_iam_profile.md"},"message":"just so ya know","range":{"filename":"github.com/wata727/example-module/aws_instance.tf","start":{"line":5,"column":15},"end":{"line":5,"column":25},"callers":[]}}],"errors":[{"message":"github.com/wata727/example-module/aws_instance.tf:1,30-2,1: Invalid block definition; A block definition must have block content delimited by \"{\" and \"}\", starting on the same line as the block header."},{"message":"github.com/wata727/example-module/aws_instance.tf:2,3-6: Unsupported argument; An argument named \"ami\" is not expected here."},{"message":"github.com/wata727/example-module/aws_instance.tf:3,3-16: Unsupported argument; An argument named \"instance_type\" is not expected here."}]}'