diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-04-21 22:55:51 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-04-25 00:06:17 +0300 |
commit | b4fea2a3d62da5e2e3f90d7f2109f02f927f7174 (patch) | |
tree | d04d3b624c5bc153b56d926ec2b3fd82689e33cd /doc/api/crypto.md | |
parent | e2c3e4727d5899a709f5c421e128a4af2ef626f3 (diff) | |
download | node-new-b4fea2a3d62da5e2e3f90d7f2109f02f927f7174.tar.gz |
doc: add eslint-plugin-markdown
* install eslint-plugin-markdown
* add doc/.eslintrc.yaml
* add `<!-- eslint-disable rule -->` or `<!-- eslint-disable -->`
for the rest of problematic code
* .js files in doc folder added to .eslintignore
* update Makefile and vcbuild.bat
PR-URL: https://github.com/nodejs/node/pull/12563
Refs: https://github.com/nodejs/node/pull/12557#issuecomment-296015032
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 6392491f3a..fc41123eba 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -289,7 +289,7 @@ decipher.on('end', () => { }); const encrypted = - 'ca981be48e90867604588e75d04feabb63cc007a8f8ad89b10616ed84d815504'; + 'ca981be48e90867604588e75d04feabb63cc007a8f8ad89b10616ed84d815504'; decipher.write(encrypted, 'hex'); decipher.end(); ``` @@ -314,7 +314,7 @@ const crypto = require('crypto'); const decipher = crypto.createDecipher('aes192', 'a password'); const encrypted = - 'ca981be48e90867604588e75d04feabb63cc007a8f8ad89b10616ed84d815504'; + 'ca981be48e90867604588e75d04feabb63cc007a8f8ad89b10616ed84d815504'; let decrypted = decipher.update(encrypted, 'hex', 'utf8'); decrypted += decipher.final('utf8'); console.log(decrypted); |