1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

changed variable name

This commit is contained in:
roottool
2019-01-29 21:00:47 +09:00
parent 3a96164c27
commit afbc8eec75

View File

@@ -117,7 +117,7 @@ const languageMaps = {
elixir: 'Elixir'
}
const validator = (text, updateLinting) => {
const validatorOfMarkdown = (text, updateLinting) => {
const markdownlint = require('markdownlint')
const lintOptions = {
'strings': {
@@ -378,7 +378,7 @@ export default class CodeEditor extends React.Component {
dragDrop: false,
foldGutter: true,
lint: {
'getAnnotations': validator,
'getAnnotations': validatorOfMarkdown,
'async': true
},
mode: 'markdown',