mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
changed variable name
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user