Skip to content

Commit

Permalink
New rules for Kyll
Browse files Browse the repository at this point in the history
  • Loading branch information
mogsdad committed Mar 15, 2016
1 parent 09d7fc0 commit 93aa6b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Magic™Editor.user.js
Expand Up @@ -2055,6 +2055,18 @@
replacement: "$1uestion",
reason: App.consts.reasons.spelling
},
variable: { // hhttps://regex101.com/r/sI3lT5/1
//thanks Kyll - http://chat.stackoverflow.com/transcript/message/29352137#29352137
expr: /\b(v)[ai]+r[ia]+b[le]+(s)?\b/gi,
replacement: "$1ariable$2",
reason: App.consts.reasons.spelling
},
function_: { // hhttps://regex101.com/r/sI3lT5/1
//thanks Kyll - http://chat.stackoverflow.com/transcript/message/29352203#29352203
expr: /\b(f)[un]+ct[io]+n?/gi,
replacement: "$1unction",
reason: App.consts.reasons.spelling
},
/*
** Grammar - Correct common grammatical errors.
**/
Expand Down

0 comments on commit 93aa6b2

Please sign in to comment.