summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorSumner Evans <sumner.evans98@gmail.com>2017-10-25 00:27:40 +0100
committerw0rp <devw0rp@gmail.com>2017-10-25 00:28:06 +0100
commit7ac07a30b8c54dd44da403830d4ed84992d18656 (patch)
tree4a69129eb8f72370cbb62cbce7b75648b3ecafad /ale_linters
parent1a5ef969a528c037b865828dedcd482a51d0e004 (diff)
downloadale-7ac07a30b8c54dd44da403830d4ed84992d18656.zip
Fix #643 - Add support for write-good for many languages
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/asciidoc/write-good.vim9
-rw-r--r--ale_linters/help/write-good.vim9
-rw-r--r--ale_linters/html/write-good.vim9
-rw-r--r--ale_linters/markdown/write-good.vim9
-rw-r--r--ale_linters/nroff/write-good.vim9
-rw-r--r--ale_linters/pod/write-good.vim9
-rw-r--r--ale_linters/rst/write-good.vim9
-rw-r--r--ale_linters/tex/write-good.vim9
-rw-r--r--ale_linters/texinfo/write-good.vim9
-rw-r--r--ale_linters/text/write-good.vim9
-rw-r--r--ale_linters/xhtml/write-good.vim9
11 files changed, 99 insertions, 0 deletions
diff --git a/ale_linters/asciidoc/write-good.vim b/ale_linters/asciidoc/write-good.vim
new file mode 100644
index 00000000..c986cc6c
--- /dev/null
+++ b/ale_linters/asciidoc/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for AsciiDoc files
+
+call ale#linter#Define('asciidoc', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/help/write-good.vim b/ale_linters/help/write-good.vim
new file mode 100644
index 00000000..11254cd2
--- /dev/null
+++ b/ale_linters/help/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for vim Help files
+
+call ale#linter#Define('help', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/html/write-good.vim b/ale_linters/html/write-good.vim
new file mode 100644
index 00000000..9fae8821
--- /dev/null
+++ b/ale_linters/html/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for nroff files
+
+call ale#linter#Define('html', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/markdown/write-good.vim b/ale_linters/markdown/write-good.vim
new file mode 100644
index 00000000..21dbff1a
--- /dev/null
+++ b/ale_linters/markdown/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for Markdown files
+
+call ale#linter#Define('markdown', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/nroff/write-good.vim b/ale_linters/nroff/write-good.vim
new file mode 100644
index 00000000..d318fb28
--- /dev/null
+++ b/ale_linters/nroff/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for nroff files
+
+call ale#linter#Define('nroff', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/pod/write-good.vim b/ale_linters/pod/write-good.vim
new file mode 100644
index 00000000..14ed5c0c
--- /dev/null
+++ b/ale_linters/pod/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for Pod files
+
+call ale#linter#Define('pod', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/rst/write-good.vim b/ale_linters/rst/write-good.vim
new file mode 100644
index 00000000..12137dbf
--- /dev/null
+++ b/ale_linters/rst/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for reStructuredText files
+
+call ale#linter#Define('rst', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/tex/write-good.vim b/ale_linters/tex/write-good.vim
new file mode 100644
index 00000000..dc59de2e
--- /dev/null
+++ b/ale_linters/tex/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for TeX files
+
+call ale#linter#Define('tex', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/texinfo/write-good.vim b/ale_linters/texinfo/write-good.vim
new file mode 100644
index 00000000..8104c634
--- /dev/null
+++ b/ale_linters/texinfo/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for Texinfo files
+
+call ale#linter#Define('texinfo', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/text/write-good.vim b/ale_linters/text/write-good.vim
new file mode 100644
index 00000000..ff76ce42
--- /dev/null
+++ b/ale_linters/text/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for text files
+
+call ale#linter#Define('text', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})
diff --git a/ale_linters/xhtml/write-good.vim b/ale_linters/xhtml/write-good.vim
new file mode 100644
index 00000000..83d1863b
--- /dev/null
+++ b/ale_linters/xhtml/write-good.vim
@@ -0,0 +1,9 @@
+" Author: Sumner Evans <sumner.evans98@gmail.com>
+" Description: write-good for XHTML files
+
+call ale#linter#Define('xhtml', {
+\ 'name': 'write-good',
+\ 'executable_callback': 'ale#handlers#writegood#GetExecutable',
+\ 'command_callback': 'ale#handlers#writegood#GetCommand',
+\ 'callback': 'ale#handlers#writegood#Handle',
+\})