Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
feat(markdownscript): run markdownscript in strict mode
Browse files Browse the repository at this point in the history
close #61
  • Loading branch information
zkochan committed May 7, 2016
1 parent 58699ec commit d980ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function mos () {
return getMarkdownMeta(opts.filePath)
.then(markdown => createMDScope(mosPlugins, markdown))
.then(scope => {
const remarkProcessor = remark().use(remarkMos, {scope})
const remarkProcessor = remark().use(remarkMos, {scope, useStrict: true})

remarkPlugins.forEach(useArgs => remarkProcessor.use.apply(remarkProcessor, useArgs))

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"normalize-newline": "~2.0.0",
"normalize-path": "~2.0.1",
"relative": "~3.0.2",
"remark-mos": "^1.3.0",
"remark-mos": "^1.4.0",
"reserved-words": "^0.1.1",
"resolve": "~1.1.7",
"run-async": "~2.2.0",
Expand Down

0 comments on commit d980ee7

Please sign in to comment.