aboutsummaryrefslogtreecommitdiff
path: root/guidelines/wikipedia/pseudoIndent.js
diff options
context:
space:
mode:
authorGravatar Jesse Hallett <jesse@galois.com>2014-01-06 10:50:22 -0800
committerGravatar Jesse Hallett <jesse@galois.com>2014-01-06 11:15:49 -0800
commit55cd32bfaf9ed5bc5418751369e46fa1d7f098e8 (patch)
treec5759cf75241a4e6bc0fb31596b69c59a9bdc6b5 /guidelines/wikipedia/pseudoIndent.js
parent0a47eab285bf1c04f48a2d6d84838a98807c8c69 (diff)
Moves rule files to src/
Diffstat (limited to 'guidelines/wikipedia/pseudoIndent.js')
-rw-r--r--guidelines/wikipedia/pseudoIndent.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/guidelines/wikipedia/pseudoIndent.js b/guidelines/wikipedia/pseudoIndent.js
deleted file mode 100644
index 73b1700..0000000
--- a/guidelines/wikipedia/pseudoIndent.js
+++ /dev/null
@@ -1,10 +0,0 @@
-exports.name = "Do not use colon markup for indentation";
-exports.description = "Preceding text with a colon (:) in wiki markup causes that text to appear to be indented; but the actual result is a definition list with one item without a title.";
-
-exports.rule = function(report) {
- $5('#mw-content-text dl:not(:has(dt)) dd').each(function(i, dd) {
- var text = $.trim($(dd).text());
- report.error('Colon markup used to indent text: '+ text, dd);
- });
-};
-