azu / technical-word-rules

JavaScript中心のIT技術用語のLint用辞書
MIT License
30 stars 5 forks source link

Duplicated reports for "javascript" #14

Closed io-monad closed 8 years ago

io-monad commented 8 years ago

Hi,

I've just found spellCheckText on the word "javascript" emits the same message twice.

> require("spellcheck-technical-word").spellCheckText("javascript")
[ { actual: 'javascript',
    expected: 'JavaScript',
    paddingIndex: 0,
    paddingLine: 0,
    paddingColumn: 0 },
  { actual: 'javascript',
    expected: 'JavaScript',
    paddingIndex: 0,
    paddingLine: 0,
    paddingColumn: 0 } ]

(Tested by spellcheck-technical-word@2.0.0)

So textlint-rule-spellcheck-tech-word has the same issue as this.

io-monad commented 8 years ago

Wow, thanks for quick fix!

azu commented 8 years ago

This repository apply semantic-release. Automatically publish to npm :soon: